Bug #16643 2010-01-09 17:38

barsandcat

SetupIncludeDirs fails to detect gcc4+

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"));

Category
Compiler
Group
 
Status
Closed
Close date
2010-01-10 16:03
Assigned to
biplab
biplab 2010-01-10 16:03

This bug is now fixed in HEAD.

Thank you for reporting it.