This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Binary Bitwise operators with higher precedence.
- From: Joe Buck <Joe dot Buck at synopsys dot COM>
- To: Marcio Afonso Arimura Fialho <maaf at dea dot inpe dot br>
- Cc: gcc at gcc dot gnu dot org
- Date: Fri, 30 Jul 2004 13:24:00 -0700
- Subject: Re: Binary Bitwise operators with higher precedence.
- References: <410A89D9.30408@dea.inpe.br>
On Fri, Jul 30, 2004 at 04:48:09PM -0100, Marcio Afonso Arimura Fialho wrote:
> C/C++ are great languages, but, despite this, they have some
> kudgles and flaws, as would be expected for an old language.
Nevertheless, the goal of the GCC Project is to provide a
standards-conformant compiler, and not to try to redesign the language.
I would not support your proposal to add new operators, as no one with
an interest in writing portable code could use them.
The -Wall option does have several heuristics for detecting uses of & and
| that are likely to be precedence errors.
If you're serious, then you should interact with the language standards
committees and propose possible solutions there.