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]

gcc version against which a plugin is compiled - documentation?


Hello All,

Perhaps the plugin documentation, i.e. http://gcc.gnu.org/onlinedocs/gccint/Plugins.html#Plugins should say in section 23.2.2 plugin initialization something like

When compiling a plugin, the version of the GCC API for which the plugin is compiled is available numerically in header file bversion.h thru BUILDING_GCC_MAJOR BUILDING_GCC_MINOR BUILDING_GCC_VERSION macro and as string information in header file plugin-version.h

My English is bad, and the details might be wrong or missing, so I am not proposing a patch to plugins.texi yet.

But I feel such hints should appear in the documentation.

Comments are welcome.

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} ***


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