Closed
Bug 1330495
Opened 9 years ago
Closed 9 years ago
gfx/sfntly/cpp/src/sfntly/table/core/cmap_table.cc:442:21: error: reinterpret_cast from 'nullptr_t' to 'sfntly::ReadableFontData *' is not allowed
Categories
(Core :: Printing: Output, defect)
Tracking
()
RESOLVED
FIXED
mozilla53
Tracking | Status | |
---|---|---|
firefox50 | --- | unaffected |
firefox51 | --- | unaffected |
firefox52 | --- | unaffected |
firefox53 | --- | fixed |
People
(Reporter: jbeich, Assigned: jbeich)
References
Details
(Keywords: regression)
Attachments
(1 file)
NULL is defined via nullptr in C++11 mode on FreeBSD.
https://github.com/freebsd/freebsd/commit/c8ed04c26b67
In file included from objdir/gfx/sfntly/cpp/src/Unified_cpp_gfx_sfntly_cpp_src2.cpp:20:
gfx/sfntly/cpp/src/sfntly/table/core/cmap_table.cc:442:21: error: reinterpret_cast from
'nullptr_t' to 'sfntly::ReadableFontData *' is not allowed
: CMap::Builder(reinterpret_cast<ReadableFontData*>(NULL),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gfx/sfntly/cpp/src/sfntly/table/core/cmap_table.cc:566:34: error: reinterpret_cast from
'nullptr_t' to 'sfntly::WritableFontData *' is not allowed
: reinterpret_cast<WritableFontData*>(NULL),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gfx/sfntly/cpp/src/sfntly/table/core/cmap_table.cc:577:34: error: reinterpret_cast from
'nullptr_t' to 'sfntly::ReadableFontData *' is not allowed
: reinterpret_cast<ReadableFontData*>(NULL),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gfx/sfntly/cpp/src/sfntly/table/core/cmap_table.cc:961:21: error: reinterpret_cast from
'nullptr_t' to 'sfntly::ReadableFontData *' is not allowed
: CMap::Builder(reinterpret_cast<ReadableFontData*>(NULL),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gfx/sfntly/cpp/src/sfntly/table/core/cmap_table.cc:969:21: error: reinterpret_cast from
'nullptr_t' to 'sfntly::ReadableFontData *' is not allowed
: CMap::Builder(reinterpret_cast<ReadableFontData*>(NULL),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
5 errors generated.
Comment hidden (mozreview-request) |
Apologies for not upstreaming this. Google's has a stupid policy of forcing volunteers to submit to its panopticon via CLA -> Google Account -> Tor signup is not allowed. I'm contributing my time, not privacy. Ironically, even Facebook allows signing CLA over GitHub.
Can you help?
Comment 3•9 years ago
|
||
Have you at least _reported_ this upstream (or could you please do so), even if you don't submit a patch there? Thanks.
Comment hidden (mozreview-request) |
(In reply to Jonathan Kew (:jfkthame) from comment #3)
> Have you at least _reported_ this upstream...?
Thanks for reminding. Done, including their broken unit tests.
See Also: → https://github.com/googlei18n/sfntly/issues/67
Comment 6•9 years ago
|
||
Does the solution I just suggested in https://github.com/googlei18n/sfntly/issues/67 work for you? If so, I'd prefer to go that way.
Comment hidden (mozreview-request) |
(In reply to Jonathan Kew (:jfkthame) from comment #6)
> Does the solution I just suggested in
> https://github.com/googlei18n/sfntly/issues/67 work for you? If so, I'd
> prefer to go that way.
Yep. My Firefox build just finished using comment 7 version.
Comment 9•9 years ago
|
||
mozreview-review |
Comment on attachment 8826045 [details]
Bug 1330495 - Unbreak FreeBSD build after bug 1324739.
https://reviewboard.mozilla.org/r/104094/#review104906
I'm OK with doing this locally for now to unbreak your build, but let's try to keep an eye on upstream and (if necessary) prompt them to fix it there as well, otherwise it'll probably come back to bite us again in a future update.
Attachment #8826045 -
Flags: review?(jfkthame) → review+
Keywords: checkin-needed
Updated•9 years ago
|
Assignee: nobody → jbeich
Comment 10•9 years ago
|
||
Pushed by ryanvm@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/0f21e0ef8d83
Unbreak FreeBSD build after bug 1324739. r=jfkthame
Keywords: checkin-needed
Comment 11•9 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla53
Updated•9 years ago
|
status-firefox50:
--- → unaffected
status-firefox51:
--- → unaffected
status-firefox52:
--- → unaffected
You need to log in
before you can comment on or make changes to this bug.
Description
•