Author Topic: [SOLVED] GCC : compilation warning with precompiled header  (Read 4319 times)

Offline jfouche

  • Multiple posting newcomer
  • *
  • Posts: 28
Hi

I would like to know what are those gcc warnings :

Code
||=== wxConfig, Release ===|
||warning: C:\projets\cpp\wxconfig\trunk\src\wx_pch.h.gch/Debug_wx_pch_h_gch: created using different flags|
||warning: ./wx_pch.h.gch/Debug_wx_pch_h_gch: created using different flags|
||warning: ./wx_pch.h.gch/Debug_wx_pch_h_gch: created using different flags|
||warning: ./wx_pch.h.gch/Debug_wx_pch_h_gch: created using different flags|
||warning: ./wx_pch.h.gch/Debug_wx_pch_h_gch: created using different flags|
||warning: ./wx_pch.h.gch/Debug_wx_pch_h_gch: created using different flags|
||=== Build finished: 0 errors, 6 warnings ===|

I use 2 configurations debug and release, and compiling release shows me those warnings. I'm surprised that I see debug configurations in the warnings.
Does it deal with the fact that both precompiled header are in the same directory ?
Well, I use the default template of code::blocks, so if the problem come from here, maybe the template has to be changed (But I surely misunderstand the real problem :D).

No problem with the generated file, so it is just for my comprehension.
--
Jérémie
« Last Edit: May 20, 2008, 12:40:45 pm by jfouche »

Offline Dahman

  • Multiple posting newcomer
  • *
  • Posts: 16