Closed Bug 818279 Opened 10 years ago Closed 10 years ago

JSCustomObjectBuilder.cpp fails to build with clang 3.1 on Linux

Categories

(Core :: Gecko Profiler, defect)

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla20

People

(Reporter: gw280, Assigned: gw280)

References

Details

Attachments

(1 file)

/home/george/dev/mozilla-central-2/tools/profiler/JSCustomObjectBuilder.cpp:193:10: error: expected a
      class or namespace
  return PLDHashOperator::PL_DHASH_NEXT;
         ^
/home/george/dev/mozilla-central-2/tools/profiler/JSCustomObjectBuilder.cpp:225:10: error: expected a
      class or namespace
  return PLDHashOperator::PL_DHASH_NEXT;
         ^
2 errors generated.
Attached patch clang fixSplinter Review
Don't prefix PL_DHASH_NEXT.
Attachment #688478 - Flags: review?(bgirard)
Attachment #688478 - Flags: review?(bgirard) → review+
ty ehsan
https://hg.mozilla.org/mozilla-central/rev/3658addc5872
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla20
You need to log in before you can comment on or make changes to this bug.