This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug compile/17972] New: Double #include
- From: "dilyan.palauzov at aegee dot org" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Fri, 13 Feb 2015 15:51:49 +0000
- Subject: [Bug compile/17972] New: Double #include
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=17972
Bug ID: 17972
Summary: Double #include
Product: gdb
Version: HEAD
Status: NEW
Severity: normal
Priority: P2
Component: compile
Assignee: unassigned at sourceware dot org
Reporter: dilyan.palauzov at aegee dot org
deheader -v (git://gitorious.org/deheader/deheader.git) reported, that in the
gdb tree some .c files #include more than once the same .h file:
m32r-tdep.c has more than one inclusion of "objfiles.h"
mi/mi-main.c has more than one inclusion of "inferior.h"
python/py-block.c has more than one inclusion of "symtab.h"
stubs/ia64vms-stub.c has more than one inclusion of <ssdef.h>
testsuite/gdb.threads/create-fail.c has more than one inclusion of <assert.h>
testsuite/gdb.threads/create-fail.c has more than one inclusion of <stdio.h>
testsuite/gdb.threads/fork-thread-pending.c has more than one inclusion of
<unistd.h>
testsuite/gdb.threads/watchpoint-fork-mt.c has more than one inclusion of
<unistd.h>
tui/tui-source.c has more than one inclusion of "symtab.h"
These delay unncessary the compilation.
--
You are receiving this mail because:
You are on the CC list for the bug.