Created attachment 5226
Fixes a build error.
I'm using Xubuntu 13.10 and tried to build git master.
As -Werror is specified the following warning prevents a build:
xfce-mixer-debug.c: In function 'xfce_mixer_debug_real':
xfce-mixer-debug.c:103:3: error: function might be possible candidate for 'gnu_printf' format attribute [-Werror=suggest-attribute=format]
g_logv (log_domain, G_LOG_LEVEL_DEBUG, prefixed_format, args);
cc1: all warnings being treated as errors
I've attached a fix.
Fixed in master (see commit message below). I've used G_GNUC_PRINTF instead of the GCC-specific __attribute__((format(printf, ..., ...)) notation. The latter would break the build on various compilers and G_GNUC_PRINTF fixes that.
Author: Jannis Pohlmann <email@example.com>
Date: Fri Jul 25 13:45:14 2014 +0200
Fix build with GCC 4.8.1 by using G_GNUC_PRINTF (bug #10474)
The actual problem here is that you compile with --enable-debug (default if you use an unreleased git version) which triggers -Werror which in turn leads gcc to trip over many bogus warnings which are no bugs at all such as this one. If you're not a developer use ./autogen --enable-debug=minimum.