Files
glib/gobject
Thomas Haller 76ed4680bb all: fix wrong "#if G_ENABLE_DEBUG" usage
The proper, documented way to check for debug mode is "#ifdef G_ENABLE_DEBUG",
not "#if G_ENABLE_DEBUG".

  $ git grep -l '# *if \+G_ENABLE_DEBUG' | xargs sed 's/#if \+G_ENABLE_DEBUG/#ifdef G_ENABLE_DEBUG/g' -i

This (and other such errors) would be caught by "-Wundef", which CI
probably should run.

  $ CFLAGS="-Werror=undef" meson build -Dglib_debug=disabled && ninja -C build -k 0
2025-04-10 08:48:44 +02:00
..
2023-10-16 23:34:04 +01:00
2023-12-31 09:09:48 +00:00
2022-10-13 20:53:56 -04:00
2023-10-16 23:35:05 +01:00
2023-12-31 09:09:48 +00:00
2022-10-13 20:53:56 -04:00
2023-10-16 23:34:24 +01:00
2022-10-13 20:53:56 -04:00
2022-10-13 20:53:56 -04:00
2025-02-10 10:26:42 +01:00
2023-10-23 11:26:53 +01:00
2022-10-13 20:53:56 -04:00