This is the mail archive of the cygwin-apps@cygwin.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]

gcc/ansi question


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


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