tech-toolchain archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

re: libgmp: duplicate symbol



> In article <50CB48C4.10503%gmx.de@localhost>,
> Christoph Egger  <Christoph_Egger%gmx.de@localhost> wrote:
> >On 14.12.12 14:46, David Laight wrote:
> >
> >> On Fri, Dec 14, 2012 at 11:11:16AM +0100, Christoph Egger wrote:
> >>>> On Thu, Dec 13, 2012 at 09:42:29PM +0100, Christoph Egger wrote:
> >>>>> Do you think upstream would accept this?
> >>>>
> >>>> Ask them?
> >> ...
> >>>   #ifdef __GNUC__
> >>> -#if (defined __GNUC_STDC_INLINE__) || (__GNUC__ == 4&&  __GNUC_MINOR__ 
> >>> == 2)
> >>> +#if (defined __GNUC_STDC_INLINE__) || \
> >>> +    (__GNUC__ == 4&&  __GNUC_MINOR__>= 2) || (__GNUC__>  4)
> >>
> >> Isn't there a define that is (__GNUC__ * 1000 + __GNUC_MINOR__) ?
> >> or similar - for those sorts of checks.
> 
> __GNUC_PREREQ__(M, m)

this isn't useful for 3rd party code.


.mrg.


Home | Main Index | Thread Index | Old Index