Fix non-unified build error in gfx/thebes/gfxMacPlatformFontList.mm
Categories
(Core :: Graphics: Text, defect, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr91 | --- | unaffected |
firefox100 | --- | unaffected |
firefox101 | --- | unaffected |
firefox102 | --- | fixed |
People
(Reporter: cpeterson, Assigned: cpeterson)
References
(Regression)
Details
(Keywords: regression)
Attachments
(1 file)
This build error was a regression from bug 1743170. The code that used kDeprecatedFontFamilies
was wrapped with #ifdef USE_DEPRECATED_FONT_FAMILY_NAMES
, but the definition of kDeprecatedFontFamilies
wasn't so the compiler thinks kDeprecatedFontFamilies
is unused.
gfx/thebes/gfxMacPlatformFontList.mm:92:28: error: unused variable 'kDeprecatedFontFamilies' [-Werror,-Wunused-const-variable]
constexpr nsLiteralCString kDeprecatedFontFamilies[] = {
Assignee | ||
Comment 1•2 years ago
|
||
This build error was a regression from bug 1743170. The code that used kDeprecatedFontFamilies was wrapped with #ifdef USE_DEPRECATED_FONT_FAMILY_NAMES, but the definition of kDeprecatedFontFamilies wasn't so the compiler thinks kDeprecatedFontFamilies is unused.
gfx/thebes/gfxMacPlatformFontList.mm:92:28: error: unused variable 'kDeprecatedFontFamilies' [-Werror,-Wunused-const-variable]
constexpr nsLiteralCString kDeprecatedFontFamilies[] = {
Comment 2•2 years ago
|
||
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Pushed by cpeterson@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/b37fd715d031 Fix non-unified build error in gfx/thebes/gfxMacPlatformFontList.mm. r=jfkthame,gfx-reviewers,lsalzman
Comment 4•2 years ago
|
||
bugherder |
Description
•