From: Paul Eggert Date: Thu, 2 Dec 2004 21:51:06 +0000 (+0000) Subject: * lib/autoconf/functions.m4 (AC_FUNC_MEMCMP): Use "char c = '\200';". X-Git-Tag: AUTOCONF-2.59c~588 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=26fc6c2b61f8e19ad404f129197dc10f690db151;p=thirdparty%2Fautoconf.git * lib/autoconf/functions.m4 (AC_FUNC_MEMCMP): Use "char c = '\200';". --- diff --git a/ChangeLog b/ChangeLog index 7b5907eb6..4d7a226bf 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2004-12-02 Paul Eggert + * lib/autoconf/functions.m4 (AC_FUNC_MEMCMP): Use + "char c = '\200';" rather than "char c = 0x80;" as the + latter doesn't conform to the strict C standard due to + overflow on signed char hosts. + * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Prefer -qlanglvl=extc89 to -qlanglvl=ansi. We don't want to disable extensions.