summaryrefslogtreecommitdiffstats
path: root/libcxx/lib
diff options
context:
space:
mode:
authorHoward Hinnant <hhinnant@apple.com>2011-12-01 20:21:04 +0000
committerHoward Hinnant <hhinnant@apple.com>2011-12-01 20:21:04 +0000
commitc206366fd7774aff222578c2680b931a4c2c35ba (patch)
tree754a1c9a558a9c1e4e1774aec8ac5268ba3d2afe /libcxx/lib
parentab0ad4ed1eea577056d76a4b76734dae881955d3 (diff)
downloadbcm5719-llvm-c206366fd7774aff222578c2680b931a4c2c35ba.tar.gz
bcm5719-llvm-c206366fd7774aff222578c2680b931a4c2c35ba.zip
Quash a whole bunch of warnings
llvm-svn: 145624
Diffstat (limited to 'libcxx/lib')
-rwxr-xr-xlibcxx/lib/buildit4
1 files changed, 3 insertions, 1 deletions
diff --git a/libcxx/lib/buildit b/libcxx/lib/buildit
index b307806bab7..0b1f6e5a196 100755
--- a/libcxx/lib/buildit
+++ b/libcxx/lib/buildit
@@ -35,7 +35,9 @@ then
RC_ProjectSourceVersion=1
fi
-EXTRA_FLAGS="-std=c++0x"
+EXTRA_FLAGS="-std=c++0x -fstrict-aliasing -Wall -Wextra -Wshadow -Wconversion \
+ -Wnewline-eof -Wpadded -Wmissing-prototypes -Wstrict-aliasing=2 \
+ -Wstrict-overflow=4"
case $TRIPLE in
*-apple-*)
OpenPOWER on IntegriCloud