Skip to content

Commit add6d4a

Browse files
authored
Bug 2034301 - Suppress GCC 16 pointer type mismatch warnings
Add flag to suppress incompatible pointer type warnings in GCC 16. Signed-off-by: Trung Lê <8@tle.id.au>
1 parent 986b2e4 commit add6d4a

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

media/ffvpx/libavcodec/moz.build

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,10 @@ else:
181181
CXXFLAGS += CONFIG["MOZ_LIBVPX_CFLAGS"]
182182
OS_LIBS += CONFIG["MOZ_LIBVPX_LIBS"]
183183

184+
# Vendored FFmpeg code has type mismatches between AVCodecParser/FFCodecParser
185+
# that GCC 16+ treats as errors.
186+
CFLAGS += ['-Wno-incompatible-pointer-types']
187+
184188
SYMBOLS_FILE = 'avcodec.symbols'
185189
NoVisibilityFlags()
186190

0 commit comments

Comments
 (0)