Closed
Bug 400621
Opened 17 years ago
Closed 17 years ago
Linux crashreporter client has additional system-header dependencies
Categories
(Firefox Build System :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla3 beta1
People
(Reporter: mozbugs, Assigned: mozbugs)
Details
Attachments
(1 file, 1 obsolete file)
945 bytes,
patch
|
ted
:
review+
mconnor
:
approvalM9+
mconnor
:
approval1.9+
|
Details | Diff | Splinter Review |
This fixes a build failure I get with gcc 4.2.
Comment 1•17 years ago
|
||
Comment on attachment 285676 [details] [diff] [review] Add some more gtk headers Ted, are we including all these files explicitly? Is there a meta-header we could use instead (gtk/gtk.h), to avoid having to make this list larger and larget and less manageable?
Attachment #285676 -
Flags: review?(ted.mielczarek)
Updated•17 years ago
|
Assignee: nobody → manish
Comment 2•17 years ago
|
||
(In reply to comment #1) > (From update of attachment 285676 [details] [diff] [review]) > Ted, are we including all these files explicitly? Is there a meta-header we > could use instead (gtk/gtk.h), to avoid having to make this list larger and > larget and less manageable? gtk/gtk.h is already in the list.
Comment 3•17 years ago
|
||
We are, in fact, and they've been in there for quite some time: http://bonsai.mozilla.org/cvsblame.cgi?file=/mozilla/toolkit/crashreporter/client /crashreporter_linux.cpp&rev=1.9&mark=53-68#53 I don't really know anything about GTK, so I can't comment as to whether we could just include one meta-header.
Assignee | ||
Comment 4•17 years ago
|
||
You can certainly just include <gtk/gtk.h> instead of all the files individually. I don't see a rationale for not doing that. As for them being in there for a while, this worked fine with gcc 4.1, but with gcc 4.2 the build failed due to missing symbols.
Comment 5•17 years ago
|
||
Would you care to provide a patch to replace all those includes with that one include? I don't have gcc 4.2 here, so I can't verify that it works properly.
Assignee | ||
Comment 6•17 years ago
|
||
With this change (and without the system-header change), I can successfully build with gcc 4.2/
Attachment #285676 -
Attachment is obsolete: true
Attachment #285676 -
Flags: review?(ted.mielczarek)
Assignee | ||
Updated•17 years ago
|
Attachment #285692 -
Flags: review?(ted.mielczarek)
Comment 7•17 years ago
|
||
Comment on attachment 285692 [details] [diff] [review] Include meta gtk header r=me Requesting approval1.9, this change should be a no-op, but it fixes a system-headers issue for gcc 4.2 in a clean way.
Attachment #285692 -
Flags: review?(ted.mielczarek)
Attachment #285692 -
Flags: review+
Attachment #285692 -
Flags: approval1.9?
Updated•17 years ago
|
Attachment #285692 -
Flags: approvalM9+
Attachment #285692 -
Flags: approval1.9?
Attachment #285692 -
Flags: approval1.9+
Comment 8•17 years ago
|
||
Checking in toolkit/crashreporter/client/crashreporter_linux.cpp; /cvsroot/mozilla/toolkit/crashreporter/client/crashreporter_linux.cpp,v <-- crashreporter_linux.cpp new revision: 1.10; previous revision: 1.9 done
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 3 M9
Updated•6 years ago
|
Component: Build Config → General
Product: Firefox → Firefox Build System
Updated•5 years ago
|
Target Milestone: Firefox 3 beta1 → mozilla3 beta1
You need to log in
before you can comment on or make changes to this bug.
Description
•