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: Marcio Afonso Arimura Fialho <maaf at dea dot inpe dot br>
- To: gcc at gcc dot gnu dot org
- Date: Fri, 30 Jul 2004 18:21:55 -0100
- Subject: Re: Binary Bitwise operators with higher precedence.
Note:Revised e-mail.
Joe Buck wrote:
>
>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.
>
Ok. But why not to add this as an extension perhaps?
>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.
>
I'm serious. I would like to interact with language standards committees
to find ways to improve the language, but first, I would like to
interact with developers, eg. GCC users and developers to see what do
they think about my proposals, and how could they could be improved.
The roadmap I'm thinking to follow is as follows:
1. Discuss the good and bad points of possible modifications with
other developers, to gather new ideas and improve proposed
modifications. To see if they are really needed.
2. Implement a personalized version of GCC with the proposed
modifications (if any).
3. Try it out for about one month.
4. If the proposed modification indeed seems to be a good
contribution, and don't cause too much undesired side effects, then it
would be submitted as a proposal to some standardization organization
(eg. ANSI or ISO).