On Mon, 28 May 2007 15:05:39 +0200 Christian Buhtz <[EMAIL PROTECTED]> wrote:

CB> Ok there some problems
CB> 
CB> 1.
CB> Look at include\Mcclient.h at line 25
CB> There is an include of <osdep.h>. It is nowhere on my system. There is 
CB> just lib\imap\src\osdep. What is it and how should I handle it?

 The file osdep.h is generated during c-client build. Unfortunately I don't
think c-client supports mingw32 under Windows so you'll have to add support
for building it too. Look at lib/imap/imap.vcproj for what I had to do to
build it with VC7.

CB> 2.
CB> Look at mail.h at line 933 and 934
CB> There are the words or and not. My MinGW gcc interpret it as '||' and 
CB> '!'. I am looking in another forum how to handle it.
CB> Which compiler do you use on Linux?

 g++ of course. See my other reply for this problem.

CB> I am against using a plattform specific compiler like MSVC for a 
CB> plattform-independent application. That is why I do not use MSVC (I 
CB> could add it to Code::Blocks).
CB> Using gcc is a good why I think. It runs on Windows, Unix and Mac(?).

 Yes, and I love g++ too but under Windows MSVC has too many advantages
(faster compilation, better generated code and, especially, much better
debugger) to not use it.

CB> 3.
CB> Look at src\classes\MApplication.cpp
CB> There are some calls of CreateFile, SendMessage, etc
CB> They are mapped to CreateFileA, SendMessageA, etcA. I see you included 
CB> <wx/msw/winundef.h>. But it has no effect.

 It doesn't undefine CreateFile nor SendMessage so it won't help. However
there are already #undef directives for them in the code, just inside
__WINE__ test -- all you have to do is to add test for __GNUC__ there.

CB> I had this problems on my own project "blackfisk", too.

 FWIW it's a mingw32 problem, it includes windows.h from unexpected places.

CB> 4a.
CB> MApplication.cpp
CB> There is a call of env_parameters and my compiler say it is not 
CB> declared. In shortsym.h at line 74 it is defined as e_parm.
CB> I can not found it anywhere.
CB> 
CB> 4b.
CB> It is the same with sysinbox(). It is not declared. I found it in some 
CB> headers osdep\nt\env_nt.h, osdep\unix\env_unix.h, etc.
CB> 
CB> 4c.
CB> And there is call of undeclared myusername_full()

 All of those are probably in osdep.h. So you need to build c-client first.

 Good luck!
VZ



-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Mahogany-Developers mailing list
Mahogany-Developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mahogany-developers

Reply via email to