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 --- README | 15 ++++++--------- src/poison.hpp | 4 ++++ src/sanity.hpp | 4 ++++ src/warnings.hpp | 5 +++++ 4 files changed, 19 insertions(+), 9 deletions(-) diff --git a/README b/README index 8a8a2d9..e4d034f 100644 --- a/README +++ b/README @@ -53,23 +53,20 @@ platform dependencies: filesystem: must support symlinks build dependencies: + python: + required: 2.7.x only, installed in $PATH as 'python' C library: recommended: glibc 2.17 or higher supported: glibc 2.13 known bad: glibc 2.8 or below unsupported: anything that's not glibc C++ compiler: - required: g++ 4.6.1 or higher - recommended: g++ 4.7.2 or higher - likely to work: clang++ 3.2 or higher + required: g++ 4.7.2 or higher + recommended: g++ 4.8.1 or higher + likely to work: clang++ 3.3 or higher C++ library: recommended: libstdc++ to match g++; may need patch for clang++ - untested: libc++ - flex: - tested: 2.5 - bison: - tested: 2.7 - bad: 2.3 + may work: libc++ attoconf: special: see below runtime dependencies: 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