Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: Michael on March 09, 2006, 12:28:01 pm

Title: Strange warning messages
Post 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:

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

I use rev2156 on ubuntu 5.10.

Best wishes,
Michael
Title: Re: Strange warning messages
Post by: 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...
Title: Re: Strange warning messages
Post by: Michael on March 09, 2006, 12:55:31 pm
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
Title: Re: Strange warning messages
Post by: Michael on March 12, 2006, 11:58:20 pm
Hello,

I have a question concerning rev2173 and specifically to:

Quote
* 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
Title: Re: Strange warning messages
Post by: mandrav on March 13, 2006, 09:56:17 am
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).
Title: Re: Strange warning messages
Post by: Michael on March 13, 2006, 10:41:00 am
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