diff options
author | Ben Longbons <b.r.longbons@gmail.com> | 2013-06-29 23:23:43 -0700 |
---|---|---|
committer | Ben Longbons <b.r.longbons@gmail.com> | 2013-08-01 15:19:45 -0700 |
commit | 3b98f3439e33b15bba2036c402f9925340fdb2b9 (patch) | |
tree | f6a59330bb747d9cc64f5f83d06e7f76dc01d540 /src/warnings.hpp | |
parent | 8d1480c1be7c9741876d89008277a2b3629a4d01 (diff) | |
download | tmwa-3b98f3439e33b15bba2036c402f9925340fdb2b9.tar.gz tmwa-3b98f3439e33b15bba2036c402f9925340fdb2b9.tar.bz2 tmwa-3b98f3439e33b15bba2036c402f9925340fdb2b9.tar.xz tmwa-3b98f3439e33b15bba2036c402f9925340fdb2b9.zip |
Poison std::string and use the various string classes
Diffstat (limited to 'src/warnings.hpp')
-rw-r--r-- | src/warnings.hpp | 12 |
1 files changed, 8 insertions, 4 deletions
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) |