From 3b98f3439e33b15bba2036c402f9925340fdb2b9 Mon Sep 17 00:00:00 2001 From: Ben Longbons Date: Sat, 29 Jun 2013 23:23:43 -0700 Subject: Poison std::string and use the various string classes --- src/warnings.hpp | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'src/warnings.hpp') diff --git a/src/warnings.hpp b/src/warnings.hpp index 9ce78ee..9f184a5 100644 --- a/src/warnings.hpp +++ b/src/warnings.hpp @@ -167,7 +167,8 @@ /// Warn about things that will change when compiling /// with an ABI-compliant compiler -I(-Wabi) +// see note about -fabi-version=6 in the makefile +E(-Wabi) /// Warn if a subobject has an abi_tag attribute that /// the complete object type does not have @@ -191,9 +192,10 @@ E(-Wbuiltin-macro-redefined) /// Warn about C++ constructs whose meaning differs /// between ISO C++ 1998 and ISO C++ 2011 -// This has gone funky lately. It probably doesn't do anything anyway. +// This has gone funky lately. It probably doesn't do anything useful anyway. //E(-Wc++0x-compat) //W(-Wc++11-compat) +I(-Wc++0x-compat) /// Warn about pointer casts which increase alignment X(-Wcast-align) @@ -298,7 +300,7 @@ E(-Wfloat-equal) // see below EG(-Wformat) // but gcc 4.8 warns on %ms, since we enabled -Wpedantic. -WG48(-Wformat) +//WG48(-Wformat) /// Warn about format strings that contain NUL bytes EG(-Wformat-contains-nul) @@ -474,7 +476,9 @@ E(-Wparentheses) /// Issue warnings needed for strict compliance to /// the standard -EG48(-Wpedantic) +//EG48(-Wpedantic) +// lots of minor extensions are used +IG48(-Wpedantic) // a bit too noisy XC(-Wpedantic) -- cgit v1.2.3-60-g2f50