Closed Bug 113773 Opened 24 years ago Closed 10 years ago

Multiply included header files

Categories

(Core Graveyard :: Tracking, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE
Future

People

(Reporter: jag+mozilla, Assigned: jag+mozilla)

References

()

Details

(Keywords: helpwanted)

Attachments

(4 files)

There are a bunch of places where we're accidentily including header files multiple times, which just wastes build time. From: grep -r "^#include" * | sort | uniq -d > list I got a list of all the files with the header they're including more than once. Some of these are valid, where for example the header is included in #ifdef XP_MAC and #ifdef XP_WIN32, but not in #ifdef XP_UNIX, others are just oversights. I'll attach a list from which I've removed external libraries (glib, libidl) and nsprpub. I'm assigning this to me (and will future it immediately, but if someone wants to go over the list and remove the real redundant includes, it would be appreciated.
-> future, helpwanted
Keywords: helpwanted
Target Milestone: --- → Future
Two small patches. More coming later.
Attached patch Patch for caps/ — — Splinter Review
Attached patch content — — Splinter Review
and a bit of extra
unstable makes the search a graphical game (even child's play), pick any directory and sequentially walk through the files making sure that each is a tree. Be careful about the few places in layout and content which abuse header files as data (they actually intend to include files repeatedly).
Component: Browser-General → Tracking
QA Contact: doronr → chofmann
Marking all tracking bugs which haven't been updated since 2014 as INCOMPLETE. If this bug is still relevant, please reopen it and move it into a bugzilla component related to the work being tracked. The Core: Tracking component will no longer be used.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → INCOMPLETE
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: