Bingfeng Mei wrote:
Ian,
Thanks. I tried to follow the examples, but it still doesn't work.
Here is the related code:
in target-c.c:
extern GTY(()) tree pragma_ghs_sections[GHS_SECTION_COUNT];
Perhaps you need to make sure that target-c.c is processed by gengtype, and that it does include the generated
gt-target-c.h file.
Regards.
--
Basile STARYNKEVITCH http://starynkevitch.net/Basile/
email: basile<at>starynkevitch<dot>net mobile: +33 6 8501 2359
8, rue de la Faiencerie, 92340 Bourg La Reine, France
*** opinions {are only mines, sont seulement les miennes} ***