delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/02/09/10:25:49

From: Charles Krug <charles AT mail DOT pentek DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: using namespace std;
Date: Tue, 09 Feb 1999 10:00:19 -0500
Organization: Pentek Corporation
Lines: 22
Message-ID: <36C04D83.3414B099@mail.pentek.com>
References: <79oav0$414 AT bgtnsc02 DOT worldnet DOT att DOT net>
NNTP-Posting-Host: mail.pentek.com
Mime-Version: 1.0
X-Mailer: Mozilla 4.5 [en] (WinNT; U)
X-Accept-Language: en
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Camilo wrote:

> Hi,
>
>  I use djgpp to check my code for ANSI C++ compliance. However "using
> namespaces" does not apparently work. Am I right?

djgpp is a port of the GNU c++ compiler.  Since gcc and c++ didn't
support namespaces at version 2.81, neither does djgpp using gcc/gxx
2.81.

There is a GNU version out there called egcs(sp?) that does support
namespaces, but my understanding is that it's still pretty embryonic.  My
information may be out of date, however.

My quick search of the FAQ and the info for "namespace"  came up dry.
But I'm certain that if it's in the docs, Eli knows precisely where it
is.


Charles

- Raw text -


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