glib/glib
Rico Tzschichholz c67bd6cc54 gmessages: Fix G_GNUC_PRINTF mark for g_log_structured
GCC fails to build because of the trailing arguments, not part of the
format:

../../glib/gmessages.c: In function 'g_log_default_handler':
../../glib/gmessages.c:2385:21: error: too many arguments for format
[-Werror=format-extra-args]
                     NULL);
                     ^

The documentation for `__attribute__((format(...)))` in GCC

https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html#Common-Function-Attributes

States that the second index must be 0 for functions that are not
available to be checked, like for vprintf-style functions. In this case
it's also appropriate because of the trailing arguments.

The sd-journal API in systemd, upon which the structured logging API is
modelled, also uses 0 as the second argument for the format attribute.

https://bugzilla.gnome.org/show_bug.cgi?id=744456
2016-07-19 11:10:34 +01:00
..
deprecated Fix g_cond_timed_wait() timeout with !CLOCK_MONOTONIC 2014-10-10 06:41:55 -04:00
glib-mirroring-tab Use 'dumb quotes' rather than `really dumb quotes' 2013-05-21 11:23:22 -03:00
gnulib glib/gnulib/printf-parse.c: Fix build on Visual Studio 2008 2016-05-25 14:13:33 +08:00
libcharset Updated FSF's address 2014-01-31 14:31:55 +01:00
pcre regex test: Fix with --with-pcre=internal 2016-01-18 18:37:28 +00:00
tests gmessages: Add a structured logging API 2016-07-16 23:52:18 -04:00
update-pcre Rework the build system for a new tests approach 2013-05-31 23:12:15 -04:00
.gitignore update .gitignores 2011-06-12 16:17:30 -04:00
docs.c macros: add G_GNUC_CHECK_VERSION() for compiler checks. 2015-12-16 07:47:53 -05:00
galloca.h docs: Fix formatting of g_alloca documentation. 2014-06-28 13:43:23 -04:00
garray.c array: Support clearing an empty array with g_array_remove_range() 2016-03-09 07:50:07 +00:00
garray.h GArray: Documentation cleanups 2014-02-01 20:46:29 -05:00
gasyncqueue.c Documentation fixups 2015-09-21 06:44:58 -04:00
gasyncqueue.h GAsyncQueue: Add some useful api 2015-06-29 08:20:26 -07:00
gasyncqueueprivate.h Updated FSF's address 2014-01-31 14:31:55 +01:00
gatomic.c glib: Add missing (nullable) and (optional) annotations 2015-11-07 10:48:32 +01:00
gatomic.h Revert "gatomic: statically assert that our assumptions hold" 2014-07-23 09:28:23 -04:00
gbacktrace.c Use g_abort() instead of abort() where possible 2016-04-27 13:17:28 +00:00
gbacktrace.h gbacktrace: fix G_BREAKPOINT on Darwin (OSX, iOS) 2015-07-09 10:39:42 -04:00
gbase64.c docs: use "Returns:" consistently 2014-02-19 19:41:52 -05:00
gbase64.h Updated FSF's address 2014-01-31 14:31:55 +01:00
gbitlock.c glib: Add missing (nullable) and (optional) annotations 2015-11-07 10:48:32 +01:00
gbitlock.h Updated FSF's address 2014-01-31 14:31:55 +01:00
gbookmarkfile.c glib: Add filename type annotations 2016-06-04 20:38:33 +02:00
gbookmarkfile.h docs: Replace <structname> tags with back ticks 2014-05-31 19:22:15 +01:00
gbsearcharray.h Require C90 compliance 2013-11-20 09:16:16 -05:00
gbytes.c glib: Add missing (nullable) and (optional) annotations 2015-11-07 10:48:32 +01:00
gbytes.h Updated FSF's address 2014-01-31 14:31:55 +01:00
gcharset.c Fix thread safety of g_get_language_names() 2016-03-26 08:52:40 -04:00
gcharset.h Updated FSF's address 2014-01-31 14:31:55 +01:00
gcharsetprivate.h Updated FSF's address 2014-01-31 14:31:55 +01:00
gchecksum.c all: remove use of 'register' keyword 2014-06-28 13:07:52 -04:00
gchecksum.h Updated FSF's address 2014-01-31 14:31:55 +01:00
gconstructor.h gconstructor: Work around constructors being optimized away on MSVC 2015-11-12 15:01:54 +08:00
gconvert.c glib: Add filename type annotations 2016-06-04 20:38:33 +02:00
gconvert.h Doc: glib: Fix all undocumented/unused/undeclared symbols 2014-12-12 11:01:37 -05:00
gdataset.c glib: Add missing (nullable) and (optional) annotations 2015-11-07 10:48:32 +01:00
gdataset.h Updated FSF's address 2014-01-31 14:31:55 +01:00
gdatasetprivate.h Updated FSF's address 2014-01-31 14:31:55 +01:00
gdate.c Fix a typo 2016-04-07 08:43:24 -05:00
gdate.h Updated FSF's address 2014-01-31 14:31:55 +01:00
gdatetime.c g_date_time_format_locale: ensure locale encoding is used 2016-05-16 05:19:10 +00:00
gdatetime.h docs: Replace <structname> tags with back ticks 2014-05-31 19:22:15 +01:00
gdir.c glib: Add filename type annotations 2016-06-04 20:38:33 +02:00
gdir.h Doc: glib: Fix all undocumented/unused/undeclared symbols 2014-12-12 11:01:37 -05:00
gen-unicode-tables.pl unicode: Switch compose_second_single to gunichar 2014-06-28 12:49:07 -04:00
genviron.c Partly revert "glib: Add filename type annotations" 2016-06-07 19:48:11 +02:00
genviron.h Doc: glib: Fix all undocumented/unused/undeclared symbols 2014-12-12 11:01:37 -05:00
gerror.c gerror: Mention that g_clear_error can be used with an "empty" GError 2016-03-10 09:11:13 +01:00
gerror.h docs: Replace <structname> tags with back ticks 2014-05-31 19:22:15 +01:00
gfileutils.c gfileutils: Add missing (type filename) annotations 2016-06-15 11:04:18 -04:00
gfileutils.h Doc: glib: Fix all undocumented/unused/undeclared symbols 2014-12-12 11:01:37 -05:00
ggettext.c ggettext: Include an example of setlocale() and friends in the i18n docs 2015-01-15 14:22:25 +00:00
ggettext.h Updated FSF's address 2014-01-31 14:31:55 +01:00
ghash.c Return value of g_hash_table_get_{keys,values} is (transfer container) 2015-11-07 18:55:17 +02:00
ghash.h Updated FSF's address 2014-01-31 14:31:55 +01:00
ghmac.c Add g_compute_hmac_for_bytes() 2016-07-16 20:48:41 -04:00
ghmac.h Add g_compute_hmac_for_bytes() 2016-07-16 20:48:41 -04:00
ghook.c glib: Add missing (nullable) and (optional) annotations 2015-11-07 10:48:32 +01:00
ghook.h Updated FSF's address 2014-01-31 14:31:55 +01:00
ghostutils.c docs: use "Returns:" consistently 2014-02-19 19:41:52 -05:00
ghostutils.h Updated FSF's address 2014-01-31 14:31:55 +01:00
gi18n-lib.h Updated FSF's address 2014-01-31 14:31:55 +01:00
gi18n.h Updated FSF's address 2014-01-31 14:31:55 +01:00
giochannel.c glib: Add filename type annotations 2016-06-04 20:38:33 +02:00
giochannel.h Doc: glib: Fix all undocumented/unused/undeclared symbols 2014-12-12 11:01:37 -05:00
giounix.c Updated FSF's address 2014-01-31 14:31:55 +01:00
giowin32.c Use g_abort() instead of abort() where possible 2016-04-27 13:17:28 +00:00
gkeyfile.c keyfile: return 0 when the parsed double value is invalid 2016-07-16 20:50:54 -04:00
gkeyfile.h gkeyfile: add g_key_file_load_from_bytes() API 2016-06-20 17:53:00 -07:00
glib_gdb.py Rename gdb macros with _gdb suffix to avoid ns clashes 2016-05-23 10:52:10 -04:00
glib_probes.d glib: Add more GLib main context SystemTap and DTrace probes 2016-06-15 16:15:12 -04:00
glib_trace.h Updated FSF's address 2014-01-31 14:31:55 +01:00
glib-autocleanups.h Move GStrv typedef to glib.h instead of gobject.h 2015-09-22 11:18:30 -04:00
glib-init.c Add g_system_thread_set_name() implementation for W32 threads 2016-04-26 10:40:07 +00:00
glib-init.h Add g_system_thread_set_name() implementation for W32 threads 2016-04-26 10:40:07 +00:00
glib-object.h gobject: add support for g_auto() and g_autoptr() 2015-01-30 16:52:36 +01:00
glib-private.c Maintain the struct order when initializing 2015-10-08 12:32:58 +01:00
glib-private.h Export glib_init via GLIB_PRIVATE_CALL 2015-10-07 23:39:29 -04:00
glib-unix.c Convert remaining uses of 'Rename to:' 2015-03-12 16:55:22 -04:00
glib-unix.h docs: Remove a few trailing <literal>s 2014-02-14 21:49:42 -05:00
glib.h glib: add support for g_auto() and g_autoptr() 2015-01-30 16:52:36 +01:00
glib.rc.in Update the year in the *.rc.in files 2011-06-07 08:55:31 +08:00
glib.stp.in glib: Add more GLib main context SystemTap and DTrace probes 2016-06-15 16:15:12 -04:00
glibconfig.h.win32.in gmain: Add G_PID_FORMAT 2016-06-29 15:16:52 +01:00
glibintl.h various: add GLIB_AVAILABLE_IN_ALL everywhere else 2013-01-13 13:11:57 -05:00
glist.c glist: Clarify that g_list_nth() is expensive 2015-03-03 18:40:33 +00:00
glist.h Updated FSF's address 2014-01-31 14:31:55 +01:00
gmacros.h gmacros.h: offsetof is also available on MSVC 2016-07-13 11:44:34 +08:00
gmain-internal.h Updated FSF's address 2014-01-31 14:31:55 +01:00
gmain.c Do not use revents as not updated 2016-07-16 21:09:26 -04:00
gmain.h gmain: Add G_PID_FORMAT 2016-06-29 15:16:52 +01:00
gmappedfile.c glib: Add filename type annotations 2016-06-04 20:38:33 +02:00
gmappedfile.h Updated FSF's address 2014-01-31 14:31:55 +01:00
gmarkup.c Remove some unused code 2015-09-07 09:50:41 -04:00
gmarkup.h doc: various improvements 2014-05-09 18:47:42 +02:00
gmem.c glib: Add missing (nullable) and (optional) annotations 2015-11-07 10:48:32 +01:00
gmem.h glib: Add missing (nullable) and (optional) annotations 2015-11-07 10:48:32 +01:00
gmessages.c glib/gmessages.c: Use G_VA_COPY() instead of va_copy() 2016-07-18 14:25:52 +08:00
gmessages.h gmessages: Fix G_GNUC_PRINTF mark for g_log_structured 2016-07-19 11:10:34 +01:00
gmirroringtable.h Bug 491554 – Update to Unicode 5.1.0 2008-04-08 02:59:05 +00:00
gnode.c docs: use "Returns:" consistently 2014-02-19 19:41:52 -05:00
gnode.h glib: Add missing (nullable) and (optional) annotations 2015-11-07 10:48:32 +01:00
goption.c GOptionContext: Don't crash without main group 2015-07-27 07:53:40 -04:00
goption.h goption: Mention type of G_OPTION_ARG_CALLBACK in documentation 2015-03-13 09:10:25 +00:00
gpattern.c all: remove use of 'register' keyword 2014-06-28 13:07:52 -04:00
gpattern.h Updated FSF's address 2014-01-31 14:31:55 +01:00
gpoll.c W32: Do not ignore short waits in g_poll 2016-04-28 14:22:51 +00:00
gpoll.h Move G_POLLFD_FORMAT to glibconfig.h 2015-11-02 20:03:38 +02:00
gprimes.c Updated FSF's address 2014-01-31 14:31:55 +01:00
gprimes.h Updated FSF's address 2014-01-31 14:31:55 +01:00
gprintf.c glib: Add missing (nullable) and (optional) annotations 2015-11-07 10:48:32 +01:00
gprintf.h Updated FSF's address 2014-01-31 14:31:55 +01:00
gprintfint.h Updated FSF's address 2014-01-31 14:31:55 +01:00
gqsort.c glib: Add missing (nullable) and (optional) annotations 2015-11-07 10:48:32 +01:00
gqsort.h Updated FSF's address 2014-01-31 14:31:55 +01:00
gquark.c Move quark initialization to a constructor 2015-09-12 11:13:45 -04:00
gquark.h Updated FSF's address 2014-01-31 14:31:55 +01:00
gqueue.c Simplify code that uses g_queue_insert_before() and insert_after() 2014-11-09 20:42:50 +01:00
gqueue.h docs: Use markdown links in all .c and .h files 2014-04-15 22:19:07 +02:00
grand.c grand: rand_s is available in mingw64 2016-02-24 11:27:09 +01:00
grand.h Updated FSF's address 2014-01-31 14:31:55 +01:00
gregex.c Fix documentation typos 2016-04-11 23:31:38 -04:00
gregex.h Fix documentation typos 2016-04-11 23:31:38 -04:00
gscanner.c Minor documentation additions and corrections 2014-05-31 10:54:02 -04:00
gscanner.h Updated FSF's address 2014-01-31 14:31:55 +01:00
gscripttable.h Update to Unicode 8.0 2015-10-04 10:24:06 -04:00
gsequence.c gsequence: Improve is_end() 2016-05-09 15:55:53 +03:00
gsequence.h sequence: add g_sequence_is_empty() 2015-10-15 12:54:09 -07:00
gshell.c Partly revert "glib: Add filename type annotations" 2016-06-07 19:48:11 +02:00
gshell.h various: add GLIB_AVAILABLE_IN_ALL everywhere else 2013-01-13 13:11:57 -05:00
gslice.c glib: Add missing (nullable) and (optional) annotations 2015-11-07 10:48:32 +01:00
gslice.h Use G_STMT_START/END in gslice.h 2015-01-14 16:21:00 +01:00
gslist.c glist: Mention that g_list_length() is bad for checking list emptiness 2015-02-11 09:17:33 +00:00
gslist.h Updated FSF's address 2014-01-31 14:31:55 +01:00
gspawn-win32-helper.c win32: Replace usage of __wgetmainargs() 2015-07-23 04:22:59 -04:00
gspawn-win32.c Change W32 console detection to look at the window, not stdout 2014-08-05 06:44:01 +00:00
gspawn.c Partly revert "glib: Add filename type annotations" 2016-06-07 19:48:11 +02:00
gspawn.h Doc: glib: Fix all undocumented/unused/undeclared symbols 2014-12-12 11:01:37 -05:00
gstdio.c glib: Add filename type annotations 2016-06-04 20:38:33 +02:00
gstdio.h Make sure GStatBuf is typedefed correctly 2015-04-05 11:09:22 +00:00
gstrfuncs.c Fix documentation typos 2016-04-11 23:31:38 -04:00
gstrfuncs.h Move GStrv typedef to glib.h instead of gobject.h 2015-09-22 11:18:30 -04:00
gstring.c gstring: Explictly annotate return-values with (transfer none/full) 2016-02-02 17:38:05 +01:00
gstring.h Updated FSF's address 2014-01-31 14:31:55 +01:00
gstringchunk.c docs: use "Returns:" consistently 2014-02-19 19:41:52 -05:00
gstringchunk.h Updated FSF's address 2014-01-31 14:31:55 +01:00
gtester-report Make gtester-report compatible with Python 3 2015-11-05 12:53:19 +01:00
gtester.c Use g_abort() instead of abort() where possible 2016-04-27 13:17:28 +00:00
gtestutils.c gtestutils: add missing dash in seed argument's --help documentation 2016-07-16 20:39:18 -04:00
gtestutils.h testutils: remove internal ABI comment 2015-10-05 15:32:41 +02:00
gthread-posix.c Use g_abort() instead of abort() where possible 2016-04-27 13:17:28 +00:00
gthread-win32.c Use g_abort() instead of abort() where possible 2016-04-27 13:17:28 +00:00
gthread.c glib: Add more GLib main context SystemTap and DTrace probes 2016-06-15 16:15:12 -04:00
gthread.h gmem.h, gthread.h: Include glib/gutils.h 2015-02-10 23:17:07 +08:00
gthreadpool.c GThreadPool: Add some queue manipulation api 2015-06-29 08:20:26 -07:00
gthreadpool.h GThreadPool: Add some queue manipulation api 2015-06-29 08:20:26 -07:00
gthreadprivate.h Updated FSF's address 2014-01-31 14:31:55 +01:00
gtimer.c docs: use "Returns:" consistently 2014-02-19 19:41:52 -05:00
gtimer.h Updated FSF's address 2014-01-31 14:31:55 +01:00
gtimezone.c Bug 767824 - Some UTC timezones incorrectly recognized on Windows 7 2016-06-19 15:03:20 -07:00
gtimezone.h Updated FSF's address 2014-01-31 14:31:55 +01:00
gtranslit-data.h Add locale-sensitive ASCII transliteration API 2014-02-20 18:27:24 -05:00
gtranslit.c docs: add Since for g_str_to_ascii 2016-01-11 09:33:32 +00:00
gtrashstack.c GTrashStack: uninline and deprecate 2015-11-16 13:14:19 -05:00
gtrashstack.h GTrashStack: uninline and deprecate 2015-11-16 13:14:19 -05:00
gtree.c glib: Add missing (nullable) and (optional) annotations 2015-11-07 10:48:32 +01:00
gtree.h Updated FSF's address 2014-01-31 14:31:55 +01:00
gtypes.h gtypes.h: move G_STATIC_ASSERT to function scope 2015-11-27 11:27:51 -05:00
gunibreak.c docs: use "Returns:" consistently 2014-02-19 19:41:52 -05:00
gunibreak.h Update to Unicode 8.0 2015-10-04 10:24:06 -04:00
gunichartables.h Update to Unicode 8.0 2015-10-04 10:24:06 -04:00
gunicode.h doc: Update a few links to the Unicode Standard 2016-05-07 12:38:09 -04:00
gunicodeprivate.h Updated FSF's address 2014-01-31 14:31:55 +01:00
gunicollate.c docs: use "Returns:" consistently 2014-02-19 19:41:52 -05:00
gunicomp.h unicode: Update to unicode 7.0.0 2014-06-28 12:49:38 -04:00
gunidecomp.c docs: use "Returns:" consistently 2014-02-19 19:41:52 -05:00
gunidecomp.h Update to Unicode 8.0 2015-10-04 10:24:06 -04:00
guniprop.c Fix the upper bound in g_unichar_iswide_bsearch 2016-05-10 22:43:23 -04:00
gurifuncs.c Convert external links to markdown syntax 2014-02-05 21:23:28 -05:00
gurifuncs.h Updated FSF's address 2014-01-31 14:31:55 +01:00
gutf8.c Fix a corner-case in g_utf8_find_next_char 2016-07-16 21:34:21 -04:00
gutils.c glib: Add filename type annotations 2016-06-04 20:38:33 +02:00
gutils.h Add g_abort() 2016-04-27 13:17:27 +00:00
gvariant-core.c glib: Add missing (nullable) and (optional) annotations 2015-11-07 10:48:32 +01:00
gvariant-core.h Updated FSF's address 2014-01-31 14:31:55 +01:00
gvariant-internal.h Updated FSF's address 2014-01-31 14:31:55 +01:00
gvariant-parser.c GVariant text: fix scan of positional parameters 2016-02-22 08:48:44 -05:00
gvariant-serialiser.c Updated FSF's address 2014-01-31 14:31:55 +01:00
gvariant-serialiser.h Updated FSF's address 2014-01-31 14:31:55 +01:00
gvariant.c Doc: Clarify when g_variant_get_fixed_array() should be used instead of _get_bytestring() 2016-07-16 22:13:47 -04:00
gvariant.h GVariant: Add a G_VARIANT_DICT_INIT macro 2016-07-16 21:41:16 -04:00
gvarianttype.c Convert GVariantType table to a list 2014-02-08 13:43:16 -05:00
gvarianttype.h Updated FSF's address 2014-01-31 14:31:55 +01:00
gvarianttypeinfo.c Updated FSF's address 2014-01-31 14:31:55 +01:00
gvarianttypeinfo.h Updated FSF's address 2014-01-31 14:31:55 +01:00
gversion.c Minor documentation additions and corrections 2014-05-31 10:54:02 -04:00
gversion.h Updated FSF's address 2014-01-31 14:31:55 +01:00
gversionmacros.h glib: Add 2.50 availibity macros 2016-04-27 13:17:27 +00:00
gwakeup.c gwakeup: Clarify buffer sizing in g_wakeup_signal() 2014-06-21 17:41:31 +01:00
gwakeup.h Updated FSF's address 2014-01-31 14:31:55 +01:00
gwin32.c win32: use wide-char for constants 2016-03-15 11:14:57 +01:00
gwin32.h Win32: Move g_win32_check_windows_version() to the correct place in header 2015-03-12 16:09:14 -04:00
libglib-gdb.py.in Rename gdb macros with _gdb suffix to avoid ns clashes 2016-05-23 10:52:10 -04:00
Makefile.am gmessages: Add a structured logging API 2016-07-16 23:52:18 -04:00
makefile.msc.in win32: Use timeGetTime as monotonic base 2011-11-16 09:10:46 +01:00
update-gtranslit.py Add locale-sensitive ASCII transliteration API 2014-02-20 18:27:24 -05:00
valgrind.h Doc: glib: Fix all undocumented/unused/undeclared symbols 2014-12-12 11:01:37 -05:00
win_iconv.c winiconv: update to upstream version 2016-01-26 12:55:55 +01:00