This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug preprocessor/20348] New: File not included when file with same name is included before
- From: "pepster at users dot sourceforge dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 Mar 2005 13:08:39 -0000
- Subject: [Bug preprocessor/20348] New: File not included when file with same name is included before
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Source submitted as attachment
~/gcc4build/bin/gcc -v -I. -Iinc1 -E t1.cc
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: ../gcc-4.0-20050220/configure --prefix=/home/joseph/gcc4build
--enable-languages=c,c++
Thread model: posix
gcc version 4.0.0 20050220 (experimental)
/home/joseph/gcc4build/libexec/gcc/i686-pc-linux-gnu/4.0.0/cc1plus -E -quiet -v
-I. -Iinc1 -D_GNU_SOURCE t1.cc -mtune=pentiumpro
ignoring nonexistent directory
"/home/joseph/gcc4build/lib/gcc/i686-pc-linux-gnu/4.0.0/../../../../i686-pc-linux-gnu/include"
#include "..." search starts here:
#include <...> search starts here:
.
inc1
/home/joseph/gcc4build/lib/gcc/i686-pc-linux-gnu/4.0.0/../../../../include/c++/4.0.0
/home/joseph/gcc4build/lib/gcc/i686-pc-linux-gnu/4.0.0/../../../../include/c++/4.0.0/i686-pc-linux-gnu
/home/joseph/gcc4build/lib/gcc/i686-pc-linux-gnu/4.0.0/../../../../include/c++/4.0.0/backward
/usr/local/include
/home/joseph/gcc4build/include
/home/joseph/gcc4build/lib/gcc/i686-pc-linux-gnu/4.0.0/include
/usr/include
End of search list.
# 1 "t1.cc"
# 1 "<built-in>"
# 1 "<command line>"
# 1 "t1.cc"
# 1 "inc1/h2.h" 1
# 1 "inc1/h1.h" 1
# 1 "inc1/h2.h" 2
# 2 "t1.cc" 2
# 1 "inc1/h1.h" 1
# 5 "t1.cc" 2
Compilation finished at Mon Mar 7 02:06:36
--
Summary: File not included when file with same name is included
before
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: preprocessor
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: pepster at users dot sourceforge dot net
CC: gcc-bugs at gcc dot gnu dot org
GCC target triplet: i686-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20348