summaryrefslogtreecommitdiff
path: root/cmake/deps-utils/CoCoA-patch-0.99712.patch
blob: 464d39f831861b8bfbb5857ba890e69a3f251a66 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/configuration/cxx14.sh b/configuration/cxx14.sh
index cdbf338..0436983 100755
--- a/configuration/cxx14.sh
+++ b/configuration/cxx14.sh
@@ -40,7 +40,7 @@ int main()
 {
   int ReturnCode = 0; // will mean c++14 compliant
   std::cout << "C++ version: " << __cplusplus << std::endl;
-#if __cplusplus < 201400L
+#if __cplusplus < 201400L || __cplusplus >= 201703L
   ReturnCode = 1;  // NOT C++14 compilant
 #endif
   return ReturnCode;
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback