[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Tru64 cc fails to fail upon bad define
From: |
Eric Blake |
Subject: |
Re: Tru64 cc fails to fail upon bad define |
Date: |
Wed, 23 Jun 2010 07:05:59 -0600 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100430 Fedora/3.0.4-3.fc13 Lightning/1.0b2pre Mnenhy/0.8.2 Thunderbird/3.0.4 |
On 06/20/2010 11:37 AM, Ralf Wildenhues wrote:
> * Ralf Wildenhues wrote on Sat, Jun 19, 2010 at 05:50:32PM CEST:
>> On Tru64/OSF 5.1D, the vendor compiler preprocessor doesn't choke upon a
>> bad macro name, leading to a testsuite failure:
>
> Here's a better patch that doesn't regress with Solaris cc. OK?
>
> Thanks,
> Ralf
>
> Fix testsuite failure with Tru64 preprocessor.
>
> * tests/compile.at (Order of user actions and cleanup): Add
> incomplete comment to provoke failure with Tru64/OSF 5.1 cc
> preprocessor.
>
> diff --git a/tests/compile.at b/tests/compile.at
> index 129f3c6..b26d810 100644
> --- a/tests/compile.at
> +++ b/tests/compile.at
> @@ -297,7 +297,7 @@ AC_PROG_CC
> AC_PREPROC_IFELSE([AC_LANG_PROGRAM([int ok;], [])],
> [test -f conftest.err || AS_EXIT([1])],
> [AS_EXIT([1])])
> -AC_PREPROC_IFELSE([AC_LANG_PROGRAM([#define 12 34], [])],
> +AC_PREPROC_IFELSE([AC_LANG_PROGRAM([#define 12 34 /*], [])],
Yes, please push.
--
Eric Blake address@hidden +1-801-349-2682
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature