I found the source of the build failure, it turns out it has nothing to do with the compilation:
Running target post-build steps
zip -jq9 devel\share\CodeBlocks\manager_resources.zip sdk\resources\*.xrc
cmd /c "cd sdk\resources & zip -0 -q ..\..\devel\share\CodeBlocks\manager_resources.zip images\*.png images\12x12\*.png images\16x16\*.png"
zip I/O error: No such file or directory
zip error: Could not create output file (devel/share/CodeBlocks/manager_resources.zip)
With out the devel/share/CodeBlocks directory pre-existing (i.e. you delete, or on first compilation) the zip fails, causing the whole thing to crap out. If I create the directory before hand the compilation will complete.
Those are only warnings; there is no Compiler errors in your txt file.
CB is falsely reporting the Compiler warnings as errors.
SET The CB value of max number of errors to 0 for unlimited.
Or, fix the regex in CB to ignore the warnings (or treat them as warnings instead of errors)
Agreed, but I'm having one heck of time getting the regex to work. I have:
(http://emergedesktop.org/Advanced_Compiler_Options.png)
Which works in the "Test String" but doesn't work when compiling. Help would be appreciated.
You can try this one:
([][{}() \t#%$~[:alnum:]&_:+/\.-]+):([0-9]+):[0-9]+:[ \t]+([Rr]equired from.*)
You can try this one:
([][{}() \t#%$~[:alnum:]&_:+/\.-]+):([0-9]+):[0-9]+:[ \t]+([Rr]equired from.*)
It did not work for me; but, I have never messed with the compiler regex adv. options before.
Tim S.
two example lines from Windows
include\scripting\sqplus\sqplus.h|1751| required from 'SqPlus::SQClassDef<TClassType>& SqPlus::SQClassDef<TClassType>::func(Func, const SQChar*) [with Func = ProjectFile* (cbProject::*)(int); TClassType = cbProject; SqPlus::SQClassDef<TClassType> = SqPlus::SQClassDef<cbProject>; SQChar = char]'|
H:\SourceCode\OpenSourceCode\Apps\IDEs\CodeBlocks\codeblocks-wx28-SJLJ\src\sdk\scripting\bindings\scriptbindings.cpp|519| required from here|
Build log different spot
H:\SourceCode\OpenSourceCode\Apps\IDEs\CodeBlocks\codeblocks-wx28-SJLJ\src\sdk\scripting\bindings\scriptbindings.cpp:680:98: required from here
include\scripting\sqplus/sqplus.h:626:5: warning: 'Push' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
In file included from H:\SourceCode\OpenSourceCode\Apps\IDEs\CodeBlocks\codeblocks-wx28-SJLJ\src\sdk\scripting\bindings\scriptbindings.cpp:28:0:
include\scripting\bindings/sc_base_types.h:74:1: note: 'void SqPlus::Push(HSQUIRRELVM, TargetFilenameGenerationPolicy)' declared here, later in the translation unit
In file included from include\scripting\bindings/sc_base_types.h:26:0,
from H:\SourceCode\OpenSourceCode\Apps\IDEs\CodeBlocks\codeblocks-wx28-SJLJ\src\sdk\scripting\bindings\scriptbindings.cpp:28:
include\scripting\sqplus/sqplus.h: In instantiation of 'static SQInteger SqPlus::ReturnSpecialization<RT>::Call(RT (*)(P1, P2), HSQUIRRELVM, SQInteger) [with P1 = const wxString&; P2 = const wxString&; RT = bool; SQInteger = int; HSQUIRRELVM = SQVM*]':
include\scripting\sqplus/sqplus.h:1111:53: required from 'SQInteger SqPlus::Call(RT (*)(P1, P2), HSQUIRRELVM, SQInteger) [with RT = bool; P1 = const wxString&; P2 = const wxString&; SQInteger = int; HSQUIRRELVM = SQVM*]'
include\scripting\sqplus/sqplus.h:1194:26: required from 'static SQInteger SqPlus::DirectCallFunction<Func>::Dispatch(HSQUIRRELVM) [with Func = bool (*)(const wxString&, const wxString&); SQInteger = int; HSQUIRRELVM = SQVM*]'
include\scripting\sqplus/sqplus.h:1293:3: required from 'void SqPlus::sq_pushdirectclosure(HSQUIRRELVM, Func, SQUnsignedInteger) [with Func = bool (*)(const wxString&, const wxString&); HSQUIRRELVM = SQVM*; SQUnsignedInteger = unsigned int]'
include\scripting\sqplus/sqplus.h:1330:3: required from 'void SqPlus::Register(HSQUIRRELVM, Func, const SQChar*) [with Func = bool (*)(const wxString&, const wxString&); HSQUIRRELVM = SQVM*; SQChar = char]'
include\scripting\sqplus/sqplus.h:1376:3: required from 'void SqPlus::Register(HSQUIRRELVM, HSQOBJECT, Func, const SQChar*) [with Func = bool (*)(const wxString&, const wxString&); HSQUIRRELVM = SQVM*; HSQOBJECT = tagSQObject; SQChar = char]'
include\scripting\sqplus/sqplus.h:1781:5: required from 'SqPlus::SQClassDef<TClassType>& SqPlus::SQClassDef<TClassType>::staticFunc(Func, const SQChar*) [with Func = bool (*)(const wxString&, const wxString&); TClassType = CompilerFactory; SqPlus::SQClassDef<TClassType> = SqPlus::SQClassDef<CompilerFactory>; SQChar = char]'
Related spot from build message
H:\SourceCode\OpenSourceCode\Apps\IDEs\CodeBlocks\codeblocks-wx28-SJLJ\src\sdk\scripting\bindings\scriptbindings.cpp|680| required from here|
include\scripting\sqplus\sqplus.h|626|warning: 'Push' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]|
include\scripting\bindings\sc_base_types.h|74|note: 'void SqPlus::Push(HSQUIRRELVM, TargetFilenameGenerationPolicy)' declared here, later in the translation unit|
include\scripting\sqplus\sqplus.h|1111| required from 'SQInteger SqPlus::Call(RT (*)(P1, P2), HSQUIRRELVM, SQInteger) [with RT = bool; P1 = const wxString&; P2 = const wxString&; SQInteger = int; HSQUIRRELVM = SQVM*]'|
include\scripting\sqplus\sqplus.h|1194| required from 'static SQInteger SqPlus::DirectCallFunction<Func>::Dispatch(HSQUIRRELVM) [with Func = bool (*)(const wxString&, const wxString&); SQInteger = int; HSQUIRRELVM = SQVM*]'|
include\scripting\sqplus\sqplus.h|1293| required from 'void SqPlus::sq_pushdirectclosure(HSQUIRRELVM, Func, SQUnsignedInteger) [with Func = bool (*)(const wxString&, const wxString&); HSQUIRRELVM = SQVM*; SQUnsignedInteger = unsigned int]'|
include\scripting\sqplus\sqplus.h|1330| required from 'void SqPlus::Register(HSQUIRRELVM, Func, const SQChar*) [with Func = bool (*)(const wxString&, const wxString&); HSQUIRRELVM = SQVM*; SQChar = char]'|
include\scripting\sqplus\sqplus.h|1376| required from 'void SqPlus::Register(HSQUIRRELVM, HSQOBJECT, Func, const SQChar*) [with Func = bool (*)(const wxString&, const wxString&); HSQUIRRELVM = SQVM*; HSQOBJECT = tagSQObject; SQChar = char]'|
include\scripting\sqplus\sqplus.h|1781| required from 'SqPlus::SQClassDef<TClassType>& SqPlus::SQClassDef<TClassType>::staticFunc(Func, const SQChar*) [with Func = bool (*)(const wxString&, const wxString&); TClassType = CompilerFactory; SqPlus::SQClassDef<TClassType> = SqPlus::SQClassDef<CompilerFactory>; SQChar = char]'|
H:\SourceCode\OpenSourceCode\Apps\IDEs\CodeBlocks\codeblocks-wx28-SJLJ\src\sdk\scripting\bindings\scriptbindings.cpp|681| required from here|
include\scripting\sqplus\sqplus.h|638|warning: 'Push' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]|
include\scripting\bindings\sc_base_types.h|74|note: 'void SqPlus::Push(HSQUIRRELVM, TargetFilenameGenerationPolicy)' declared here, later in the translation unit|
Currently rebuild the full Code::Blocks project will attach minimal build log when done.
Note: Using these option on cpp file(s) "-std=gnu++0x -fpermissive"
Tim S.
[attachment deleted by admin]
Also, need this changed from error to something else.
Tim S.
include\scripting\bindings/sc_base_types.h:74:1: note: 'void SqPlus::Push(HSQUIRRELVM, TargetFilenameGenerationPolicy)' declared here, later in the translation unit