[CLN-list] future GCC 4.3 and modules.h

Ralf Wildenhues Ralf.Wildenhues at gmx.de
Thu Jan 10 20:10:21 CET 2008


Hello Richard,

* Richard B. Kreckel wrote on Sun, Jan 06, 2008 at 03:08:15AM CET:
> +2008-01-06  Ralf Wildenhues  <Ralf.Wildenhues at gmx.de>
> +            Richard B. Kreckel  <kreckel at ginac.de>
> +
> +	Cater to the fact that g++ 4.3 will use a different naming for
> +	the global constructor suffix in shared and static objects.
> +	* m4/c++-constructors.m4 (CL_GLOBAL_CONSTRUCTORS): Add test for
> +	the global constructor suffix, define CL_GLOBAL_CONSTRUCTOR_SUFFIX_PIC
> +	and CL_GLOBAL_CONSTRUCTOR_SUFFIX_NOPIC appropriately.
> +	* include/cln/config.h.in: Provide templates to be filled in by
> +	configure.
> +	* include/cln/modules.h (CL_PROVIDE, CL_REQUIRE): Use
> +	CL_GLOBAL_CONSTRUCTOR_SUFFIX_PIC, CL_GLOBAL_CONSTRUCTOR_SUFFIX_NOPIC.

Isn't this an API change of the library that needs a version bump?

Cheers,
Ralf


More information about the CLN-list mailing list