
Hi Andrew,
This is the compiler I use:
cl Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8804 for 80x86 Copyright (C) Microsoft Corp 1984-1998. All rights reserved.
This patch is missing from the current trunk. But it is not enough.
Regards,
On: Tue, 04 Mar 2008 08:12:06 +1100 Andrew Hood ajhood@fl.net.au wrote:
Yigal Hochberg wrote:
Hi Andrew,
So far, with an updated trunk, the compilation in "win" directory fails.
Did you rerun ./configure (say in cygwin or Linux)? Some header files need to be regenerated.
What errors were you getting?
What compiler were you using? I use Visual Studio 8.
I can see what looks like one missing patch.
Index: lib/smi.h.in
--- lib/smi.h.in (revision 7837) +++ lib/smi.h.in (working copy) @@ -108,7 +108,11 @@ #define SMI_BASETYPE_INTEGER64_MIN LIBSMI_INT64_MIN #define SMI_BASETYPE_INTEGER64_MAX LIBSMI_INT64_MAX #define SMI_BASETYPE_UNSIGNED32_MIN 0 +#ifdef UINT32_MAX #define SMI_BASETYPE_UNSIGNED32_MAX UINT32_MAX +#else +#define SMI_BASETYPE_UNSIGNED32_MAX UINT_MAX +#endif #define SMI_BASETYPE_UNSIGNED64_MIN 0 #define SMI_BASETYPE_UNSIGNED64_MAX LIBSMI_UINT64_MAX
-- There's no point in being grown up if you can't be childish sometimes. -- Dr. Who