Map #warning to #pragma message for VisualStudio

This commit is contained in:
amai2012 2019-09-18 21:50:23 +02:00
parent 076c604de8
commit 5a6084fbec
1 changed files with 4 additions and 0 deletions

View File

@ -39,8 +39,12 @@ class Token;
typedef __int128_t int128_t;
#else
typedef long long int128_t;
#ifdef _MSC_VER
#pragma message(__FILE__ "(" _CRT_STRINGIZE(__LINE__) ")" ": warning: TODO No 128-bit integer type is available => Limited analysis of large integers...")
#else
#warning TODO No 128-bit integer type is available => Limited analysis of large integers
#endif
#endif
namespace ExprEngine {
std::string str(int128_t);