|
|
От: | Alexey F | |
| Дата: | 10.12.09 23:28 | ||
| Оценка: | |||
‘-Wall’ turns on the following warning flags:
-Waddress
-Warray-bounds (only with ‘-O2’)
-Wc++0x-compat // для C не поставить — будет безболезненно
-Wchar-subscripts
-Wimplicit-int
-Wimplicit-function-declaration
-Wcomment
-Wformat // речь в посте выше шла об этом флаге...
-Wmain (only for C/ObjC and unless ‘-ffreestanding’)
-Wmissing-braces
-Wnonnull
-Wparentheses
-Wpointer-sign
-Wreorder
-Wreturn-type // ...и об этом.
-Wsequence-point
-Wsign-compare (only in C++)
-Wstrict-aliasing
-Wstrict-overflow=1
-Wswitch
-Wtrigraphs
-Wuninitialized
-Wunknown-pragmas
-Wunused-function
-Wunused-label
-Wunused-value
-Wunused-variable
-Wvolatile-register-var