From 23c6155f8e6ce93f41597e7aa860cca0b5110e4b Mon Sep 17 00:00:00 2001 From: Ben Longbons Date: Thu, 26 Jun 2014 22:45:23 -0700 Subject: changing the rules in a clean environment doesn't rebuild --- src/poison.hpp | 4 ++++ src/sanity.hpp | 4 ++++ src/warnings.hpp | 5 +++++ 3 files changed, 13 insertions(+) (limited to 'src') diff --git a/src/poison.hpp b/src/poison.hpp index 2b53e15..27707b3 100644 --- a/src/poison.hpp +++ b/src/poison.hpp @@ -20,6 +20,9 @@ // just mention "fwd.hpp" to make formatter happy + +namespace tmwa +{ // impossible(*) to use safely // removed in C11 # pragma GCC poison gets @@ -116,5 +119,6 @@ # pragma GCC poison ifstream # pragma GCC poison ofstream # pragma GCC poison fstream +} // namespace tmwa #endif // GENERATING_DEPENDENCIES diff --git a/src/sanity.hpp b/src/sanity.hpp index 88bb24b..eb4a412 100644 --- a/src/sanity.hpp +++ b/src/sanity.hpp @@ -21,6 +21,9 @@ // just mention "fwd.hpp" to make formatter happy + +namespace tmwa +{ # ifndef __cplusplus # error "Please compile in C++ mode" # endif // __cplusplus @@ -45,5 +48,6 @@ // some integer sizes (partially fixed for the x32 ABI) # error "Unsupported platform, we use x86 / amd64 only" # endif // not __i386__ +} // namespace tmwa #endif // TMWA_SANITY_HPP diff --git a/src/warnings.hpp b/src/warnings.hpp index 6c291da..c6c6695 100644 --- a/src/warnings.hpp +++ b/src/warnings.hpp @@ -23,6 +23,10 @@ // just mention "fwd.hpp" to make formatter happy + +namespace tmwa +{ + // This file is currently targeted at: // GCC 4.6 (incomplete due to bugs) // GCC 4.7 (for few minor workarounds) @@ -781,3 +785,4 @@ EG47("-Wzero-as-null-pointer-constant") #undef W48 #undef E48 #undef X48 +} // namespace tmwa -- cgit v1.2.3-70-g09d2