GNOME Bugzilla – Bug 724417
glib master build broken on OpenBSD
Last modified: 2014-02-15 15:33:11 UTC
Hi. This commit broke glib master on OpenBSD: From ddf82a25761ed6aae17e478ab5d3096275b32b35 Mon Sep 17 00:00:00 2001 From: Ryan Lortie <desrt@desrt.ca> Date: Sun, 08 Dec 2013 19:22:51 +0000 Subject: [PATCH] Fix trivial non literal format uses test-printf.c: In function 'test_d': test-printf.c:191: error: #pragma GCC diagnostic not allowed inside functions test-printf.c:192: error: #pragma GCC diagnostic not allowed inside functions test-printf.c:202: error: #pragma GCC diagnostic not allowed inside functions Makefile:1846: recipe for target 'test-printf.o' failed gmake[5]: *** [test-printf.o] Error 1
Created attachment 269196 [details] [review] only '#pragma GCC' outside of functions Don't use #pragma GCC inside of function scope. Can you check if this fixes the issue for you?
> Can you check if this fixes the issue for you? Yup it does, thanks a lot :-)
Attachment 269196 [details] pushed as 08533ca - only '#pragma GCC' outside of functions