Code::Blocks Forums

User forums => Help => Topic started by: gd_on on November 27, 2013, 09:18:10 am

Title: Problem compiling svn 9467 on Windows
Post by: gd_on on November 27, 2013, 09:18:10 am
Trying to compile svn 9467 on Windows (with tdm compiler 4.8.1) gives an error in building cctest :
Quote
...
||=== Générer : cctest dans CC Test (compilateur : GNU GCC Compiler) ===|
D:\gdurand.ONL\Documents\00_svn_CodeBlocks\CodeBlocks_src\trunk\src\plugins\codecompletion\nativeparser_base.cpp||In member function 'void NativeParserBase::FindCurrentFunctionScope(TokenTree*, const TokenIdxSet&, TokenIdxSet&)':|
..\..\include\cbexception.h|61|error: 'cbC2U' was not declared in this scope|
..\..\include\cbexception.h|80|note: in expansion of macro 'cbAssertMessage'|
D:\gdurand.ONL\Documents\00_svn_CodeBlocks\CodeBlocks_src\trunk\src\plugins\codecompletion\parser\cclogger.h|159|note: in expansion of macro 'cbAssert'|
D:\gdurand.ONL\Documents\00_svn_CodeBlocks\CodeBlocks_src\trunk\src\plugins\codecompletion\nativeparser_base.cpp|303|note: in expansion of macro 'CC_LOCKER_TRACK_TT_MTX_LOCK'|
....
||=== Génération de terminé : 34 erreur(s), 5 avertissement(s) (6 minute(s), 13 seconde(s)) ===|
apparently a problem with cbC2U.
This happened even on a full C::B rebuild.

gd_on
Title: Re: Problem compiling svn 9467 on Windows
Post by: stahta01 on November 27, 2013, 02:31:36 pm
Did you delete the precompiled sdk.h? if not do so.

sdk.h.gch and sdk_precomp.h.gch in folder "src\.objs\include"

Tim S.
Title: Re: Problem compiling svn 9467 on Windows
Post by: ollydbg on November 27, 2013, 03:06:38 pm
Build fine here. MinGW-build 4.7.4, wx2.8.12.
Title: Re: Problem compiling svn 9467 on Windows
Post by: MortenMacFly on November 27, 2013, 04:24:07 pm
Build fine here. MinGW-build 4.7.4, wx2.8.12.
Does not build for me, too. But the fix is in trunk now. It was actually an "error" that had been there longer, but just not raised so far.
Title: Re: Problem compiling svn 9467 on Windows
Post by: gd_on on November 27, 2013, 05:51:04 pm
Quote
Did you delete the precompiled sdk.h? if not do so.

sdk.h.gch and sdk_precomp.h.gch in folder "src\.objs\include"

I thought this was automatically done when you make a full rebuild, during the cleanup part of the process. Isn't it ?

Nevertheless, with svn 9468 it's OK. ;)

thanks

Gd_on