This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: gcc 3.0 cannot compile pooma
- To: Phil Edwards <pedwards at disaster dot jaj dot com>
- Subject: Re: gcc 3.0 cannot compile pooma
- From: "Zack Weinberg" <zackw at Stanford dot EDU>
- Date: Wed, 6 Jun 2001 17:28:03 -0700
- Cc: Benjamin Kosnik <bkoz at redhat dot com>, Gabriel Dos Reis <gdr at codesourcery dot com>, gcc at gcc dot gnu dot org, libstdc++ at gcc dot gnu dot org
On Wed, Jun 06, 2001 at 06:36:29PM -0400, Phil Edwards wrote:
> On Wed, Jun 06, 2001 at 04:30:04PM -0700, Zack Weinberg wrote:
> > Note3, that if you liked, we could add some kind of namespace support
> > to the preprocessor, which could make life a lot simpler. (E.g.
> > #pragma GCC prefix __foobar_ would tack __foobar_ on the beginning of
> > every macro defined until the next #pragma GCC prefix. This is
> > probably too simple, but you get the idea.)
>
> Heck, that sounds exceptionally useful in itself.
I appreciate that, however, I'm not going to implement anything
without a specification that we would not be ashamed to submit for
standardization. No more underspecified extensions.
It would probably be cleanest to teach the preprocessor about C++'s
namespace and using keywords. The #pragma scheme would be a lot
easier to implement, though. (Either way, I'm not the one to specify
it, I don't know enough C++.)
--
zw I met a traveller from an antique land
Who said: 'Your name is Ozymandias,
king of kings, and I claim my five pounds!'
-- Del Cotter