diff options
-rw-r--r-- | access/database.hxx | 2 | ||||
-rw-r--r-- | boost/database.hxx | 2 | ||||
-rw-r--r-- | c++11/database.hxx | 2 | ||||
-rw-r--r-- | composite/database.hxx | 2 | ||||
-rw-r--r-- | container/database.hxx | 2 | ||||
-rw-r--r-- | hello/database.hxx | 2 | ||||
-rw-r--r-- | inheritance/polymorphism/database.hxx | 2 | ||||
-rw-r--r-- | inheritance/reuse/database.hxx | 2 | ||||
-rw-r--r-- | inverse/database.hxx | 2 | ||||
-rw-r--r-- | mapping/database.hxx | 2 | ||||
-rw-r--r-- | optimistic/database.hxx | 2 | ||||
-rw-r--r-- | pimpl/database.hxx | 2 | ||||
-rw-r--r-- | qt/database.hxx | 2 | ||||
-rw-r--r-- | query/database.hxx | 2 | ||||
-rw-r--r-- | relationship/database.hxx | 2 | ||||
-rw-r--r-- | schema/custom/database.hxx | 2 | ||||
-rw-r--r-- | schema/embedded/database.hxx | 2 | ||||
-rw-r--r-- | template/database.hxx | 2 | ||||
-rw-r--r-- | view/database.hxx | 2 |
19 files changed, 38 insertions, 0 deletions
diff --git a/access/database.hxx b/access/database.hxx index 0be5482..11599b0 100644 --- a/access/database.hxx +++ b/access/database.hxx @@ -28,6 +28,8 @@ # include <odb/oracle/database.hxx> #elif defined(DATABASE_MSSQL) # include <odb/mssql/database.hxx> +#else +# error unknown database; did you forget to define the DATABASE_* macros? #endif inline std::auto_ptr<odb::database> diff --git a/boost/database.hxx b/boost/database.hxx index 8fb61b9..293f592 100644 --- a/boost/database.hxx +++ b/boost/database.hxx @@ -28,6 +28,8 @@ # include <odb/oracle/database.hxx> #elif defined(DATABASE_MSSQL) # include <odb/mssql/database.hxx> +#else +# error unknown database; did you forget to define the DATABASE_* macros? #endif inline std::auto_ptr<odb::database> diff --git a/c++11/database.hxx b/c++11/database.hxx index 2e9eb5d..f97448f 100644 --- a/c++11/database.hxx +++ b/c++11/database.hxx @@ -28,6 +28,8 @@ # include <odb/oracle/database.hxx> #elif defined(DATABASE_MSSQL) # include <odb/mssql/database.hxx> +#else +# error unknown database; did you forget to define the DATABASE_* macros? #endif inline std::unique_ptr<odb::database> diff --git a/composite/database.hxx b/composite/database.hxx index 36860df..ae7caf4 100644 --- a/composite/database.hxx +++ b/composite/database.hxx @@ -28,6 +28,8 @@ # include <odb/oracle/database.hxx> #elif defined(DATABASE_MSSQL) # include <odb/mssql/database.hxx> +#else +# error unknown database; did you forget to define the DATABASE_* macros? #endif inline std::auto_ptr<odb::database> diff --git a/container/database.hxx b/container/database.hxx index 226f67b..5756f97 100644 --- a/container/database.hxx +++ b/container/database.hxx @@ -28,6 +28,8 @@ # include <odb/oracle/database.hxx> #elif defined(DATABASE_MSSQL) # include <odb/mssql/database.hxx> +#else +# error unknown database; did you forget to define the DATABASE_* macros? #endif inline std::auto_ptr<odb::database> diff --git a/hello/database.hxx b/hello/database.hxx index 2b05442..283f5cb 100644 --- a/hello/database.hxx +++ b/hello/database.hxx @@ -28,6 +28,8 @@ # include <odb/oracle/database.hxx> #elif defined(DATABASE_MSSQL) # include <odb/mssql/database.hxx> +#else +# error unknown database; did you forget to define the DATABASE_* macros? #endif inline std::auto_ptr<odb::database> diff --git a/inheritance/polymorphism/database.hxx b/inheritance/polymorphism/database.hxx index 403b170..4c65d2d 100644 --- a/inheritance/polymorphism/database.hxx +++ b/inheritance/polymorphism/database.hxx @@ -28,6 +28,8 @@ # include <odb/oracle/database.hxx> #elif defined(DATABASE_MSSQL) # include <odb/mssql/database.hxx> +#else +# error unknown database; did you forget to define the DATABASE_* macros? #endif inline std::auto_ptr<odb::database> diff --git a/inheritance/reuse/database.hxx b/inheritance/reuse/database.hxx index 605c07f..6fd1bda 100644 --- a/inheritance/reuse/database.hxx +++ b/inheritance/reuse/database.hxx @@ -28,6 +28,8 @@ # include <odb/oracle/database.hxx> #elif defined(DATABASE_MSSQL) # include <odb/mssql/database.hxx> +#else +# error unknown database; did you forget to define the DATABASE_* macros? #endif inline std::auto_ptr<odb::database> diff --git a/inverse/database.hxx b/inverse/database.hxx index 7ceaedf..f4e8599 100644 --- a/inverse/database.hxx +++ b/inverse/database.hxx @@ -28,6 +28,8 @@ # include <odb/oracle/database.hxx> #elif defined(DATABASE_MSSQL) # include <odb/mssql/database.hxx> +#else +# error unknown database; did you forget to define the DATABASE_* macros? #endif inline std::auto_ptr<odb::database> diff --git a/mapping/database.hxx b/mapping/database.hxx index 5759e10..fe210d8 100644 --- a/mapping/database.hxx +++ b/mapping/database.hxx @@ -28,6 +28,8 @@ # include <odb/oracle/database.hxx> #elif defined(DATABASE_MSSQL) # include <odb/mssql/database.hxx> +#else +# error unknown database; did you forget to define the DATABASE_* macros? #endif inline std::auto_ptr<odb::database> diff --git a/optimistic/database.hxx b/optimistic/database.hxx index 6e110b9..e81f6a7 100644 --- a/optimistic/database.hxx +++ b/optimistic/database.hxx @@ -28,6 +28,8 @@ # include <odb/oracle/database.hxx> #elif defined(DATABASE_MSSQL) # include <odb/mssql/database.hxx> +#else +# error unknown database; did you forget to define the DATABASE_* macros? #endif inline std::auto_ptr<odb::database> diff --git a/pimpl/database.hxx b/pimpl/database.hxx index c159128..7b054ea 100644 --- a/pimpl/database.hxx +++ b/pimpl/database.hxx @@ -28,6 +28,8 @@ # include <odb/oracle/database.hxx> #elif defined(DATABASE_MSSQL) # include <odb/mssql/database.hxx> +#else +# error unknown database; did you forget to define the DATABASE_* macros? #endif inline std::auto_ptr<odb::database> diff --git a/qt/database.hxx b/qt/database.hxx index e0004aa..3823c5d 100644 --- a/qt/database.hxx +++ b/qt/database.hxx @@ -28,6 +28,8 @@ # include <odb/oracle/database.hxx> #elif defined(DATABASE_MSSQL) # include <odb/mssql/database.hxx> +#else +# error unknown database; did you forget to define the DATABASE_* macros? #endif inline std::auto_ptr<odb::database> diff --git a/query/database.hxx b/query/database.hxx index b1cb086..61bb5ba 100644 --- a/query/database.hxx +++ b/query/database.hxx @@ -28,6 +28,8 @@ # include <odb/oracle/database.hxx> #elif defined(DATABASE_MSSQL) # include <odb/mssql/database.hxx> +#else +# error unknown database; did you forget to define the DATABASE_* macros? #endif inline std::auto_ptr<odb::database> diff --git a/relationship/database.hxx b/relationship/database.hxx index f782869..6b0e852 100644 --- a/relationship/database.hxx +++ b/relationship/database.hxx @@ -28,6 +28,8 @@ # include <odb/oracle/database.hxx> #elif defined(DATABASE_MSSQL) # include <odb/mssql/database.hxx> +#else +# error unknown database; did you forget to define the DATABASE_* macros? #endif inline std::auto_ptr<odb::database> diff --git a/schema/custom/database.hxx b/schema/custom/database.hxx index 39febe8..e4847ec 100644 --- a/schema/custom/database.hxx +++ b/schema/custom/database.hxx @@ -25,6 +25,8 @@ # include <odb/oracle/database.hxx> #elif defined(DATABASE_MSSQL) # include <odb/mssql/database.hxx> +#else +# error unknown database; did you forget to define the DATABASE_* macros? #endif inline std::auto_ptr<odb::database> diff --git a/schema/embedded/database.hxx b/schema/embedded/database.hxx index b2c81ea..22ac21a 100644 --- a/schema/embedded/database.hxx +++ b/schema/embedded/database.hxx @@ -25,6 +25,8 @@ # include <odb/oracle/database.hxx> #elif defined(DATABASE_MSSQL) # include <odb/mssql/database.hxx> +#else +# error unknown database; did you forget to define the DATABASE_* macros? #endif inline std::auto_ptr<odb::database> diff --git a/template/database.hxx b/template/database.hxx index 3eb2c61..dfe6562 100644 --- a/template/database.hxx +++ b/template/database.hxx @@ -28,6 +28,8 @@ # include <odb/oracle/database.hxx> #elif defined(DATABASE_MSSQL) # include <odb/mssql/database.hxx> +#else +# error unknown database; did you forget to define the DATABASE_* macros? #endif inline std::auto_ptr<odb::database> diff --git a/view/database.hxx b/view/database.hxx index 9bfe987..1fc18f7 100644 --- a/view/database.hxx +++ b/view/database.hxx @@ -28,6 +28,8 @@ # include <odb/oracle/database.hxx> #elif defined(DATABASE_MSSQL) # include <odb/mssql/database.hxx> +#else +# error unknown database; did you forget to define the DATABASE_* macros? #endif inline std::auto_ptr<odb::database> |