public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug preprocessor/12847] New: xxx.c:1:20: stdint.h: No such file or directory
@ 2003-10-30 20:23 danglin at gcc dot gnu dot org
  2003-10-31  0:59 ` [Bug preprocessor/12847] [3.4 Regression] xxx.c:1:20: xxxx.h: " pinskia at gcc dot gnu dot org
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: danglin at gcc dot gnu dot org @ 2003-10-30 20:23 UTC (permalink / raw)
  To: gcc-bugs

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.


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2003-11-01 23:11 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-30 20:23 [Bug preprocessor/12847] New: xxx.c:1:20: stdint.h: No such file or directory danglin at gcc dot gnu dot org
2003-10-31  0:59 ` [Bug preprocessor/12847] [3.4 Regression] xxx.c:1:20: xxxx.h: " pinskia at gcc dot gnu dot org
2003-10-31 18:20 ` danglin at gcc dot gnu dot org
2003-10-31 18:43 ` danglin at gcc dot gnu dot org
2003-10-31 19:22 ` pinskia at gcc dot gnu dot org
2003-10-31 19:27 ` dave at hiauly1 dot hia dot nrc dot ca
2003-10-31 22:00 ` zack at gcc dot gnu dot org
2003-10-31 22:24 ` dave at hiauly1 dot hia dot nrc dot ca
2003-11-01 22:57 ` cvs-commit at gcc dot gnu dot org
2003-11-01 23:11 ` danglin at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).