[Ecls-list] Problem compiling latest CVS with mingw/MSYS under Windows.
John Connors
johnc at yagc.ndo.co.uk
Thu Jan 20 03:21:16 UTC 2005
It`s possible that you should consider using #ifdef WIN32 when including
win32 api relevant features used by both mingw and vc to be able to
#include <windows.h> and <winsock.h> and the like, and _MSC_VER only for
visual-C/C++ compiler related things (extended compiler keywords,
workarounds for GNU-isms..I can't see why tcp.d would work only for
Visual C/C++..
Cyborg Animation Programmer
http://yagc.blogspot.com
http://badbyteblues.blogspot.com
John Connors wrote:
> There are similar problems with ecls/src/tcp.d - the #if _MSC_VER
> seemingly needs to be #if defined(_MSC_VER) || defined(mingw)..
>
>
> Cyborg Animation Programmer
> http://yagc.blogspot.com
> http://badbyteblues.blogspot.com
>
>
>
> Goffioul Michael wrote:
>
>>> ecls/src/error.d #inlcudes the windows header when compiled with MSVC
>>> but appears to need it for mingw as well as FEwin32_error uses win32
>>> API functions and is #ifdefe'd in for mingw and MSVC.
>>>
>>> I'm not sure if it's correct to inlcude windows.h for mingw here, but
>>> that's my temporary fix.
>>
>>
>>
>> An error of mine. Fixed.
>>
>> Michael.
>> N�zf��+,��좷�o ^j�az�,�
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
> Tool for open source databases. Create drag-&-drop reports. Save time
> by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
> Download a FREE copy at http://www.intelliview.com/go/osdn_nl
> _______________________________________________
> Ecls-list mailing list
> Ecls-list at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/ecls-list
>
>
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.7.0 - Release Date: 17/01/2005
More information about the ecl-devel
mailing list