gcc/ansi question

Christopher Faylor cgf@redhat.com
Tue May 1 20:17:00 GMT 2001


It has been pointed out to me that I shouldn't be doing -Dunix when
using the -ansi switch with gcc because the compiler should only define
things which begin with an underscore.  I can fix this easily.

Does anyone know how MSVC handles the WIN32 definitions?  Is there an
equivalent switch for Windows which disables the definition of WIN32?
My MSVC installation is currently hosed for some reason so I can't check
this myself.

cgf



More information about the Cygwin-apps mailing list