Closed Bug 624180 Opened 14 years ago Closed 13 years ago

[clang] redefinition of 'nsRunnableMethodTraits<type-parameter-0-1 in nsThreadUtils.h

Categories

(Core :: XPCOM, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: Nomis101, Unassigned)

References

Details

Attachments

(1 file)

Attached patch patchSplinter Review
Building with Clang gives:

/Developer/temp/src/mozilla/xpcom/glue/nsThreadUtils.h:321:8: error: 
      redefinition of 'nsRunnableMethodTraits<type-parameter-0-1
      (type-parameter-0-0::*)(), Owning>'
struct nsRunnableMethodTraits<R (__stdcall C::*)(), Owning> {
       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


The attached patch is from http://llvm.org/bugs/show_bug.cgi?id=5511
Attachment #502282 - Flags: review?(ted.mielczarek)
I cannot reproduce this. What version of clang and ff are you using? If it still reproduces for you, would you mind attaching your mozconfig file?
Uhm, interesting. If I build with the latest clang version from Apple I also can't reproduce this anymore. The bugreport was with an older version.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → WORKSFORME
Attachment #502282 - Flags: review?(ted.mielczarek)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: