imagjpeg.cpp doesn't compile.
Note (2): makewat.env uses the odbc32.lib supplied in wxWindows' lib\watcom
directory. See the notes in that directory.
+Note (3): makefile compilation seems broken (28/12/99) with a
+GPF in the linker. Too many object files? Could try switching
+some options off in setup.h.
Metrowerks CodeWarrior compilation
----------------------------------
class WXDLLEXPORT wxDateTime
{
+private:
+ // invalid wxDateTime object - returned by all functions which return
+ // "wxDateTime &" on failure.
+ // This variable has to be declared at the start of the class,
+ // or some compilers (e.g. Watcom C++) won't like it being used further down.
+ static wxDateTime ms_InvDateTime;
+
public:
// types
// ------------------------------------------------------------------------
// fixed to 1000
static const long TIME_T_FACTOR;
- // invalid wxDateTime object - returned by all functions which return
- // "wxDateTime &" on failure
- static wxDateTime ms_InvDateTime;
-
// returns TRUE if we fall in range in which we can use standard ANSI C
// functions
inline bool IsInStdRange() const;
#endif
#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
+ // unknown pragma should never be an error.
+ // Err, actually, Watcom C++ doesn't like it.
+#ifndef __WATCOMC__
#pragma warning "Your compiler does not appear to support 64 bit "\
"integers, using emulation class instead."
+#endif
#define wxUSE_LONGLONG_WX 1
#endif // compiler
#include "wx/dialup.h"
-// Doesn't yet compile under BC++ nor with mingw: no wininet.h
-#if !defined(__BORLANDC__) && !defined(__GNUWIN32_OLD__) && !defined(__GNUWIN32__)
+// Doesn't yet compile under BC++, mingw, Watcom C++: no wininet.h
+#if !defined(__BORLANDC__) && !defined(__GNUWIN32_OLD__) && !defined(__GNUWIN32__) && !defined(__WATCOMC__)
#include <ras.h>
#include <raserror.h>