[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: Re: kdemultimedia/mpeglib/lib/util/render/dither2YUV
From: Andy Fawcett <andy () athame ! co ! uk>
Date: 2003-08-25 14:00:45
[Download RAW message or body]
Hi Adrian,
On Monday 25 August 2003 16:17, Adrian Schroeter wrote:
> 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
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.
Andy
--
Andy Fawcett | andy@athame.co.uk
| tap@kde.org
"In an open world without walls and fences, | tap@lspace.org
we wouldn't need Windows and Gates." -- anon | tap@fruitsalad.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic