Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: Michael on March 09, 2006, 12:28:01 pm
-
Hello,
Building a debian package and now building C::B with the project file, I get some "strange" warnings:
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
I use rev2156 on ubuntu 5.10.
Best wishes,
Michael
-
You have to remove sdk/sdk.h.gch first. It's not compatible between project file builds and autotools builds...
-
You have to remove sdk/sdk.h.gch first. It's not compatible between project file builds and autotools builds...
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
-
Hello,
I have a question concerning rev2173 and specifically to:
* Updated wxSmith's PCH removal for autotools builds.
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
-
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 (http://svn.berlios.de/wsvn/codeblocks/trunk/src/plugins/contrib/wxSmith/Makefile.am?op=diff&rev=0&sc=0).
-
Hello,
Thank you very much for your explanation. Now I understand :D.
May be it is a stupid question, but it would not be possible that the wxSmith-unix.cbp based builds create a file instead of a directory?
Best wishes,
Michael