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>