evdi icon indicating copy to clipboard operation
evdi copied to clipboard

evdi_encoder.c:57:11: error: format not a string literal and no format arguments

Open thx1111 opened this issue 4 years ago • 2 comments

Arch linux 5.11.13.arch1-1

Making package: evdi-git 1.9.1.r4.gb0b3d13-1 (Sun 11 Apr 2021 12:32:16 PM MDT)
...
/var/build/evdi-git/src/evdi/module/evdi_encoder.c: In function ‘evdi_encoder_init’:
/var/build/evdi-git/src/evdi/module/evdi_encoder.c:57:11: error: format not a string literal and no format arguments [-Werror=format-security]
   57 |           DRM_MODE_ENCODER_TMDS, dev_name(dev->dev));
      |           ^~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
...

thx1111 avatar Apr 11 '21 19:04 thx1111

On Arch Linux, with pacman 5.2.2-3, currently in testing, /etc/makepkg.conf now sets -Werror=format-security by default in CFLAGS=.

thx1111 avatar Apr 11 '21 20:04 thx1111

Also an issue on Fedora 36

ffgiff avatar May 25 '22 20:05 ffgiff