Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

SetupIncludeDirs fails to detect gcc4+

(1/1)

barsandcat:
Ubuntu 9.10
svn build, rev 6062

When using precompiled headers with option "Generate PCH in object output dir", in g++ command line object output dir always included as "-Iobj -I-"
despite gcc version is "gcc (Ubuntu 4.4.1-4ubuntu8) 4.4.1"

Error seems to be if function CompilerMINGWGenerator::SetupIncludeDirs at line 39:

bool IsGcc4 = m_VerStr.Left(1).IsSameAs(_T("4"));

MortenMacFly:

--- Quote from: barsandcat on January 09, 2010, 06:57:21 pm ---Error seems to be if function CompilerMINGWGenerator::SetupIncludeDirs at line 39:

--- End quote ---
What does

--- Code: ---gcc --version
--- End code ---
output on the console exactly?

barsandcat:
gcc (Ubuntu 4.4.1-4ubuntu8) 4.4.1
Copyright (C) 2009 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Jenna:
Since svn r 5616 version string checking is blocked on wxWidgets 2.9.0 and above, but also on non windows platforms.

I'm not sure whether it's correct or not (I mean the non-windows blocking).

I will send a PM to the dev who did this, to ask, whether this can be reverted, so only wxWidgets 2.9 is blocked.

Biplab:
It should be fixed now in trunk. Thanks for highlighting this bug.

Navigation

[0] Message Index

Go to full version