delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/11/06/18:55:59

From: vischne AT ibm DOT net
Subject: Has anyone used the ported c++ on a multi-file project?
6 Nov 1997 18:55:59 -0800 :
Message-ID: <199711062258.WAA152118.cygnus.gnu-win32@out1.ibm.net>
Mime-Version: 1.0
To: gnu-win32 AT cygnus DOT com

I've been working at porting a public-domain Windows news reader to Cygwin 
using Unix makefiles in place of the (uggh!) Microsoft clueless-C
makefiles.  Somewhere in the middle of <sys/sockets.h>, c++ starts to give
error messages that don't happen with gcc.  I. e.,

/usr/lib/gcc-lib/i386-cygwin32\\cygnus-2.7.2-970404\\../../../../i386-cygwin32/include/winsock.h:769:
syntax error before `__attribute__'
/usr/lib/gcc-lib/i386-cygwin32\\cygnus-2.7.2-970404\\../../../../i386-cygwin32/include/winsock.h:773:
syntax error before `__attribute__'

The identical thing happens if I `borrow' <winsock.h> from Borland.  I'm
pretty certain that, if you have a project that calls in <winsock.h> AKA
<sys/sockets.h> and compiles with c++.exe instead of cpp.exe, you'll get
the same error messages.



-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019