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]

Re: PATCH TRUNK: [gcc/configure.ac] Generate GCCPLUGIN_VERSION_* macros


On Wed, Jul 6, 2011 at 10:37, Basile Starynkevitch
<basile@starynkevitch.net> wrote:
> On Wed, Jul 06, 2011 at 04:02:48PM +0200, Richard Guenther wrote:
>> On Wed, Jul 6, 2011 at 3:46 PM, Basile Starynkevitch
>> <basile@starynkevitch.net> wrote:
>> > On Wed, Jul 06, 2011 at 03:21:47PM +0200, Richard Guenther wrote:
>> >> On Wed, Jul 6, 2011 at 2:50 PM, Basile Starynkevitch
>> >> <basile@starynkevitch.net> wrote:
>> >> >
>> >> > I beleive it can help to make plugin code more robust.
>>
>> I'm not sure using cut is portable enough - for bversion.h generation
>> we use sed instead (see Makefile.in), so I suppose copying that
>> would be better.
>>
>> I can't approve the configury changes but the change itself looks
>> reasonable to me
>
> I am attaching an improved patch to trunk rev 175920
>
> #### gcc/ChangeLog entry #####
>
> 2011-07-06 ÂBasile Starynkevitch Â<basile@starynkevitch.net>
>
> Â Â Â Â* configure.ac (plugin-version.h): Generate
> Â Â Â ÂGCCPLUGIN_VERSION_MAJOR, GCCPLUGIN_VERSION_MINOR,
> Â Â Â ÂGCCPLUGIN_VERSION_PATCHLEVEL, GCCPLUGIN_VERSION constant integer
> Â Â Â Âmacros.
>
> Â Â Â Â* configure: Regenerate.
>
> Â Â Â Â* doc/plugins.texi (Building GCC plugins): Mention
> Â Â Â ÂGCCPLUGIN_VERSION ... constant macros in plugin-version.h.

OK.


Diego.


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