diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2024-01-24 17:03:38 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2024-01-24 17:03:38 +0300 |
commit | 0f1f6841ce5a50d5b315c24d796a2d8e2627d136 (patch) | |
tree | e16bbf9e23ca75a88b8af032c4e3ed299ca8db66 /libodb/odb/pre.hxx | |
parent | 823026b58211a4166de06ac243d978dcb9930271 (diff) | |
parent | 26e36b3a9d7b49d46ecfa69b447482251acba8ac (diff) |
Merge branch 'libodb' into multi-package
Diffstat (limited to 'libodb/odb/pre.hxx')
-rw-r--r-- | libodb/odb/pre.hxx | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/libodb/odb/pre.hxx b/libodb/odb/pre.hxx new file mode 100644 index 0000000..088f172 --- /dev/null +++ b/libodb/odb/pre.hxx @@ -0,0 +1,23 @@ +// file : odb/pre.hxx +// license : GNU GPL v2; see accompanying LICENSE file + +#ifdef _MSC_VER + // Push warning state. + // +# pragma warning (push, 3) + + // Disabled warnings. + // +# pragma warning (disable:4068) // unknown pragma +# pragma warning (disable:4251) // needs to have DLL-interface +# pragma warning (disable:4290) // exception specification ignored +# pragma warning (disable:4355) // passing 'this' to a member +# pragma warning (disable:4800) // forcing value to bool +# pragma warning (disable:4231) // non-standard extension (extern template) +# pragma warning (disable:4275) // "C4251 is essentially noise and can be + // silenced" - Stephan T. Lavavej [And C4275 + // is essentially the same thing.] + // Elevated warnings. + // +# pragma warning (2:4239) // standard doesn't allow this conversion +#endif |