delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/07/08/12:07:52

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <20020708160733.91771.qmail@web21006.mail.yahoo.com>
Date: Mon, 8 Jul 2002 09:07:33 -0700 (PDT)
From: Nicholas Wourms <nwourms AT yahoo DOT com>
Subject: Re: Available for test: gcc-3.1.1-1, gcc2-2.95.3-6, and gcc-mingw-3_1-20020516-1
To: Charles Wilson <cwilson AT ece DOT gatech DOT edu>, cygwin AT cygwin DOT com
In-Reply-To: <3D29AFD6.4050304@ece.gatech.edu>
MIME-Version: 1.0

--- Charles Wilson <cwilson AT ece DOT gatech DOT edu> wrote:
> 
> 
> Christopher Faylor wrote:
> 
> > I don't see exactly the same errors.  I can't even compile your stuff
> > with g++.  :-( It appears to be due to
> --enable-version-specific-runtime-libs,
> > AFAICT.
> 
> 
> Right -- I had to change #include <iostream.h> to <iostream>, etc.  I'm 
> not real familiar with the source-level changes that gcc-3.x *forces* 
> onto people -- but I'm not real happy about them.  The price of 
> progress, I suppose.
> 
> Does anybody know of a good reference, along the lines of "What changed 
> in g++ between gcc-2.95.3 and gcc-3.x"?  I'm not talking about the 
> innards of gcc; but rather, user-visible changes that force me to change
> 
> my perfectly good 2.95.3 C++ code so that it'll compile with g++ 3.x.
> 
> --Chuck

The changes are not to gcc, but to libstdc++.  #include <foo.h>, from what
I gather, is a non-standard relic of libstdc++ v2.  Apparently in v3, they
discourage this behavior.. (but it should just spit out a warning, not
fail to compile).  FWIW, you might want to check out:

http://gcc.gnu.org/onlinedocs/libstdc++/17_intro/howto.html
^---This is where your <foo> vs. <foo.h> is discussed
http://gcc.gnu.org/onlinedocs/libstdc++/faq/

Not being a c++ person myself, I found a lot of useful information there
that I didn't know.  Hope that helps!

Cheers,
Nicholas

__________________________________________________
Do You Yahoo!?
Sign up for SBC Yahoo! Dial - First Month Free
http://sbc.yahoo.com

--
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