This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: B19.1: Parse errors in socket.h


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".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]