[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: maintainer-check fallout: C++ and type checks
From: |
Paul Eggert |
Subject: |
Re: maintainer-check fallout: C++ and type checks |
Date: |
Thu, 09 Mar 2006 14:59:48 -0800 |
User-agent: |
Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux) |
Ralf Wildenhues <address@hidden> writes:
> (actually, rcs-5.7 is >10 years old; its Changelog suggests this code
> to be 15. amazed..)
I wrote that code many years ago, as part of RCS's 'configure'
procedure, before Autoconf even existed.
> * lib/autoconf/c.m4 (AC_PROG_CC_STDC): If we cannot enable C99
> nor C89 mode, set `$ac_cv_prog_cc_stdc' to `no' instead of
> trying to execute the command `no'.
> * lib/autoconf/c.m4 (AC_C_TYPEOF): Use typedef to avoid defining
> a structure inside a cast, for C++ conformance.
> * lib/autoconf/types.m4 (AC_CHECK_ALIGNOF): Likewise.
> Also fix quoting error in `AC_MSG_FAILURE' arguments.
>
>
> * lib/autoconf/types.m4 (_AC_CHECK_TYPE_NEW): Use a typedef to
> allow to pass unnamed structs even in C++.
> (AC_CHECK_SIZEOF): Likewise.
> Also fix quoting error in `AC_MSG_FAILURE' arguments.
> * tests/semantics.at (AC_CHECK_ALIGNOF struct, AC_CHECK_SIZEOF
> struct): New tests for unnamed structs, each both native and
> cross-compiling.
These changes all look good; please install. And thanks again.