From: Eran I. <no...@so...> - 2014-01-06 18:28:57
|
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 421d9db81311cff374166305ceff24f0902479b0 (commit) from 33acd005457afcc25e89c8c659d5ceed59e15d13 (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/421d9db81311cff374166305ceff24f0902479b0 commit 421d9db81311cff374166305ceff24f0902479b0 Author: Eran <era...@gm...> Date: Mon Jan 6 20:28:46 2014 +0200 Set GCC_COLORS to an empty string to disable GCC 4.8.2 colored output (https://sourceforge.net/p/codelite/bugs/946/) diff --git a/LiteEditor/app.cpp b/LiteEditor/app.cpp index 61e8f4d..9765251 100644 --- a/LiteEditor/app.cpp +++ b/LiteEditor/app.cpp @@ -387,7 +387,15 @@ bool CodeLiteApp::OnInit() ManagerST::Get()->SetInstallDir( installPath ); //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(); @@ -496,7 +504,7 @@ bool CodeLiteApp::OnInit() EnvironmentConfig::Instance()->WriteObject(wxT("Variables"), &vars); //--------------------------------------------------------- - + #ifdef __WXMSW__ // Read registry values ----------------------------------------------------------------------- Summary of changes: LiteEditor/app.cpp | 12 ++++++++++-- 1 files changed, 10 insertions(+), 2 deletions(-) hooks/post-receive -- codelite |