diff options
Diffstat (limited to 'inheritance')
-rw-r--r-- | inheritance/polymorphism/database.hxx | 2 | ||||
-rw-r--r-- | inheritance/reuse/database.hxx | 2 |
2 files changed, 4 insertions, 0 deletions
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> |