Closed
Bug 1129718
Opened 9 years ago
Closed 9 years ago
Build error in Factory.cpp when using --enable-debug and --disable-logging
Categories
(Core :: Graphics, defect)
Tracking
()
RESOLVED
FIXED
mozilla38
Tracking | Status | |
---|---|---|
firefox38 | --- | fixed |
People
(Reporter: cajbir, Assigned: cajbir)
Details
Attachments
(1 file)
633 bytes,
patch
|
bas.schouten
:
review+
|
Details | Diff | Splinter Review |
When building with the following in .mozconfig I have an error in Factor.cpp: ac_add_options --enable-tests ac_add_options --enable-gstreamer ac_add_options --enable-debug ac_add_options --disable-logging The error is: In file included from obj-x86_64-unknown-linux-gnu/gfx/2d/Unified_cpp_gfx_2d0.cpp:92:0: gfx/2d/Factory.cpp:56:2: error: ‘PRLogModuleInfo’ does not name a type GFX2D_API PRLogModuleInfo * ^ In the directory obj-x86_64-unknown-linux-gnu/gfx/2d
Assignee | ||
Comment 1•9 years ago
|
||
Use PR_LOGGING only to determine whether to use logging. This is the same conditional define used in gfx/2d/Logging.h to include the declaration of the function.
Assignee | ||
Comment 2•9 years ago
|
||
Try build: https://treeherder.mozilla.org/#/jobs?repo=try&revision=53d37ef990ef
Updated•9 years ago
|
Attachment #8559501 -
Flags: review?(bas) → review+
Assignee | ||
Comment 3•9 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/6aa2335b0f0f
Comment 4•9 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/6aa2335b0f0f
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
status-firefox38:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla38
Comment 5•9 years ago
|
||
TWIMC: the same build error pops up with seamonkey-2.38 given --disable-logging (it's also --disable-debug over here at the moment); the trivially updated patch along with a similar hunk for gfx/2d/Logging.h didn't quite suffice so my current workaround is --enable-logging.
You need to log in
before you can comment on or make changes to this bug.
Description
•