it happened again, things time I did not forget to look at the full build log.
Project with 2 tartgets (debug and release), debug was just successfully build, and then it started on the release target :
g++ -c /home/ldco/Projects/duck/trunk/libraries/Foo/local/Bar.cpp -o ../Deliv/GnuRelease/local/Bar.o
First things to notice, there are not compiler options, they are all gone !!!
All the options have been specified on the project level , for example all these are missing :
g++ -Winit-self -Wredundant-decls -Wundef -Wfloat-equal -Wmissing-declarations -Wmissing-include-dirs -Wswitch-default -Wmain -pedantic -std=c++0x -Wextra -Wall -D__BUILD_MULTI_THREAD__ -g
-Wextra -Wall
together with like 10 include paths.
copied compiler : yes ==> in the particular project I saw the issue no, but a project it depended on does, and that one was offcourse checked/build.
No global var.
However in the project files, there's stuff like this :
<Target title="GnuDebug">
<Option output="../Deliv/$TARGET_NAME/lib${PROJECT_NAME}" prefix_auto="1" extension_auto="1" />
<Option working_dir="" />
<Option object_output="../Deliv/$TARGET_NAME" />
<Option type="2" />
<Option compiler="gcc" />
<Compiler>
<Add option="-g" />
</Compiler>
</Target>