Closed Bug 718254 Opened 12 years ago Closed 12 years ago

IPDL unit test harness doesn't compile

Categories

(Core :: IPC, defect)

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla13

People

(Reporter: cjones, Assigned: cjones)

Details

(Whiteboard: [inbound])

Attachments

(1 file)

IPDLUnitTests.cpp
/home/cjones/mozilla/ff-dbg/ipc/ipdl/test/cxx/IPDLUnitTests.cpp:61: error: ‘mozilla::_ipdltest::gChildThread’ should have been declared inside ‘mozilla::_ipdltest’
/home/cjones/mozilla/ff-dbg/ipc/ipdl/test/cxx/IPDLUnitTests.cpp: In function ‘const char* const mozilla::_ipdltest::IPDLUnitTestName()’:
/home/cjones/mozilla/ff-dbg/ipc/ipdl/test/cxx/IPDLUnitTests.cpp:88: error: call of overloaded ‘moz_strdup(const char*)’ is ambiguous
../../../../dist/include/mozilla/mozalloc.h:133: note: candidates are: char* moz_strdup(const char*)
/home/cjones/mozilla/mozilla-central/ipc/chromium/src/base/string_util_posix.h:19: note:                 char* base::moz_strdup(const char*)
/home/cjones/mozilla/ff-dbg/ipc/ipdl/test/cxx/IPDLUnitTests.cpp: In function ‘void mozilla::_ipdltest::IPDLUnitTestMain(void*)’:
/home/cjones/mozilla/ff-dbg/ipc/ipdl/test/cxx/IPDLUnitTests.cpp:591: error: ‘RunTestInProcesses’ is not a member of ‘mozilla::_ipdltest::TestSysVShmemParent’
/home/cjones/mozilla/ff-dbg/ipc/ipdl/test/cxx/IPDLUnitTests.cpp: In function ‘void mozilla::_ipdltest::IPDLUnitTestThreadMain(char*)’:
/home/cjones/mozilla/ff-dbg/ipc/ipdl/test/cxx/IPDLUnitTests.cpp:1137: error: ‘RunTestInThreads’ is not a member of ‘mozilla::_ipdltest::TestSysVShmemParent’
Assignee: nobody → jones.chris.g
Attachment #588705 - Flags: review?(bent.mozilla)
Comment on attachment 588705 [details] [diff] [review]
Get the IPDL unit test harness compiling again

Review of attachment 588705 [details] [diff] [review]:
-----------------------------------------------------------------

Looks good.
Attachment #588705 - Flags: review?(bent.mozilla) → review+
https://hg.mozilla.org/mozilla-central/rev/c925a45fcf5b
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla13
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: