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)

All
Android
defect
Not set
normal

Tracking

(firefox43 fixed)

RESOLVED FIXED
mozilla43
Tracking Status
firefox43 --- fixed

People

(Reporter: jchen, Assigned: jchen)

References

Details

Attachments

(1 file)

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.
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 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+
(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.
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla43
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 → ---
(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?
Flags: needinfo?(ally)
it's working again. I had thought this bug was closed a while ago.
Flags: needinfo?(ally)
Status: REOPENED → RESOLVED
Closed: 10 years ago10 years ago
Resolution: --- → FIXED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: