Closed Bug 241990 Opened 21 years ago Closed 9 years ago

Value::ToCString(nsACString& aResult) not defined if FORCE_PR_LOG defined but DEBUG is not

Categories

(Core :: XUL, defect)

x86
All
defect
Not set
minor

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: bc, Unassigned)

References

()

Details

Attachments

(1 file)

If you define FORCE_PR_LOG in an optimized build, it will fail since Value::ToCString(nsACString& aResult) is called in nsXULTemplateBuilder::SynchronizeAll if PR_LOGGING is logging is defined. See <http://lxr.mozilla.org/seamonkey/source/content/xul/templates/src/nsXULTemplateBuilder.cpp#1178>
Attached patch patch v1Splinter Review
Add ToCString if DEBUG or FORCE_PR_LOG is defined. Perhaps it would have been better to use PR_LOGGING than FORCE_PR_LOG
SSSSSSSSSSSS
Summary: Value::ToCString(nsACString& aResult) not defined if FORCE_PR_LOG defined but DEBUG is not → Value::ToCString(nsACString& aResult) not defined if FORCE_PR_LOG defined but DEBUG is not
Component: XP Toolkit/Widgets: XUL → XUL
QA Contact: xptoolkit.widgets
Fixed somewhere along the way given bug 806819.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: