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

2011-07-06 Thread Diego Novillo
On Wed, Jul 6, 2011 at 10:37, Basile Starynkevitch 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 >> wrote: >> > On Wed, Jul 06, 2011 at 03:21:47PM +0200, Richard Guenther wrote: >> >> On Wed, Jul 6, 2011 at 2:50

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

2011-07-06 Thread Basile Starynkevitch
On Wed, Jul 06, 2011 at 04:02:48PM +0200, Richard Guenther wrote: > On Wed, Jul 6, 2011 at 3:46 PM, Basile Starynkevitch > 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 > >> wrote: > >> > > >> > I beleive it

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

2011-07-06 Thread Richard Guenther
On Wed, Jul 6, 2011 at 3:46 PM, Basile Starynkevitch 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 >> wrote: >> > >> > I belive it can help to make plugin code more robust. A serious plugin >> > developper could

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

2011-07-06 Thread Basile Starynkevitch
On Wed, Jul 06, 2011 at 03:21:47PM +0200, Richard Guenther wrote: > On Wed, Jul 6, 2011 at 2:50 PM, Basile Starynkevitch > wrote: > > > > I belive it can help to make plugin code more robust. A serious plugin > > developper could then add in his plugin code something like > > > > #if GCCPLUGIN_VE

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

2011-07-06 Thread Richard Guenther
On Wed, Jul 6, 2011 at 2:50 PM, Basile Starynkevitch wrote: > Hello All, > > The fie plugin-version.h is now generated by gcc/configure.ac. It contains > version information (about the GCC supposed to load the plugin compiled with > it) as constant strings. > > But I think it will also help some p