Bug 127167

Summary: Changed '#include "..."' behavior
Product: [Fedora] Fedora Reporter: Enrico Scholz <rh-bugzilla>
Component: gcc35Assignee: Jakub Jelinek <jakub>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-10-04 23:08:12 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Enrico Scholz 2004-07-02 21:42:18 UTC
Description of problem:

| $ mkdir src
| $ echo '#error OK' >src/string.h
| $ echo '#include <string.h>'  >src/foo.c
| $ echo '#include "string.h"' >>src/foo.c
| $ gcc35 -c src/foo.c 
| $ gcc -c src/foo.c 
| In file included from src/foo.c:2:
| src/string.h:1:2: #error OK
| $

As you see, gcc35 does not include my 'string.h' but every former gcc
version did it.



Version-Release number of selected component (if applicable):

gcc35-3.5.0-0.2

Comment 1 Richard Henderson 2004-10-04 23:08:12 UTC
Fixed in gcc 4.0 cvs.