Closed Bug 732127 Opened 12 years ago Closed 12 years ago

Error building IPDLUnitTests with VC11 on Win8

Categories

(Core :: IPC, defect)

x86_64
Windows 8
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla14

People

(Reporter: jimm, Assigned: jimm)

References

Details

Attachments

(1 file)

IPDLUnitTests.cpp
c:/Mozilla/MC-DBG/ipc/ipdl/test/cxx/IPDLUnitTests.cpp(80) : error C2668: 'moz_strdup' : ambiguous call to overloaded function
        c:\Mozilla\MC-DBG\dist\include\mozilla/mozalloc.h(133): could be 'char *moz_strdup(const char *)'
        c:\Mozilla\mc\ipc\chromium\src\base/string_util_win.h(19): or       'char *base::moz_strdup(const char *)'
        while trying to match the argument list '(const char *)'
make[6]: *** [IPDLUnitTests.obj] Error 2
OS: Windows 7 → Windows 8
Attached patch fixSplinter Review
Blocks: 732518
Blocks: 737975
Comment on attachment 602057 [details] [diff] [review]
fix

ran this through a normal mc build just to be sure.
Attachment #602057 - Flags: review?(netzen)
Attachment #602057 - Flags: review?(netzen) → review+
https://hg.mozilla.org/mozilla-central/rev/bf7e77b061c5
Assignee: nobody → jmathies
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla14
No longer blocks: 737975
Blocks: elm-merge
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: