
Juergen, Frank,
Below are Libsmi I made to be able to build libsmi with cl msdev windows.
More to come.
Regards,

Yigal Hochberg wrote:
Juergen, Frank,
Below are Libsmi I made to be able to build libsmi with cl msdev windows.
More to come.
I sent Juergen a much smaller set of patches to get libsmi to compile with MSVC8.
I didn't bother getting rid of all the warnings. I did not see any that were likely to casue problems.

Hi Andrew,
So far, with an updated trunk, the compilation in "win" directory fails.
Regards,
Yigal
---- Andrew Hood ajhood@fl.net.au wrote:
Yigal Hochberg wrote:
Juergen, Frank,
Below are Libsmi I made to be able to build libsmi with cl msdev windows.
More to come.
I sent Juergen a much smaller set of patches to get libsmi to compile with MSVC8.
I didn't bother getting rid of all the warnings. I did not see any that were likely to casue problems.
-- There's no point in being grown up if you can't be childish sometimes. -- Dr. Who -- !! This message is brought to you via the `libsmi' mailing list. !! Please do not reply to this message to unsubscribe. To unsubscribe or adjust !! your settings, send a mail message to libsmi-request@ibr.cs.tu-bs.de !! or look at https://mail.ibr.cs.tu-bs.de/mailman/listinfo/libsmi.

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

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

On Mon, Mar 03, 2008 at 10:50:07PM -0500, Yigal Hochberg wrote:
This patch is missing from the current trunk.
Applied the patch.
But it is not enough.
I can only apply patches and I take the freedom to revise them as I see fit. So please, let us know what is still missing - anything in addition to the strtof() thing?
/js

Thanks Juergen, for all the patches you applied. I will verify later this week.
Regards,
Yigal
---- Juergen Schoenwaelder j.schoenwaelder@jacobs-university.de wrote:
On Mon, Mar 03, 2008 at 10:50:07PM -0500, Yigal Hochberg wrote:
This patch is missing from the current trunk.
Applied the patch.
But it is not enough.
I can only apply patches and I take the freedom to revise them as I see fit. So please, let us know what is still missing - anything in addition to the strtof() thing?
/js
-- Juergen Schoenwaelder Jacobs University Bremen gGmbH Phone: +49 421 200 3587 Campus Ring 1, 28759 Bremen, Germany Fax: +49 421 200 3103 http://www.jacobs-university.de/ -- !! This message is brought to you via the `libsmi' mailing list. !! Please do not reply to this message to unsubscribe. To unsubscribe or adjust !! your settings, send a mail message to libsmi-request@ibr.cs.tu-bs.de !! or look at https://mail.ibr.cs.tu-bs.de/mailman/listinfo/libsmi.
participants (3)
-
Andrew Hood
-
Juergen Schoenwaelder
-
Yigal Hochberg