[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[RH143852] autoconf AC_CHECK_TYPE() macro generates compiler warnings
From: |
Daniel Reed |
Subject: |
[RH143852] autoconf AC_CHECK_TYPE() macro generates compiler warnings |
Date: |
Tue, 4 Jan 2005 20:14:29 -0500 (EST) |
[From https://bugzilla.redhat.com/beta/show_bug.cgi?id=143852]
Use of the AC_CHECK_TYPE() autoconf macro fails when the compiler
flags contain -Werror due to missing prototypes for longval() and
ulongval().
Version-Release number of selected component (if applicable):
autoconf-2.59-5
How reproducible:
Every time.
Steps to Reproduce:
1. Use AC_CHECK_TYPE(char, 1) in configure.in, or download
libast-0.6.1.tar.gz from http://www.eterm.org/download/ and use that.
2. export CFLAGS='-O0 -g3 -march=pentiumpro -W -Wall
-Wmissing-prototypes -Wmissing-declarations -Wall -Werror -std=c99
-pedantic'
3. ./autogen.sh && make distcheck
Actual results:
checking size of char... configure: error: cannot compute sizeof
(char), 77
See `config.log' for more details.
make: *** [distcheck] Error 1
Expected results:
configure script should complete without errors though "make
distcheck" will fail later on for other reasons.
- [RH143852] autoconf AC_CHECK_TYPE() macro generates compiler warnings,
Daniel Reed <=