Closed
Bug 984081
Opened 11 years ago
Closed 11 years ago
Suppress clang and gcc warnings in third-party code: harfbuzz
Categories
(Core :: Graphics: Text, defect, P4)
Core
Graphics: Text
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: cpeterson, Assigned: cpeterson)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
|
734 bytes,
patch
|
Details | Diff | Splinter Review |
gfx/harfbuzz/src/hb-common.cc:238:6 [-Wunused-function] unused function 'free_langs'
Attachment #8391831 -
Flags: review?(jdaggett)
Comment 1•11 years ago
|
||
Might be better to propose a patch upstream, rather than just suppressing the warning here. The free_langs() function could be wrapped in #ifdef HAVE_ATEXIT, just like the only callsite.
Comment 2•11 years ago
|
||
Fixed upstream by merging Jonathan's pullrequest already.
Comment 3•11 years ago
|
||
Comment on attachment 8391831 [details] [diff] [review]
suppress-harfbuzz-warnings.patch
I agree with Jonathan, I think it would be better to have something upstream. Clearing the review for now.
Attachment #8391831 -
Flags: review?(jdaggett)
| Assignee | ||
Comment 4•11 years ago
|
||
I will try to submit an upstream patch. Two additional clang warnings in --disable-optimize builds:
gfx/harfbuzz/src/hb-private.hh:236:3 [-Wdeprecated-register] 'register' storage class specifier is deprecated
gfx/harfbuzz/src/hb-private.hh:252:3 [-Wdeprecated-register] 'register' storage class specifier is deprecated
Comment 5•11 years ago
|
||
(In reply to Chris Peterson (:cpeterson) from comment #4)
> I will try to submit an upstream patch. Two additional clang warnings in
> --disable-optimize builds:
>
> gfx/harfbuzz/src/hb-private.hh:236:3 [-Wdeprecated-register] 'register'
> storage class specifier is deprecated
> gfx/harfbuzz/src/hb-private.hh:252:3 [-Wdeprecated-register] 'register'
> storage class specifier is deprecated
Fixed upstream.
| Assignee | ||
Comment 6•11 years ago
|
||
Thanks, Behdad! :)
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•