On Wed, Nov 12, 2014 at 01:55:12PM +0100, Basile Starynkevitch wrote:
> Hello All,
> 
> Some plugins (including MELT, see http://gcc-melt.org/ for more)
> are made of several C++ source files which all include "plugin-version.h"
> because they have some C++ code which depends upon the particular version 
> of GCC.
> 
> So they typically code
> 
>   #if GCCPLUGIN_VERSION >= 4009
>      /* code for GCC 4.9 or newer. */
>   #else 
>      /* code for GCC 4.8 */
>   #endif /*GCCPLUGIN_VERSION*/

Can't you just remember that version in configure of your plugin?

        Jakub

Reply via email to