FW: ms_3_3_011-win32
Norman Vine
nhv at cape.com
Tue Sep 26 21:42:11 PDT 2000
Daniel Morissette writes:
Thanks for letting me know that. I'll keep a note of and will try to
fix it if I don't receive a diff from you before.
BTW, your message didn't make it to the list, but some people might be
interested in some of the info that you gave in there.
Ooops... OK I hope this makes it :-)
Norman Vine wrote:
>
> Daniel Morissette writes:
> >
> >Of course Cygwin may not be a bad solution but I can't tell since I
> >haven't used it myself. However I would hate to think that by providing
> >only MSVC++ makefiles we have encouraged the Micro$oft Monopoly... it
> >was really not the intention,
>
> He He :-))
>
> Actually the recent changes for NT support did break the
> mapserver source on Cygwin.
>
> Nothing major but a minor irritant none the less
>
> These mostly come from using _WIN32 to detect
> a windows platform
>
> Cygwin #defines _WIN32 also
> hence I needed to do things such as
>
> #if defined( _WIN32 ) && !defined(unix)
> #include <direct.h>
> #include <memory.h>
> #include <malloc.h>
> #endif
> #else
> #include <unistd.h>
> #endif
>
> to work around this
>
> IMHO
> One is better off when porting things to MSVC to be specific
> #ifdef _MSC_VER
>
> then _WIN32 can be used to determine if the compiler supports
> the WIN32 API and not compiler 'quirks' and non ANSI header files
>
> FWIW MS_VERSION "3.3.010" compiled on Cygwin out of the box
> and doing a few fixes such as above 3.3.011 compiles also
>
> These should be obvious to one trying to compile with Cygwin
> <ie. compiler errors >
>
> If and when I get a few hours I will try to get the CVS sources compiled
> on Cygwin so that I can submit a diff to get Cygwin support back into the
> main distribution.
>
> Norman Vine
--
------------------------------------------------------------
Daniel Morissette danmo at videotron.ca
http://pages.infinit.net/danmo/
------------------------------------------------------------
Don't put for tomorrow what you can do today, because if
you enjoy it today you can do it again tomorrow.
More information about the MapServer-users
mailing list