diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-09-18 20:03:19 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-09-18 20:03:19 +0300 |
commit | c0bced1e7d5984d162a53455d474bb16154ed386 (patch) | |
tree | d5f3f115a09cbd105d577488c4f46fce45af6874 | |
parent | 01b26b05ec787cb8cbfce27474362f5c29650f60 (diff) | |
download | manaverse-c0bced1e7d5984d162a53455d474bb16154ed386.tar.gz manaverse-c0bced1e7d5984d162a53455d474bb16154ed386.tar.bz2 manaverse-c0bced1e7d5984d162a53455d474bb16154ed386.tar.xz manaverse-c0bced1e7d5984d162a53455d474bb16154ed386.zip |
Add new options to build scripts.
-rwxr-xr-x | bmake | 5 | ||||
-rwxr-xr-x | bmake46 | 7 |
2 files changed, 9 insertions, 3 deletions
@@ -33,7 +33,10 @@ export CXXFLAGS="-Wunreachable-code -Wmissing-field-initializers \ -Wempty-body -Wsign-compare -Wclobbered -Wcast-align -Wcast-qual \ -Wtype-limits -Wpointer-arith -Wundef -Wmissing-include-dirs \ -Wignored-qualifiers -Winit-self -pedantic -Wall -ggdb3 -O2 -pipe \ --Wpacked -Wshadow -D_FORTIFY_SOURCE=2" +-Wpacked -Wshadow -Wunused -Wsynth \ +-Wbuiltin-macro-redefined -Wctor-dtor-privacy -Wdeprecated -Wextra \ +-Wendif-labels -Wformat=1 -Wimport -Wnon-virtual-dtor -Wpsabi \ +-Wsign-promo -Wwrite-strings -D_FORTIFY_SOURCE=2" autoreconf -i ./configure --prefix=$dir/run \ @@ -16,7 +16,7 @@ # -Weffc++ #from time to time fix: -Wold-style-cast -Wconversion -Wswitch-enum -Waggregate-return -#from time to time fix: -Winline +#from time to time fix: -Winline -Woverloaded-virtual #need fix: -Wsuggest-attribute=pure -Wsuggest-attribute=const #need fix: -Wstrict-overflow=5 -fstrict-overflow #need fix: -Wstrict-aliasing=3 @@ -44,7 +44,10 @@ export CXXFLAGS="-Wvariadic-macros -Wvla -Wredundant-decls \ -Wcast-align -Wcast-qual -Wpointer-arith -Wundef \ -Wmissing-include-dirs -Winit-self -pedantic -Wall -ggdb3 -O2 -pipe \ -Wpacked -Wextra -Wstrict-overflow=1 -Wunknown-pragmas -Wwrite-strings \ --Wstack-protector -Wshadow -D_FORTIFY_SOURCE=2" +-Wstack-protector -Wshadow -Wunused -Wunused-macros -Wsynth \ +-Wbuiltin-macro-redefined -Wctor-dtor-privacy -Wdeprecated -Wextra \ +-Wendif-labels -Wformat=1 -Wimport -Wnon-virtual-dtor -Wpsabi \ +-Wsign-promo -Wwrite-strings -D_FORTIFY_SOURCE=2" autoreconf -i ./configure --prefix=$dir/run \ |