This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "codelite".
The branch, master has been updated
via 5e5ecfa11a99b2f84de2f25403314520346baa00 (commit)
from dfd88ee6cdcd9ae72c8fc2d375aabaaba456c66a (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://sourceforge.net/p/codelite/codelitegit/ci/5e5ecfa11a99b2f84de2f25403314520346baa00
commit 5e5ecfa11a99b2f84de2f25403314520346baa00
Author: Eran <era...@gm...>
Date: Thu Jan 16 08:45:20 2014 +0200
Place the GCC_COLORS environment variable inside the proper block (GTK). Should fix bug https://sourceforge.net/p/codelite/bugs/946/
diff --git a/LiteEditor/app.cpp b/LiteEditor/app.cpp
index 50ce391..51bfb6d 100644
--- a/LiteEditor/app.cpp
+++ b/LiteEditor/app.cpp
@@ -340,7 +340,15 @@ bool CodeLiteApp::OnInit()
// this is needed because python complies the files and in most cases the user
// running codelite has no write permissions to /usr/share/codelite/...
DoCopyGdbPrinters();
-
+
+ // Since GCC 4.8.2 gcc has a default colored output
+ // which breaks codelite output parsing
+ // to disable this, we need to set GCC_COLORS to an empty
+ // string.
+ // https://sourceforge.net/p/codelite/bugs/946/
+ // http://gcc.gnu.org/onlinedocs/gcc/Language-Independent-Options.html
+ ::wxSetEnv("GCC_COLORS", "");
+
#if defined (__WXGTK__)
if (homeDir.IsEmpty()) {
SetAppName(wxT("codelite"));
@@ -399,14 +407,6 @@ bool CodeLiteApp::OnInit()
//copy the settings from the global location if needed
CopySettings(homeDir, installPath);
- // Since GCC 4.8.2 gcc has a default colored output
- // which breaks codelite output parsing
- // to disable this, we need to set GCC_COLORS to an empty
- // string.
- // https://sourceforge.net/p/codelite/bugs/946/
- // http://gcc.gnu.org/onlinedocs/gcc/Language-Independent-Options.html
- ::wxSetEnv("GCC_COLORS", "");
-
#else //__WXMSW__
if (homeDir.IsEmpty()) { //did we got a basedir from user?
homeDir = ::wxGetCwd();
-----------------------------------------------------------------------
Summary of changes:
LiteEditor/app.cpp | 18 +++++++++---------
1 files changed, 9 insertions(+), 9 deletions(-)
hooks/post-receive
--
codelite
|