Closed Bug 1105781 Opened 6 years ago Closed 6 years ago
.cpp:1905:67: error: reference to 'Null Ptr' is ambiguous (JS::Null Ptr vs . js::Null Ptr) in unified build
--enable-unified-compilation on Aurora 35 fails with: In file included from js/src/Unified_cpp_js_src7.cpp:137: js/src/jsfun.cpp:1905:67: error: reference to 'NullPtr' is ambiguous /* enclosingScope = */ NullPtr()); ^ dist/include/js/RootingAPI.h:135:8: note: candidate found by name lookup is 'js::NullPtr' struct NullPtr ^ dist/include/js/RootingAPI.h:165:22: note: candidate found by name lookup is 'JS::NullPtr' struct JS_PUBLIC_API(NullPtr) ^ js/src/jstypes.h:70:30: note: expanded from macro 'JS_PUBLIC_API' # define JS_PUBLIC_API(t) t ^ 1 error generated.
Comment on attachment 8529845 [details] [diff] [review] fix? js::NullPtr() is already used in other places in the file.
Attachment #8529845 - Flags: review?(bzbarsky)
Comment on attachment 8529845 [details] [diff] [review] fix? Yeah, makes sense.
Attachment #8529845 - Flags: review?(bzbarsky) → review+
Comment on attachment 8529845 [details] [diff] [review] fix? Approval Request Comment [Feature/regressing bug #]: bug 1083648 regression [User impact if declined]: --enable-unified-compilation broken in Firefox 35.0. Downstream consumers have to disable the option and experience slower build. [Describe test coverage new/current, TBPL]: comment 3, comment 5 and inbound soon. [Risks and why]: Low, unlikely to even break build. [String/UUID change made/needed]:
Comment on attachment 8529845 [details] [diff] [review] fix? Approval comment 6. Need on Beta because of recent uplift.
Assignee: nobody → jbeich
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla37
You need to log in before you can comment on or make changes to this bug.