This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: gengtype & plugins [#define emitted in wrong order]
- From: Gerald Pfeifer <gerald at pfeifer dot com>
- To: Basile STARYNKEVITCH <basile at starynkevitch dot net>
- Cc: gcc-patches <gcc-patches at gcc dot gnu dot org>, Rafael Espindola <espindola at google dot com>, Diego Novillo <dnovillo at google dot com>
- Date: Fri, 2 Oct 2009 23:01:56 +0200 (CEST)
- Subject: Re: gengtype & plugins [#define emitted in wrong order]
- References: <4AC3CBF5.9030008@starynkevitch.net> <4AC44702.7050508@starynkevitch.net>
On Thu, 1 Oct 2009, Basile STARYNKEVITCH wrote:
I am also attaching the gcc/ChangeLog entry
2009-10-01 Basile Starynkevitch <basile@starynkevitch.net>
* gengtype.c (write_types): Moved call to write_func_for_structure
into seperate loops to ensure that all the functions are emitted
after their declarations and #define-d macros.
The ChangeLog should only describe what changes, not whay. The latter
you may want to put as comments in the code.
Gerald