The following program builds and runs under 4.7-STABLE:
#include <iostream>
int main()
{
cout<<"Hello World\n";
}
... but under 5.0-CURRENT it gives me the following errors:
cwtest$ g++ -o foo foo.cc
foo.cc: In function `int main()':
foo.cc:5: `cout' undeclared (first use this function)
foo.cc:5: (Each undeclared identifier is reported only once for each
function
it appears in.)
does the problem still occur if you add in 'using namespace std'?
-garrett
--
garrett rooney Remember, any design flaw you're
[EMAIL PROTECTED] sufficiently snide about becomes
http://electricjellyfish.net/ a feature. -- Dan Sugalski
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message