B19.1: Parse errors in socket.h

Michael Weiser michael@weiser.saale-net.de
Sat Sep 26 09:13:00 GMT 1998


Hello Sergey, you wrote:
>> /** THE FOLLOWING ERRORS ARE GENERATED **/
>> 
>> In file included from C:\\CYGNUS\\B19\\H-I386~1\\lib\\gcc-lib\\i386-cygwin32\\2.
>> 7-B19\\../../../../i386-cygwin32/include/windows.h:66,
>>                  from gettime.cpp:2:
>> C:\\CYGNUS\\B19\\H-I386~1\\lib\\gcc-lib\\i386-cygwin32\\2.7-B19\\../../../../i38
>> 6-cygwin32/include/Windows32/Sockets.h:783: parse error before `__attribute__'
>Rename your file - the extension must be .c, but not .C!
But he uses cout and the like. Doesn't he need the C++ compiler then?
-- 
bye, Michael
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".



More information about the Cygwin mailing list