It seems for cygwin both OS_UNIX and OS_WIN are defined: In file included from /cygdrive/e/M/M/include/Mpch.h:14, from .src/gui/wxllist.cpp:34: /cygdrive/e/M/M/include/Mconfig.h:49: warning: `OS_TYPE' redefined /cygdrive/e/M/M/include/Mconfig.h:30: warning: this is the location of the previous definition
Should I define OS_WIN only or deal with it on a case by case basis? Other warnings and error: In file included from /cygdrive/e/M/M/include/Mcclient.h:24, from .src/gui/wxMApp.cpp:36: /cygdrive/e/M/M.build.cygwin.295/extra/src/c-client/mail.h:425: warning: `ERROR' redefined /usr/include/w32api/wingdi.h:299: warning: this is the location of the previous definition In file included from /usr/include/w32api/windows.h:52, from /usr/local/wxWindows.gcc2/include/wx/app.h:558, from /cygdrive/e/M/M/include/gui/wxMApp.h:19, from .src/gui/wxWizards.cpp:44: /usr/include/w32api/wingdi.h:299: warning: `ERROR' redefined /cygdrive/e/M/M.build.cygwin.295/extra/src/c-client/mail.h:425: warning: this is the location of the previous definition In file included from /usr/include/w32api/windows.h:52, from /usr/local/wxWindows.gcc2/include/wx/fontutil.h:30, from /usr/local/wxWindows.gcc2/include/wx/fontmap.h:28, from .src/mail/MailFolderCC.cpp:73: /usr/include/w32api/wingdi.h:299: warning: `ERROR' redefined .src/mail/MailFolderCC.cpp:389: parse error before `{' .src/mail/MailFolderCC.cpp:392: parse error at null character .src/mail/MailFolderCC.cpp:392: ANSI C++ forbids declaration `ms_connCloseTimer' with no type .src/mail/MailFolderCC.cpp:395: `friend' can only be specified inside a class .src/mail/MailFolderCC.cpp:396: parse error before `}' Regards, Nerijus ------------------------------------------------------- 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