mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-29 13:11:06 +00:00
cdparanoia: Ignore discarded-qualifiers coming from the header (again)
Followup to75872c802b
, clang version While we ignore `discarded-qualifiers` already for gcc, clang seems to assign this error to `incompatible-pointer-types-discards-qualifiers` so we need to ignore that as well. ``` In file included from \ ../subprojects/gst-plugins-base/ext/cdparanoia/gstcdparanoiasrc.h:37: \ /usr/include/cdda/cdda_interface.h:164:3: error: initializing 'char *' with an expression \ of type 'const char [8]' discards qualifiers [-Werror, \ -Wincompatible-pointer-types-discards-qualifiers] "Success", ^~~~~~~~~ ``` See75872c802b
for more Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5474>
This commit is contained in:
parent
0bc353085f
commit
f87d499aaf
1 changed files with 1 additions and 0 deletions
|
@ -35,6 +35,7 @@ if cdparanoia_found
|
|||
# was in 2008.
|
||||
extra_args = cc.get_supported_arguments([
|
||||
'-Wno-discarded-qualifiers',
|
||||
'-Wno-incompatible-pointer-types-discards-qualifiers',
|
||||
'-Wno-unused-variable'
|
||||
])
|
||||
|
||||
|
|
Loading…
Reference in a new issue