Mail Archives: djgpp/1998/08/30/12:30:44
Klywarre (The Avatar) wrote:
>
> Endlisnis wrote:
> >
> > Iztok Polanic wrote:
> > > Hello !!!
> > > I've bought myself a book called Beginning C++ ANSI/ISO Compliant by Ivor
> > > Horton. But the example doesn't want to compile. I always receive this
> > > error:
> > > --------------
> > > 2.6A.cpp:3: warning: namespaces are mostly broken in this version of g++
> > This warning should be VERY self-explaining. Name spaces don't work properly
> > in DJGPP yet.
> It doesn't!
> The other night I downloaded the electronic version of Thinking In
> C++, in the first example reguarding 'iostream' is the following code
> that I typed in and 'compiled' fined "with no" errors!!
> And this compiled with no errors - so how can you say DJGPP doesn't
> handle 'namespace' correctly. My version is 2.8.1
Just because one program that uses namespaces works, doesn't mean that
namespaces work in general. The warning says that namespaces are 'mostly'
broken. That means that in some simple cases, they will work.
--
(\/) Endlisnis (\/)
s257m AT unb DOT ca
Endlisnis AT GeoCities DOT com
Endlis AT nbnet DOT nb DOT ca
- Raw text -