This is the mail archive of the gcc-patches@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]
Other format: [Raw text]

Re: [Ada] Trivial fix for warning in utils.c


    Not true, I checked to see wether void was already used and found:

    void
    end_subprog_body (void)

That's an error.

    Looking in other ada/*.c files both style are used (PARAMS((void)) vs
    (void)).  It would be trivial to move to one or another. Richard,
    should I test and submit a patch moving to one of those style (and
    which one)?

They should all be the K&R way.  Consider such a patch preapproved.

    BTW, do the ada/*.c file use C features not supported by your average
    K&R compiler? (Giving a false sense of K&R'ness makes no good IMHO.)

They are not supposed to.


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