This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug compile/17972] New: Double #include


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]