This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: compile with gcc option -O0 or -O


On 16 September 2011 10:12, zou wonder wrote:
> hi david:
> i have tried to enable all the warning option you provided :
> and here are some warnings:

As Miles said, many of the warning options David suggested are not
suitable for all code, you will get most of the benefit just using
-Wall -Wextra


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]