On Sun, 23 Mar 2003 05:53:07 +0200 (EET) Nerijus Baliunas <[EMAIL PROTECTED]> wrote:
NB> It seems for cygwin both OS_UNIX and OS_WIN are defined:
This is definitely a problem...
NB> In file included from /cygdrive/e/M/M/include/Mpch.h:14,
NB> from .src/gui/wxllist.cpp:34:
NB> /cygdrive/e/M/M/include/Mconfig.h:49: warning: `OS_TYPE' redefined
NB> /cygdrive/e/M/M/include/Mconfig.h:30: warning: this is the location of the
previous definition
NB>
NB> Should I define OS_WIN only or deal with it on a case by case basis?
I think only OS_UNIX should be defined as Cygwin provides a Unix
compilation environment, not Windows one. OTOH it's not impossible that
some some #ifdef's would become wrong then... So I'm afraid you do need to
look at all cases.
NB> Other warnings and error:
NB>
NB> In file included from /cygdrive/e/M/M/include/Mcclient.h:24,
NB> from .src/gui/wxMApp.cpp:36:
NB> /cygdrive/e/M/M.build.cygwin.295/extra/src/c-client/mail.h:425: warning: `ERROR'
redefined
NB> /usr/include/w32api/wingdi.h:299: warning: this is the location of the previous
definition
Again, <windows.h> is being included from somewhere :-( You probably
should simply add "#undef ERROR" somewhere to suppress this warning.
NB> .src/mail/MailFolderCC.cpp:389: parse error before `{'
Probably missing "#include <wx/timer.h>"?
Good luck!
VZ
-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open!
Get cracking and register here for some mind boggling fun and
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
_______________________________________________
Mahogany-Developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-developers