Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/jarro2783/cxxopts.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJarryd Beck <jarro.2783@gmail.com>2021-06-01 10:20:05 +0300
committerJarryd Beck <jarro.2783@gmail.com>2021-06-01 10:20:05 +0300
commitf2749fc7451108ffe7a36aa7a6bd73b90f7e2b35 (patch)
treee281b064e317d1d920b8c334c8fe9ae2655cf283
parentcfca9e78ec6ba650c0ab36ea35f559690df8387c (diff)
greater than 6fix-version-check
-rw-r--r--include/cxxopts.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/cxxopts.hpp b/include/cxxopts.hpp
index 850fc45..757742a 100644
--- a/include/cxxopts.hpp
+++ b/include/cxxopts.hpp
@@ -70,7 +70,7 @@ THE SOFTWARE.
#define CXXOPTS__VERSION_MINOR 0
#define CXXOPTS__VERSION_PATCH 0
-#if __GNUC__ < 10 || (__GNUC__ == 10 && __GNUC_MINOR__ < 1)
+#if (__GNUC__ < 10 || (__GNUC__ == 10 && __GNUC_MINOR__ < 1)) && __GNUC__ >= 6
#define CXXOPTS_NULL_DEREF_IGNORE
#endif