www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/10/24/14:06:44

Message-ID: <39F5CF75.EE13D500@softhome.net>
Date: Tue, 24 Oct 2000 20:05:41 +0200
From: Laurynas Biveinis <lauras AT softhome DOT net>
X-Mailer: Mozilla 4.75 [en] (Win98; U)
X-Accept-Language: lt,en
MIME-Version: 1.0
To: djgpp AT delorie DOT com
Subject: Re: Internal compiler error - not covered by the FAQ
References: <8t3lg2$o6t$1 AT nnrp1 DOT deja DOT com>
Reply-To: djgpp AT delorie DOT com

Rudolf Polzer wrote:
> And, as I discovered, DJGPP puts all standard library names into the
> global namespace, and recompiling in standard-compliant compilers
> fails. 
> Is there a trick to always include the namespace std (or even
> better: to allow a std:: before an identifier causing no harm in DJGPP)?

Yes, you can use 'using namespace std;' and get the same result under
G++ and other recent compilers. In upcoming GCC 3.0 standard library
names will be put in std namespace.

Laurynas

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019