This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: __op ? with gcc/egcs
- To: alain at qnx dot com
- Subject: Re: __op ? with gcc/egcs
- From: Martin von Loewis <martin at mira dot isdn dot cs dot tu-berlin dot de>
- Date: Wed, 24 Jun 1998 07:33:54 +0200
- CC: egcs at cygnus dot com
- References: <199806232101.RAA03930@qnx.com>
> Did I missed something obvious ?
The obvious thing you miss that all names starting with two underscores,
or with one underscore followed by an uppercase letter, are reserved for
the implementation (i.e. compiler/libraries).
> Is ``__op'', a reserved word with egcs/g++ ?
The not-so-obvious thing is that g++ indeed reserves __op, and a
number of other names, to represent operator functions internally.
For example, you get a similar message with __pl.
I'm sure this restriction can be removed. I'm not so sure whether it
is worth the effort.
Hope this helps,
Martin