[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 13:05:03
[Download RAW message or body]
Hi Adrian,
The following commit broke things on FreeBSD, gcc 3.2.1
On Monday 25 August 2003 09:34, Adrian Schroeter wrote:
> CVS commit by adrian:
>
> fix compiler with gcc 3.3.1 and later. It optimise too much and drop
> "unused" symbols, which are only used in asm calls.
>
>
> M +19 -11 rgb2yuvdefs.h 1.2
>
>
> --- kdemultimedia/mpeglib/lib/util/render/dither2YUV/rgb2yuvdefs.h
> #1.1:1.2 @@ -19,4 +19,12 @@
> #define __RGB2YUVDEFS_H
>
> +/* gcc 3.3.1 and later optimise the "not used" (only in asm code)
> + symbols away. So we need to mark them as used. */
> +#if __GNUC_PREREQ (3,1)
In file included from
/mnt/src/HEAD/kdemultimedia/mpeglib/lib/util/render/dither2YUV/rgb2yuv16.h:26,
from
/mnt/src/HEAD/kdemultimedia/mpeglib/lib/util/render/dither2YUV/dither2YUV.h:23,
from
/mnt/src/HEAD/kdemultimedia/mpeglib/lib/util/render/dither2YUV/dither2YUV.cpp:14:
/mnt/src/HEAD/kdemultimedia/mpeglib/lib/util/render/dither2YUV/rgb2yuvdefs.h:23:5:
warning: "__GNUC_PREREQ" is not defined
/mnt/src/HEAD/kdemultimedia/mpeglib/lib/util/render/dither2YUV/rgb2yuvdefs.h:23:19:
missing binary operator before '('
--
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