Skip to content

Use gcc printf format attribute to fix format string bugs

Simon McVittie requested to merge smcv/waffle:printf-attribute into master
  • waffle_dl: Fix missing format string parameter

    Previously, this would print whatever uninitialized value happened to be on the stack.

  • waffle_window_create2: Fix mismatch between format string and parameter

  • Mark printf-like functions with the appropriate gcc attribute

  • meson: Enable format-string-related compiler warnings

Edited by Simon McVittie

Merge request reports

Loading