diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/poison.hpp | 4 | ||||
-rw-r--r-- | src/sanity.hpp | 4 | ||||
-rw-r--r-- | src/warnings.hpp | 5 |
3 files changed, 13 insertions, 0 deletions
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 |