Author Topic: to generate warnings  (Read 5380 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: 9694
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: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ