[PD-dev] comport does not compile on Windows using MSVC or MinGW

Hans-Christoph Steiner hans at eds.org
Sat Dec 3 17:25:29 CET 2005


On Dec 3, 2005, at 7:02 AM, Winfried Ritsch wrote:

> Hello,
>
>> Almost, but not quite.  There is a minor typo on line 332, (#elif
>> instead of #else):
>>
>>
>> ------------------------------------------
>> #ifdef WIN2000
>> 		   0,
>> #elif
>> 		   FILE_FLAG_OVERLAPPED,
>> #endif
>> ------------------------------------------
>>
>>
>> It should be:
>>
>> ------------------------------------------
>> #ifdef WIN2000
>> 		   0,
>> #else
>> 		   FILE_FLAG_OVERLAPPED,
>> #endif
>> ------------------------------------------
>>
> maybe we should remove this since i didnt get any feedback this makes  
> it work
> better on WIN2000 so just use FILE_FLAG_OVERLAPPED. I did this just for
> some people to test if this help, because I couldnt try it myself at  
> the time
> of writing having no Windows machine anymore. Fell free to do so.
>
> Thanx for the rest. If I find a windowsmachine for compilation I will  
> give it
> a try to remve the last Warnings.

It compiles with MinGW, so if you install the MinGW cross-compilation  
environment, you can compile for Windows while using GNU/Linux.

Thanks for fixing it.

.hc

________________________________________________________________________ 
____

                   ¡El pueblo unido jamás será vencido!





More information about the Pd-dev mailing list