summaryrefslogtreecommitdiff
path: root/libodb-boost/odb/boost/version.options
diff options
context:
space:
mode:
Diffstat (limited to 'libodb-boost/odb/boost/version.options')
-rw-r--r--libodb-boost/odb/boost/version.options12
1 files changed, 12 insertions, 0 deletions
diff --git a/libodb-boost/odb/boost/version.options b/libodb-boost/odb/boost/version.options
new file mode 100644
index 0000000..904dcc5
--- /dev/null
+++ b/libodb-boost/odb/boost/version.options
@@ -0,0 +1,12 @@
+# file : odb/boost/version.options
+# license : GNU GPL v2; see accompanying LICENSE file
+
+# Make sure the options files as seen by the ODB compiler and header
+# files as seen by the C++ compiler have the same Boost interface
+# version.
+#
+--hxx-prologue '#include <odb/boost/version.hxx>'
+
+--hxx-prologue '#if ODB_BOOST_VERSION != 2047600 // 2.5.0-b.26'
+--hxx-prologue '# error ODB and C++ compilers see different libodb-boost interface versions'
+--hxx-prologue '#endif'