This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug preprocessor/12847] New: xxx.c:1:20: stdint.h: No such file or directory
- From: "danglin at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Oct 2003 20:20:07 -0000
- Subject: [Bug preprocessor/12847] New: xxx.c:1:20: stdint.h: No such file or directory
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12847
Summary: xxx.c:1:20: stdint.h: No such file or directory
Product: gcc
Version: 3.4
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: preprocessor
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: danglin at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: hppa2.0w-hp-hpux11.00
GCC host triplet: hppa2.0w-hp-hpux11.00
GCC target triplet: hppa2.0w-hp-hpux11.00
# cat xxx.c
#include <stdint.h>
# ./xgcc -B./ -E xxx.c
# 1 "<built-in>"
# 1 "<command line>"
# 1 "xxx.c"
xxx.c:1:20: stdint.h: No such file or directory
# echo $?
0
stdint.h doesn't exist on hppa2.0-hp-hpux11.00. The message is correct
but the exit value for gcc is wrong. Adding "-Werror" doesn't affect the
exit value.
This causes configure checks in libiberty and libstdc++-v3 to break. For
example,
configure:5490: checking for stdint.h
configure:5507: /xxx/gnu/gcc-3.3/objdir/gcc/xgcc -B/xxx/gnu/gcc-3.3/objdir/gcc/
-B/opt/gnu/hppa2.0w-hp-hpux11.00/bin/ -B/opt/gnu/hppa2.0w-hp-hpux11.00/lib/ -isy
stem /opt/gnu/hppa2.0w-hp-hpux11.00/include -isystem /opt/gnu/hppa2.0w-hp-hpux11
.00/sys-include -c -O2 -g -O2 -O2 -g -O2 conftest.c >&5
configure:5551:20: stdint.h: No such file or directory
configure:5510: $? = 0
configure:5513: test -s conftest.o
configure:5516: $? = 0
configure:5527: result: yes
The result is numerous regression in the g++ testsuite because stdint.h
gets included by the v3 headers.