Date: Sat, 30 Nov 2002 18:50:22 -0500 From: Garrett Rooney <rooneg@electricjellyfish.net> To: Cy Schubert - CITS Open Systems Group <Cy.Schubert@uumail.gov.bc.ca> Cc: freebsd-current@freebsd.org Subject: Re: C++ Issue On -CURRENT Message-ID: <7DAE546B-04BE-11D7-9FE8-00039364885A@electricjellyfish.net> In-Reply-To: <200211302348.gAUNm09V012697@cwsys.cwsent.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> 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 rooneg@electricjellyfish.net sufficiently snide about becomes http://electricjellyfish.net/ a feature. -- Dan Sugalski To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7DAE546B-04BE-11D7-9FE8-00039364885A>