edid-decode: build: compile with -Wno-variadic-macros
commitc6b859d7f0251e2433fb81bd3f67bd2011c2036c
authorSebastian Wick <sebastian.wick@redhat.com>
Wed, 5 Jun 2024 11:09:01 +0000 (5 13:09 +0200)
committerHans Verkuil <hverkuil-cisco@xs4all.nl>
Fri, 7 Jun 2024 05:59:56 +0000 (7 07:59 +0200)
treecc6f15d2c786e2462d74258f8d4c6d6dae163639
parent4c6e2c1def469b77631c69aa6f52ca8392e21cc7
edid-decode: build: compile with -Wno-variadic-macros

When building as a subproject, I get warnings:

../subprojects/edid-decode/edid-decode.h:516:23: warning: ISO C++ does
not permit named variadic macros [-Wvariadic-macros]
  516 | #define warn(fmt, args...) msg(true, fmt, ##args)

I cannot tell you why this happens though. I tried to reproduce this
without a subproject by passing different compiler options and trying
different standard versions but did not manage. So, I'm not sure why
this is needed other than silencing annoying warnings in
libdisplay-info.

Signed-off-by: Sebastian Wick <sebastian.wick@redhat.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
meson.build