Author Topic: to generate warnings  (Read 2385 times)

Sonam Agarwal

  • Guest
to generate warnings
« on: January 22, 2014, 06:05:39 pm »
For gcc how to use -Wall -Wextra -Werror and fix all the problems .

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9508
Re: to generate warnings
« Reply #1 on: January 22, 2014, 06:22:51 pm »
For gcc how to use -Wall -Wextra -Werror and fix all the problems .
Enable them in your project settings on the compiler part.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: http://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: http://wiki.codeblocks.org/index.php?title=FAQ