Closed
Bug 712910
Opened 13 years ago
Closed 13 years ago
Use stdint for HAL
Categories
(Core :: Hardware Abstraction Layer (HAL), defect)
Core
Hardware Abstraction Layer (HAL)
Tracking
()
RESOLVED
FIXED
mozilla15
People
(Reporter: Ms2ger, Assigned: Ms2ger)
Details
Attachments
(2 files)
13.31 KB,
patch
|
cjones
:
review+
|
Details | Diff | Splinter Review |
1.13 KB,
patch
|
Ms2ger
:
review+
|
Details | Diff | Splinter Review |
We've got mozilla/StdInt.h now, so we should use it.
Assignee | ||
Comment 1•13 years ago
|
||
Updated•13 years ago
|
Attachment #625927 -
Flags: review?(jones.chris.g) → review+
Assignee | ||
Comment 2•13 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla15
Comment 3•13 years ago
|
||
Surprise! You broke my builds :)
http://buildbot.rhaalovely.net/builders/mozilla-central-amd64/builds/403/steps/build/logs/stdio
hal/sandbox/SandboxHal.cpp:46: error: no matching function for call to 'mozilla::hal_sandbox::PHalChild::SendVibrate(AutoInfallibleTArray<unsigned int, 8u>&, const InfallibleTArray<long long unsigned int>&, mozilla::dom::TabChild*)'
../ipc/ipdl/_ipdlheaders/mozilla/hal_sandbox/PHalChild.h:113: note: candidates are: bool mozilla::hal_sandbox::PHalChild::SendVibrate(const InfallibleTArray<unsigned int>&, const InfallibleTArray<long unsigned int>&, mozilla::dom::PBrowserChild*)
hal/sandbox/SandboxHal.cpp:56: error: no matching function for call to 'mozilla::hal_sandbox::PHalChild::SendCancelVibrate(const InfallibleTArray<long long unsigned int>&, mozilla::dom::TabChild*)'
../ipc/ipdl/_ipdlheaders/mozilla/hal_sandbox/PHalChild.h:118: note: candidates are: bool mozilla::hal_sandbox::PHalChild::SendCancelVibrate(const InfallibleTArray<long unsigned int>&, mozilla::dom::PBrowserChild*)
../ipc/ipdl/_ipdlheaders/mozilla/hal_sandbox/PHalParent.h: At global scope:
../ipc/ipdl/_ipdlheaders/mozilla/hal_sandbox/PHalParent.h:77: warning: 'virtual bool mozilla::hal_sandbox::PHalParent::RecvVibrate(const InfallibleTArray<unsigned int>&, const InfallibleTArray<long unsigned int>&, mozilla::dom::PBrowserParent*)' was hidden
hal/sandbox/SandboxHal.cpp:275: warning: by 'virtual bool mozilla::hal_sandbox::HalParent::RecvVibrate(const InfallibleTArray<unsigned int>&, const InfallibleTArray<long long unsigned int>&, mozilla::dom::PBrowserParent*)'
../ipc/ipdl/_ipdlheaders/mozilla/hal_sandbox/PHalParent.h:81: warning: 'virtual bool mozilla::hal_sandbox::PHalParent::RecvCancelVibrate(const InfallibleTArray<long unsigned int>&, mozilla::dom::PBrowserParent*)' was hidden
hal/sandbox/SandboxHal.cpp:301: warning: by 'virtual bool mozilla::hal_sandbox::HalParent::RecvCancelVibrate(const InfallibleTArray<long long unsigned int>&, mozilla::dom::PBrowserParent*)'
hal/sandbox/SandboxHal.cpp:601: error: cannot allocate an object of abstract type 'mozilla::hal_sandbox::HalParent'
hal/sandbox/SandboxHal.cpp:270: note: because the following virtual functions are pure within 'mozilla::hal_sandbox::HalParent':
../ipc/ipdl/_ipdlheaders/mozilla/hal_sandbox/PHalParent.h:77: note: virtual bool mozilla::hal_sandbox::PHalParent::RecvVibrate(const InfallibleTArray<unsigned int>&, const InfallibleTArray<long unsigned int>&, mozilla::dom::PBrowserParent*)
../ipc/ipdl/_ipdlheaders/mozilla/hal_sandbox/PHalParent.h:81: note: virtual bool mozilla::hal_sandbox::PHalParent::RecvCancelVibrate(const InfallibleTArray<long unsigned int>&, mozilla::dom::PBrowserParent*)
As usual, int64 != int64_t.....
Comment 4•13 years ago
|
||
Wild guess, it seems it breaks because sandbox/PHal.ipdl uses uint32/uint64 when declaring Vibrate & CancelVibrate.
Comment 5•13 years ago
|
||
Easy fix, still building but went through hal/ at least.
Attachment #627446 -
Flags: review?(Ms2ger)
Updated•13 years ago
|
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Comment 6•13 years ago
|
||
Comment on attachment 627446 [details] [diff] [review]
Use stdint tyles in PHal.pidl too
Review of attachment 627446 [details] [diff] [review]:
-----------------------------------------------------------------
Sorry about that.
Attachment #627446 -
Flags: review?(Ms2ger) → review+
Assignee | ||
Updated•13 years ago
|
Keywords: checkin-needed
Comment 7•13 years ago
|
||
Flags: in-testsuite-
Keywords: checkin-needed
Comment 8•13 years ago
|
||
Status: REOPENED → RESOLVED
Closed: 13 years ago → 13 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•