diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2012-09-17 08:16:00 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2012-09-17 08:16:00 +0200 |
commit | 9b7f203f1f8a40765649312442efa9602335f757 (patch) | |
tree | 7f456d155bbb2f3493de62b596632b4b935fdef4 /odb/gcc.hxx | |
parent | 2e718bca0b13d1df0e43d3f9c532560e363441ec (diff) |
GCC 4.8 compatibility fixes
Diffstat (limited to 'odb/gcc.hxx')
-rw-r--r-- | odb/gcc.hxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/odb/gcc.hxx b/odb/gcc.hxx index 2112411..c463554 100644 --- a/odb/gcc.hxx +++ b/odb/gcc.hxx @@ -18,11 +18,12 @@ #include <bversion.h> -// GCC 4.7 can be built using either C or C++ compiler. +// GCC 4.7 can be built using either C or C++ compiler. From 4.8 it +// is always built as C++. // #if BUILDING_GCC_MAJOR == 4 && BUILDING_GCC_MINOR <= 6 # define ODB_GCC_PLUGIN_C -#else +#elif BUILDING_GCC_MAJOR == 4 && BUILDING_GCC_MINOR <= 7 # include <config.h> # ifndef ENABLE_BUILD_WITH_CXX # define ODB_GCC_PLUGIN_C |