This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH][Ada] Cleanups to make Ada build C++ compatible (part)
- From: Eric Botcazou <ebotcazou at adacore dot com>
- To: Laurent GUERBY <laurent at guerby dot net>
- Cc: gcc-patches at gcc dot gnu dot org, Arnaud Charlet <charlet at adacore dot com>, Ian Lance Taylor <iant at google dot com>
- Date: Sat, 27 Jun 2009 12:00:13 +0200
- Subject: Re: [PATCH][Ada] Cleanups to make Ada build C++ compatible (part)
- References: <1246035380.4922.326.camel@localhost>
> 2009-06-26 Laurent GUERBY <laurent@guerby.net>
>
> * tb-gcc.c (trace_callback): Use char* instead of void*.
> * gcc-interface/misc.c (enumerate_modes): Make loop compatible
> with C++.
> * gcc-interface/trans.c (parm_attr): Rename to parm_attr_d.
> Change all uses.
> * gcc-interface/utils.c (new, class, template): Rename to be
> compatible with C++. Change all uses.
> * gcc-interface/decl.c (new): Likewise.
Thanks. Some lines are too long (column #80 must be empty) and the ChangeLog
must mention the functions being changed. I'd suggest tweaking your svn diff
command to make the function names visible in the diff (that's explained on
the wiki).
* tb-gcc.c (trace_callback): Use char* instead of void*.
* gcc-interface/misc.c (enumerate_modes): Make loop C++ compatible.
* gcc-interface/trans.c (parm_attr): Rename to parm_attr_d.
(Attribute_to_gnu): Adjust for above change.
(Subprogram_Body_to_gnu): Likewise.
* gcc-interface/utils.c (merge_sizes): Rename local variable.
(copy_type): Likewise.
(build_vms_descriptor32): Likewise.
(build_vms_descriptor): Likewise.
(convert_vms_descriptor64): Likewise.
(convert_vms_descriptor32): Likewise.
(convert_to_fat_pointer): Likewise.
(maybe_unconstrained_array): Likewise.
* gcc-interface/decl.c (substitute_in_type): Likewise.
--
Eric Botcazou