diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-09-10 00:29:26 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-09-10 00:29:26 +0300 |
commit | c791a0f5f7876b89f39644a13679a0a55b6c1322 (patch) | |
tree | 05a71b4cc40d6bf312038492e700da8edf2fa088 | |
parent | 22a66542b07a4238ef55e0a4aace09a62f416103 (diff) | |
download | plus-c791a0f5f7876b89f39644a13679a0a55b6c1322.tar.gz plus-c791a0f5f7876b89f39644a13679a0a55b6c1322.tar.bz2 plus-c791a0f5f7876b89f39644a13679a0a55b6c1322.tar.xz plus-c791a0f5f7876b89f39644a13679a0a55b6c1322.zip |
add shadow flag to make scripts.
-rwxr-xr-x | bmake | 4 | ||||
-rwxr-xr-x | bmake44 | 3 | ||||
-rwxr-xr-x | bmake46 | 2 |
3 files changed, 5 insertions, 4 deletions
@@ -1,7 +1,7 @@ #!/bin/sh #may be -#-Wshadow -Waggregate-return -Winline +#-Waggregate-return -Winline #for feature #-Wstrict-overflow=4 -Wfloat-equal @@ -33,7 +33,7 @@ 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" +-Wpacked -Wshadow" autoreconf -i ./configure --prefix=$dir/run \ @@ -32,7 +32,8 @@ export CXXFLAGS="-Wmissing-field-initializers \ -Wunused-parameter -Wlogical-op \ -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" +-Wignored-qualifiers -Winit-self -pedantic -Wall -ggdb3 -O2 -pipe \ +-Wpacked -Wshadow" autoreconf -i ./configure --prefix=$dir/run \ @@ -44,7 +44,7 @@ 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" +-Wstack-protector -Wshadow" autoreconf -i ./configure --prefix=$dir/run \ |