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
: "Brent Verner" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, February 08, 2003 1:17 PM Subject: gcc-3.2.1 and c++ headers > In trying to compile the most recent native jdk-1.4.1, I noticed > that compiling with the header didn't work. >

gcc-3.2.1 and c++ headers

2003-02-08 Thread Brent Verner
In trying to compile the most recent native jdk-1.4.1, I noticed that compiling with the header didn't work. // ** won't link ** #include // ** works ** // #include // ** works ** // #include // using namespace std; int main(){ return 1; } void xxx (ostream& os) { os << ' '; os << "