Code::Blocks Forums
User forums => General (but related to Code::Blocks) => Topic started by: sethjackson on July 31, 2006, 03:26:44 am
-
I think I may have found a bug.
I turned the -Wmain switch on (for a C++ program).
GCC (or Code::Blocks or...) balked at me saying that switch was only for Obj-C/C.
So I think it is a bug? I have looked on the GCC website, and it seems to me that it is for Obj-C/C/C++ :?
http://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html
-
checking the docs, it's a vlid c++ switch. So if CB complains about it, it's because GCC did.
I can confirm (GCC 3.4.5), I think you should file this to the GCC guys.
Or their code is wrong or their docs.
-
checking the docs, it's a vlid c++ switch. So if CB complains about it, it's because GCC did.
I can confirm (GCC 3.4.5), I think you should file this to the GCC guys.
Or their code is wrong or their docs.
Mk that is what I thought. :P