Closed
Bug 1194360
Opened 10 years ago
Closed 10 years ago
Build fails with "error: 'mozilla::jni::Class<Foo>::Class' names constructor"
Categories
(Core Graveyard :: Widget: Android, defect)
Tracking
(firefox43 fixed)
RESOLVED
FIXED
mozilla43
Tracking | Status | |
---|---|---|
firefox43 | --- | fixed |
People
(Reporter: jchen, Assigned: jchen)
References
Details
Attachments
(1 file)
16.04 KB,
patch
|
snorp
:
review+
|
Details | Diff | Splinter Review |
Bug 1192079 used inherited constructors, which was introduced in gcc 4.8, but we officially require gcc 4.7 and a lot of people are still using an older NDK that bundled gcc 4.7.
Assignee | ||
Comment 1•10 years ago
|
||
GeneratedJNIWrappers.h was updated in bug 1192079 to use inherited
constructors, which is a gcc 4.8 feature. Unfortunately many people are still
using an older version of NDK which only comes with gcc 4.7.
The patch is small and makes people's lives easier, so it seems worth it.
Attachment #8647669 -
Flags: review?(snorp)
Comment 2•10 years ago
|
||
Comment on attachment 8647669 [details] [diff] [review]
Remove use of inherited constructors (v1)
Review of attachment 8647669 [details] [diff] [review]:
-----------------------------------------------------------------
Somehow all of the other C++11 stuff you're using managed to work in 4.7?
Attachment #8647669 -
Flags: review?(snorp) → review+
Comment 3•10 years ago
|
||
(In reply to James Willcox (:snorp) (jwillcox@mozilla.com) from comment #2)
> Somehow all of the other C++11 stuff you're using managed to work in 4.7?
gcc 4.7 has pretty subtantial C++11 support - the only missing features are inherited constructors, ref-qualifies, and a couple of other minor things.
Comment 6•10 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
status-firefox43:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla43
Comment 7•10 years ago
|
||
Central as of 2 minutes ago is still failing to build with the same set of cpp errors reported in 1194572.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Comment 8•10 years ago
|
||
(In reply to Allison Naaktgeboren please NEEDINFO? :ally from comment #7)
> Central as of 2 minutes ago is still failing to build with the same set of
> cpp errors reported in 1194572.
Clobber build?
Assignee | ||
Updated•10 years ago
|
Flags: needinfo?(ally)
Comment 9•10 years ago
|
||
it's working again. I had thought this bug was closed a while ago.
Flags: needinfo?(ally)
Updated•10 years ago
|
Status: REOPENED → RESOLVED
Closed: 10 years ago → 10 years ago
Resolution: --- → FIXED
Updated•4 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•