gengtype & plugins [#define emitted in wrong order]

Gerald Pfeifer gerald@pfeifer.com
Fri Oct 2 21:02:00 GMT 2009


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



More information about the Gcc-patches mailing list