[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: kdelibs-3.0beta2 on IRIX
From: Albert Chin <kde-devel () thewrittenword ! com>
Date: 2002-02-16 2:54:11
[Download RAW message or body]
On Thu, Feb 14, 2002 at 02:35:33PM +0100, Malte Starostik wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Am Donnerstag, 14. Februar 2002 03:10:03 schrieb Jesse Barnes:
> > o configure.in: HAVE_X86_SSE erroneously detected <-- I don't know how
> > to fix this one, so there's no fix in the patch
> Weird:
> AC_TRY_COMPILE(,
> [
> #if defined(__GNUC__) && defined(__i386__)
> __asm__("movups %xmm0, (%esp)");
> #else
> #error Not gcc on x86
> #endif
> ],
> ac_cv_x86_sse=yes,
> ac_cv_x86_sse=no)
> ])
>
> Looks correct to me, any idea why it gets defined for you?
> .oO(Well, I can check myself infact)
> Grrrr, IRIX's cc treats #error as a warning:
>
> [starosti@Komma] 27 (~): cc -o test test.c
> cc-1035 cc: WARNING File = test.c, Line = 5
> #error directive: Not gcc on x86
>
> #error Not gcc on x86
> ^
>
> [starosti@Komma] 28 (~): echo $?
> 0
>
>
> Would anyone know how to work around this?
Just replace '#error' with 'error'. This is the workaround we used for
KDE 2.2.2 on IRIX.
--
albert chin (china@thewrittenword.com)
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic