Author Topic: Not seeing compiler warnings - MinGW-g++  (Read 3432 times)

DeadVelocity

  • Guest
Not seeing compiler warnings - MinGW-g++
« on: October 08, 2008, 03:53:40 am »
I installed Code::Blocks 8.02 with MinGW. I moved the MinGW folder to C:\ and set up my path to include C:\MinGW\bin\

In CB i have selectd GNU GCC Compiler and set the compiler options to show all compiler warnings (-Wall)

trouble is I am NOT seeing any compiler warnings at all. even when i use code that I know gives warnings in other compilers.

What can I do to fix this?

-DV-
« Last Edit: October 08, 2008, 04:19:05 am by DeadVelocity »

mariocup

  • Guest
Re: Not seeing compiler warnings - MinGW-g++
« Reply #1 on: October 08, 2008, 08:14:11 am »
Hi DeadVelocity,

the option -Wall does not issues all warnings. To get more warnings please set in addition the option -W.

Bye,

Mario