User forums > Using Code::Blocks
Strange warning messages
Michael:
Hello,
Building a debian package and now building C::B with the project file, I get some "strange" warnings:
--- Quote ---sdk/sdk_precomp.h:25:18: warning: sdk/sdk.h.gch: settings for -fexceptions do not match
sdk/sdk_precomp.h:25:18: warning: sdk/sdk.h.gch: settings for -fexceptions do not match
src/appglobals.cpp:13:17: warning: sdk/sdk.h.gch: settings for -fexceptions do not match
plugins/compilergcc/compilergcc.cpp:27:17: warning: sdk/sdk.h.gch: settings for -fexceptions do not match
plugins/codecompletion/codecompletion.cpp:27:17: warning: sdk/sdk.h.gch: settings for -fexceptions do not match
--- End quote ---
I use rev2156 on ubuntu 5.10.
Best wishes,
Michael
mandrav:
You have to remove sdk/sdk.h.gch first. It's not compatible between project file builds and autotools builds...
Michael:
--- Quote from: mandrav on March 09, 2006, 12:52:32 pm ---You have to remove sdk/sdk.h.gch first. It's not compatible between project file builds and autotools builds...
--- End quote ---
Ok, I understand. Thank you very much :D.
So, if I have good understood, I have to remove them before building a .deb package, but also when I would like to compile C::B by using its project file.
Best wishes,
Michael
Michael:
Hello,
I have a question concerning rev2173 and specifically to:
--- Quote ---* Updated wxSmith's PCH removal for autotools builds.
--- End quote ---
What does it means exactly? May be that when using autotools to build C::B the previous PCH are removed?
Thank you very much.
Best wishes,
Michael
mandrav:
Autotools based builds create a wxsheaders.h.gch file where wxSmith-unix.cbp based builds create a wxsheaders.h.gch directory.
As a result, when trying to build with autotools and you had built using wxSmith-unix.cbp before, it couldn't create the file because a dir with the same name existed.
Look at this.
Navigation
[0] Message Index
[#] Next page
Go to full version