On 7 Feb 2001, Lars Gullik Bjønnes wrote:
> John Levon <[EMAIL PROTECTED]> writes:
>
> | someone running RH7.0, can you please test this code :
> |
> | #if defined(xor)
> | #endif
> |
> |
> | compile it with :
> |
> | g++ -fno-operator-names file.c
> |
> | and report on results ?
>
> [larsbj@localhost test]$ g++ xor.C
> xor.C:1:13: "defined" without an identifier
> [larsbj@localhost test]$
>
> [larsbj@localhost test]$ g++ -fno-operator-names xor.C
> xor.C:1:12: missing binary operator before '('
> [larsbj@localhost test]$
>
> Lgb
This is 2.96-69 right ? In 54, -fno-operator-names gives the first case.
Either way, RedHat users are screwed.
The second is fine on codesourcery, it is time for me to hit RedHat
bugzilla I think, and add -fno-operator-names to the KDE frontend.
thanks
john
--
"IBM's decision to choose the Intel 80x86 processor over
the Motorola 680x0 probably set the personal computer
industry back 10 years."
- Brian Marsden