Skip to content

Fix compilation warnings

I forgot to test a compilation without debug support when doing !60 (merged), sorry (even though it would have been a separate commit anyway).

Command used to build:

CFLAGS=$XFCE_CFLAGS ./autogen.sh --disable-debug && make

with

XFCE_CFLAGS=$(echo \
  -DXFCE_DISABLE_DEPRECATED \
  -Wall -Wextra \
  -Wno-missing-field-initializers \
  -Wno-unused-parameter -Wold-style-definition \
  -Wdeclaration-after-statement \
  -Wmissing-declarations \
  -Wmissing-noreturn -Wpointer-arith \
  -Wcast-align -Wformat -Wformat-security -Wformat-y2k \
  -Winit-self -Wmissing-include-dirs -Wundef \
  -Wnested-externs -Wredundant-decls -Wshadow \
)
Edited by Gaël Bonithon

Merge request reports