Closed Bug 590436 Opened 11 years ago Closed 11 years ago

nsCSSParser.cpp failed to compile with Sun Studio compiler

Categories

(Core :: CSS Parsing and Computation, defect)

x86
OpenSolaris
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla2.0b8

People

(Reporter: ginnchen+exoracle, Assigned: ginnchen+exoracle)

Details

Attachments

(1 file)

"../../../mozilla-central/layout/style/nsCSSParser.cpp", line 443: Error: A class with a reference member must have a user-defined constructor.
"../../../mozilla-central/layout/style/nsCSSParser.cpp", line 6163: Error: Expected an expression.
"../../../mozilla-central/layout/style/nsCSSParser.cpp", line 6172: Error: Use ";" to terminate statements.
3 Error(s) and 2 Warning(s) detected.
Attached patch patchSplinter Review
Assignee: nobody → ginn.chen
Status: NEW → ASSIGNED
Attachment #468974 - Flags: review?(roc)
Attachment #468974 - Flags: approval2.0?
+    BackgroundParseState::BackgroundParseState(
I should change it to
+    BackgroundParseState(
to make it compile with gcc 4.3.
Attachment #468974 - Flags: approval2.0? → approval2.0+
http://hg.mozilla.org/mozilla-central/rev/6e3143da97d5
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla2.0b8
You need to log in before you can comment on or make changes to this bug.