diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2016-02-08 18:39:21 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2016-02-08 18:39:21 +0200 |
commit | 61d13eb53ade9f30a64892a901401bda5e42c335 (patch) | |
tree | 2b64fbd7cdeaf306eb28ef8f8882681259b4be9b /odb/gcc.hxx | |
parent | 511dcf67322ad87fb32f97d1cf7725c129e83898 (diff) |
Make compilable with GCC 6 in C++14 mode
Diffstat (limited to 'odb/gcc.hxx')
-rw-r--r-- | odb/gcc.hxx | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/odb/gcc.hxx b/odb/gcc.hxx index 858d685..a22357d 100644 --- a/odb/gcc.hxx +++ b/odb/gcc.hxx @@ -7,9 +7,12 @@ #include <odb/gcc-fwd.hxx> -#if BUILDING_GCC_MAJOR >= 6 -# include <safe-ctype.h> // See gcc-fwd.hxx. -#endif +// Actually, let's keep it out. With it included we can compile in C++98 +// but not in C++14 (GCC 6 default). +// +// #if BUILDING_GCC_MAJOR >= 6 +// # include <safe-ctype.h> // See gcc-fwd.hxx. +// #endif // GCC header includes to get the plugin and parse tree declarations. // The order is important and doesn't follow any kind of logic. |