Mailing-List: contact cygwin-apps-help AT sourceware DOT cygnus DOT com; run by ezmlm Sender: cygwin-apps-owner AT sourceware DOT cygnus DOT com List-Subscribe: List-Archive: List-Post: List-Help: , Delivered-To: mailing list cygwin-apps AT sources DOT redhat DOT com Date: Tue, 1 May 2001 23:18:14 -0400 From: Christopher Faylor To: cygwin-apps AT cygwin DOT com Subject: gcc/ansi question Message-ID: <20010501231814.A26391@redhat.com> Reply-To: cygwin-apps AT cygwin DOT com Mail-Followup-To: cygwin-apps AT cygwin DOT com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.11i 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