On Mon, 24 Mar 2003 02:09:37 +0200 (EET) Nerijus Baliunas <[EMAIL PROTECTED]> wrote:
NB> Now I'm struggling with SendMessage...
...and it is much worse. Is it possible to undef it in winundef.h (probably not)?
MModule.h includes MInterface.h, which includes SendMessage.h. I tried
to undef SendMessage in MModule.h, then in MInterface.h, but then
SendMessageCC.cpp doesn't compile, as SendMessage is undefined there
also. Trying to find where... well, found - #include <wx/fontmap.h>
should be moved before #include "SendMessage.h".
(Later) OK, this is solved. Now everything compiles and almost links.
I include remaining warnings (the ones left with ERROR are harmless
IMHO) and link error:
.src/gui/wxFolderTree.cpp: In method `bool wxFolderTreeImpl::MSWOnNotify(int, lo
ng int, WXLPARAM *)':
.src/gui/wxFolderTree.cpp:3147: warning: comparison between signed and unsigned
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 /cygdrive/e/M/M/include/Mpch.h:14,
from .src/gui/wxlwindow.cpp:27:
/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 previ
ous 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/SendMessageCC.cpp:49:
/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/msw/private.h:21,
from /usr/local/wxWindows.gcc2/include/wx/dynload.h:38,
from /usr/local/wxWindows.gcc2/include/wx/dynlib.h:23,
from .src/util/ssl.cpp:37:
/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
classes/XFace.o(.text+0x8ba):XFace.cpp: undefined reference to `wxIconManager::L
oadImage(wxString, bool *, bool)'
classes/XFace.o(.text+0xec0):XFace.cpp: undefined reference to `wxIconManager::L
oadImage(wxString, bool *, bool)'
collect2: ld returned 1 exit status
Regards,
Nerijus
P.S. I still didn't do anything with OS_TYPE.
-------------------------------------------------------
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