[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: Re: kdemultimedia/mpeglib/lib/util/render/dither2YUV
From: Adrian Schroeter <adrian () suse ! de>
Date: 2003-08-25 13:17:58
[Download RAW message or body]
On Monday 25 August 2003 15:13, Adrian Schroeter wrote:
> On Monday 25 August 2003 15:05, Andy Fawcett wrote:
> > Hi Adrian,
> >
> > The following commit broke things on FreeBSD, gcc 3.2.1
>
> uh, shit ... I will look for a different solution ...
>
> /me wonders a bit since it is the same code as in glibc sys/cdefs.h ...
>
> maybe it helps to use
>
> __GNUC_PREREQ (3,3)
>
> , but I have been told this support exists already since gcc 3.1 ...
of course not ...
but does this work for you: ?
#ifdef __GNUC__
#if __GNUC_PREREQ (3,1)
# define __attribute_used__ __attribute__ ((__used__))
#else
# define __attribute_used__
#endif
#else
# define __attribute_used__
#endif
bye
adrian
**********************************************************************
Adrian Schroeter
SuSE AG, Deutschherrnstr. 15-19, 90429 Nuernberg, Germany
email: adrian@suse.de (1947 mails already received today.)
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic