diff options
author | Ben Longbons <b.r.longbons@gmail.com> | 2014-06-26 22:45:23 -0700 |
---|---|---|
committer | Ben Longbons <b.r.longbons@gmail.com> | 2014-06-26 22:45:23 -0700 |
commit | 23c6155f8e6ce93f41597e7aa860cca0b5110e4b (patch) | |
tree | 541002308074e4bf02f7f9a3470749a109873b73 /src | |
parent | 2f4fc005937e75d931eb6ef87a3fe16364d45113 (diff) | |
download | tmwa-23c6155f8e6ce93f41597e7aa860cca0b5110e4b.tar.gz tmwa-23c6155f8e6ce93f41597e7aa860cca0b5110e4b.tar.bz2 tmwa-23c6155f8e6ce93f41597e7aa860cca0b5110e4b.tar.xz tmwa-23c6155f8e6ce93f41597e7aa860cca0b5110e4b.zip |
changing the rules in a clean environment doesn't rebuild
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 |