Re: turn off warnings in gcc on linux

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




John Love-Jensen wrote:
>> cat ~/bin/w++ 
> 
> /usr/bin/g++ \
> -ansi \
> -Wno-long-long \
> -Wall \
> -Wextra \
> -Weffc++ \
> -Wredundant-decls \
> -Wstrict-null-sentinel \
> -W#warnings \
> -Wfloat-equal \
> -Wmissing-format-attribute \
> -Wmissing-noreturn \
> -Wpacked \
> -Wshadow \
> -Wunused-macros \
> -Wcast-align \
> -Wcast-qual \
> -Wconversion \
> -Wctor-dtor-privacy \
> -Wdeprecated \
> -Wdeprecated-declarations \
> -Wendif-labels \
> -Wextra \
> -Wformat-extra-args \
> -Winline \
> -Winvalid-offsetof \
> -Wmissing-field-initializers \
> -Wnon-lvalue-assign \
> -Wnon-virtual-dtor \
> -Woverloaded-virtual \
> -Wpmf-conversions \
> -Wpointer-arith \
> -Wshorten-64-to-32 \
> -Wsign-compare \
> -Wsign-promo \
> -Wundef \
> -Wwrite-strings \
> -Wold-style-cast \
> -Wno-unreachable-code \
> -fdollars-in-identifiers \
> "$@"
> 

Nice collection.

Just a note: -Wextra is in there twice

Best, Peter

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux