Author Topic: Strange warning messages  (Read 5011 times)

Offline Michael

  • Lives here!
  • ****
  • Posts: 1608
Strange warning messages
« 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

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: Strange warning messages
« Reply #1 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...
Be patient!
This bug will be fixed soon...

Offline Michael

  • Lives here!
  • ****
  • Posts: 1608
Re: Strange warning messages
« Reply #2 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

Offline Michael

  • Lives here!
  • ****
  • Posts: 1608
Re: Strange warning messages
« Reply #3 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

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: Strange warning messages
« Reply #4 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.
Be patient!
This bug will be fixed soon...

Offline Michael

  • Lives here!
  • ****
  • Posts: 1608
Re: Strange warning messages
« Reply #5 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