delorie.com/archives/browse.cgi | search |
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: | <mailto:cygwin-apps-subscribe AT sources DOT redhat DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin-apps/> |
List-Post: | <mailto:cygwin-apps AT sources DOT redhat DOT com> |
List-Help: | <mailto:cygwin-apps-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/lists.html#faqs> |
Delivered-To: | mailing list cygwin-apps AT sources DOT redhat DOT com |
Date: | Tue, 1 May 2001 23:18:14 -0400 |
From: | Christopher Faylor <cgf AT redhat DOT com> |
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 |
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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |