[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 14:19:13
[Download RAW message or body]

On Monday 25 August 2003 16:00, Andy Fawcett wrote:
> Nope, doesn't work.
>
> The problem seems to be that, although __GNUC__ is defined,
> __GNUC_PREREQ is not known by the system.
>
> I'm no compiler expert, so I have no idea how to find out if this is an
> allowed test.
>
> Please let me know if there's anything else I can do here to help.

this one has really to work ... but it would be anyway interessting, why the 
gcc on freebsd does not know this ...

#ifdef __GNUC_PREREQ
#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   (2040 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