- // we don't give warnings for the compilers we know about that they don't
- // have any 64 bit integer type
- #if !defined(__VISAGECPP__) && \
- !defined(__VISUALC__) && \
- !defined(__BORLANDC__
- #warning "Your compiler does not appear to support 64 bit integers, "\
- "using emulation class instead."
- #endif // known compilers without long long
-
+ // both warning and pragma warning are not portable, but at least an
+ // 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
+ // <sigh>
+#if !(defined(__WATCOMC__) || defined(__VISAGECPP__))
+ #pragma warning "Your compiler does not appear to support 64 bit "\
+ "integers, using emulation class instead.\n" \
+ "Please report your compiler version to " \
+ "wx-dev@lists.wxwindows.org!"
+#endif