delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/09/17/00:31:49

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <3BA57D88.568C767D@goingware.com>
Date: Mon, 17 Sep 2001 00:35:20 -0400
From: "Michael D. Crawford" <crawford AT goingware DOT com>
Organization: GoingWare Inc. - Expert Software Development and Consulting
X-Mailer: Mozilla 4.75 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: DirectX Frustrations

> Oddly, when I compile using visual C rather than GCC, there are no warnings.
> (I normaly treat warnings as errors) The warnings that GCC are displaying
> are curious -- they seem like things that VisualC should have picked up.
> This will all be fixed probably within the next few days.

It is very worthwhile to compile code with multiple compilers for this specific
reason.  Especially with C++, where no one quite conforms to the ISO standard,
compiling with multiple compilers will pick up an error in one compiler that
another compiler passes.

If you write some wrong code but your compiler says it's OK, chances are pretty
good that's it's not doing what you really desire.

Unfortunately, programming to multiple compilers also means you have to avoid
what breaks all of the compilers.  Visual C++ just drives me around the bend, I
write all kinds of stuff that I'm sure is legit in G++ and Metrowerks
CodeWarrior but Visual C++ won't accept it.

I'm just about to try again to get ZooLib to build under CygWin
(http://zoolib.sourceforge.net).

Mike
-- 
Michael D. Crawford
GoingWare Inc. - Expert Software Development and Consulting
http://www.goingware.com
crawford AT goingware DOT com

  Tilting at Windmills for a Better Tomorrow.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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