X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/403603f74f05f55d2194b4874b04f46ae7e07da4..aac65598a1137a8a9d4d31155ba83833500aea4d:/include/wx/longlong.h diff --git a/include/wx/longlong.h b/include/wx/longlong.h index 31baf4810e..e5f82a5f7a 100644 --- a/include/wx/longlong.h +++ b/include/wx/longlong.h @@ -52,7 +52,7 @@ #define wxLongLong_t __int64 #elif defined(__BORLANDC__) && defined(__WIN32__) && (__BORLANDC__ >= 0x520) #define wxLongLong_t __int64 -#elif defined(__GNUG__) +#elif defined(__GNUG__) || defined(__sgi) #define wxLongLong_t long long #elif defined(__MWERKS__) #if __option(longlong) @@ -65,11 +65,14 @@ #define wxLongLong_t long long #else // no native long long type // both warning and pragma warning are not portable, but at least an - // unknown pragma should never be an error - unless the compiler is - // seriously broken as Watcom C++ seems to be... -#if (!(defined(__WATCOMC__) || defined(__VISAGECPP__))) + // unknown pragma should never be an error - except that, actually, some + // broken compilers don't like it, so we have to disable it in this case + // +#if !(defined(__WATCOMC__) || defined(__VISAGECPP__)) #pragma warning "Your compiler does not appear to support 64 bit "\ - "integers, using emulation class instead." + "integers, using emulation class instead.\n" \ + "Please report your compiler version to " \ + "wx-dev@lists.wxwindows.org!" #endif #define wxUSE_LONGLONG_WX 1 #endif // compiler