diff options
Diffstat (limited to 'externals/grill/vasp/source/main.h')
-rw-r--r-- | externals/grill/vasp/source/main.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/externals/grill/vasp/source/main.h b/externals/grill/vasp/source/main.h index f8680dab..d8aa8a65 100644 --- a/externals/grill/vasp/source/main.h +++ b/externals/grill/vasp/source/main.h @@ -20,6 +20,11 @@ WARRANTIES, see the file, "license.txt," in this distribution. #error You need at least flext version 0.4.1 #endif +#if defined(_MSC_VER) && !defined(FLEXT_DEBUG) +// switch off warnings for the release build +#pragma warning(disable: 4244) +#endif + #include <typeinfo> #include <stdlib.h> |