Re: gcc-3.2.1 and c++ headers

2003-02-08 Thread Steve Kargl
On Sat, Feb 08, 2003 at 04:55:07PM -0500, Brent Verner wrote: > [2003-02-08 16:19] Matthew Emmerton said: > | It compiled on -CURRENT and -STABLE using this: > | > | #include > | > | You've got #include in your example below. > > Deleting /usr/include/g++ and making installworld, fixes my > "

Re: gcc-3.2.1 and c++ headers

2003-02-08 Thread Brent Verner
[2003-02-08 16:19] Matthew Emmerton said: | It compiled on -CURRENT and -STABLE using this: | | #include | | You've got #include in your example below. Deleting /usr/include/g++ and making installworld, fixes my "problem". The compiler now gives the expected behavior; it compiles the code w

Re: gcc-3.2.1 and c++ headers

2003-02-08 Thread Matthew Emmerton
s << "out\n"; } // end code - Original Message - From: "Matthew Emmerton" <[EMAIL PROTECTED]> To: "Brent Verner" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Saturday, February 08, 2003 4:19 PM Subject: Re: gcc-3.2.1 and c++ headers

Re: gcc-3.2.1 and c++ headers

2003-02-08 Thread Matthew Emmerton
Saturday, February 08, 2003 4:15 PM Subject: Re: gcc-3.2.1 and c++ headers > [2003-02-08 15:56] Matthew Emmerton said: > | Your working example below compiles without error using gcc 2.95.x (FreeBSD > | 4.x) and gcc 3.2.x (FreeBSD 5.x), which is expected since it's compliant > | C

Re: gcc-3.2.1 and c++ headers

2003-02-08 Thread Brent Verner
[2003-02-08 15:56] Matthew Emmerton said: | Your working example below compiles without error using gcc 2.95.x (FreeBSD | 4.x) and gcc 3.2.x (FreeBSD 5.x), which is expected since it's compliant | C++. (See Stroustrup's The C++ Programming Language, section 9.2.2, which | indicates that the proper

Re: gcc-3.2.1 and c++ headers

2003-02-08 Thread Matthew Emmerton
Your working example below compiles without error using gcc 2.95.x (FreeBSD 4.x) and gcc 3.2.x (FreeBSD 5.x), which is expected since it's compliant C++. (See Stroustrup's The C++ Programming Language, section 9.2.2, which indicates that the proper way to include C++ standard library headers such