This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: __op ? with gcc/egcs


>   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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]