autoconf-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

osf 4 cc versus _AC_PROG_CC_STDC


From: Kevin Ryde
Subject: osf 4 cc versus _AC_PROG_CC_STDC
Date: Sat, 07 Jun 2003 11:51:00 +1000
User-agent: Gnus/5.090019 (Oort Gnus v0.19) Emacs/21.2 (gnu/linux)

        * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Extend test program to get an
        error from OSF 4.0 Compaq C in its default almost-ANSI mode, so that
        we add -std1.

I'm hoping an expression like

        int osf4_cc_array ['\x00' == 0 ? 1 : -1];

can reasonably be expected to pass on all ansi compilers.  It's
similar to the sizeof probes at least.

Attachment: c.m4.osf4-stdc.diff
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]