mirror of git://gcc.gnu.org/git/gcc.git
re PR preprocessor/15824 (uchar redefinition warnings in libcpp)
PR preprocessor/15824 * configure.ac: Correct HAVE_UCHAR test to #include <sys/types.h> directly, instead of the non-existant "system.h" and "ansidecl.h". * configure: Regenerate. From-SVN: r91157
This commit is contained in:
parent
e76382b571
commit
f78ce0c2f3
|
@ -1,3 +1,10 @@
|
||||||
|
2004-11-24 Roger Sayle <roger@eyesopen.com>
|
||||||
|
|
||||||
|
PR preprocessor/15824
|
||||||
|
* configure.ac: Correct HAVE_UCHAR test to #include <sys/types.h>
|
||||||
|
directly, instead of the non-existant "system.h" and "ansidecl.h".
|
||||||
|
* configure: Regenerate.
|
||||||
|
|
||||||
2004-11-23 Daniel Jacobowitz <dan@codesourcery.com>
|
2004-11-23 Daniel Jacobowitz <dan@codesourcery.com>
|
||||||
Joseph Myers <joseph@codesourcery.com>
|
Joseph Myers <joseph@codesourcery.com>
|
||||||
|
|
||||||
|
|
|
@ -6149,8 +6149,7 @@ cat confdefs.h >>conftest.$ac_ext
|
||||||
cat >>conftest.$ac_ext <<_ACEOF
|
cat >>conftest.$ac_ext <<_ACEOF
|
||||||
/* end confdefs.h. */
|
/* end confdefs.h. */
|
||||||
|
|
||||||
#include "ansidecl.h"
|
#include <sys/types.h>
|
||||||
#include "system.h"
|
|
||||||
|
|
||||||
int
|
int
|
||||||
main ()
|
main ()
|
||||||
|
|
|
@ -57,8 +57,7 @@ ZW_GNU_GETTEXT_SISTER_DIR
|
||||||
|
|
||||||
AC_CACHE_CHECK(for uchar, gcc_cv_type_uchar,
|
AC_CACHE_CHECK(for uchar, gcc_cv_type_uchar,
|
||||||
[AC_TRY_COMPILE([
|
[AC_TRY_COMPILE([
|
||||||
#include "ansidecl.h"
|
#include <sys/types.h>
|
||||||
#include "system.h"
|
|
||||||
],
|
],
|
||||||
[if ((uchar *)0) return 0;
|
[if ((uchar *)0) return 0;
|
||||||
if (sizeof(uchar)) return 0;],
|
if (sizeof(uchar)) return 0;],
|
||||||
|
|
Loading…
Reference in New Issue