This is the mail archive of the gcc-prs@gcc.gnu.org mailing list for the GCC project.


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

Re: c++/1602


The following reply was made to PR c++/1602; it has been noted by GNATS.

From: Oleg Trott <ot14@columbia.edu>
To: Craig Rodrigues <rodrigc@mediaone.net>
Cc: gcc-gnats@gcc.gnu.org, nobody@gcc.gnu.org
Subject: Re: c++/1602
Date: Sat, 17 Feb 2001 19:03:44 -0500 (EST)

 On Sat, 17 Feb 2001, Craig Rodrigues wrote:
 
 > On Sat, Feb 17, 2001 at 06:46:59PM -0500, Craig Rodrigues wrote:
 > > http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=1602&database=gcc
 > > 
 > > Don't know the workaround yet.
 > 
 > 
 > OK, I compiled the following test case with -pedantic:
 > 
 > #include <complex>
 > int main(void){ return 0; }
 > 
 > This compiled fine with no warnings/errors with:
 > gcc version 2.97 20010211 (experimental) 
 > from: http://www.codesourcery.com/gcc-snapshots/
 > 
 > This looks like a bug which has been fixed.
 > Should this report be closed?
 
 Frankly, I don't have gcc >= 2.96 around and I can't find my original bug
 report. Just to make sure, since "complex" is a template, would you like
 to compile something like
 
 include <complex>
 int main()
 {
 	std::complex<double> c;
 	return 0;
 }
 
 with  "-pedantic" switch?
 
 Thanks
 
 
 Oleg Trott                             http://www.columbia.edu/~ot14/
                                        email: ot14@columbia.edu
 Ph.D. Candidate                 
 Columbia University                    phone: (212) 305-0257 (work)
 Palmer Lab (NMR)                       fax  : (212) 305-6949 (work) 
 
 
 


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