NetworkManager/shared/nm-utils
Lubomir Rintel fc4552d391 shared/utils: don't warn of unknown warning disables with clang
When pushing a warning disable with clang, always disable
-Wunknown-warning-option first -- it might be that clang wouldn't warn
of what we're trying to disable because it doesn't recognize it in the
first place. That is entierely okay.

With clang-5.0.0:

    CC       libnm/tests/libnm_tests_test_secret_agent-test-secret-agent.o
  In file included from libnm/tests/test-secret-agent.c:29:
  In file included from ./shared/nm-test-libnm-utils.h:23:
  ./shared/nm-utils/nm-test-utils.h:432:3: error: unknown warning group '-Wunused-but-set-variable', ignored [-Werror,-Wunknown-warning-option]
                  NM_PRAGMA_WARNING_DISABLE("-Wunused-but-set-variable")
                  ^
  ./shared/nm-utils/nm-macros-internal.h:223:9: note: expanded from macro 'NM_PRAGMA_WARNING_DISABLE'
          _Pragma(_NM_PRAGMA_WARNING_DO(warning))
          ^
  <scratch space>:204:25: note: expanded from here
   GCC diagnostic ignored "-Wunused-but-set-variable"
                          ^
  1 error generated.
2018-01-24 09:53:38 +01:00
..
c-list-util.c shared: implement c_list_sort() as non-recursive merge-sort 2018-01-03 16:41:47 +01:00
c-list-util.h c-list: add c_list_sort() 2017-07-25 06:42:14 +02:00
c-list.h c-list: re-import latest version of c-list.h from upstream 2017-11-28 11:26:39 +01:00
gsystem-local-alloc.h shared: move shared files to subdirectory "shared/nm-utils/" 2016-06-16 10:45:53 +02:00
nm-c-list.h shared: add NMCListElem 2018-01-09 14:24:53 +01:00
nm-compat.c shared/compat: minor refactoring of compat code 2017-12-22 15:53:22 +01:00
nm-compat.h shared/compat: add compat for nm_setting_vpn_get_data_keys() and nm_setting_vpn_get_secret_keys() 2017-11-23 14:44:25 +01:00
nm-dedup-multi.c all: require glib 2.40 2018-01-18 11:45:36 +01:00
nm-dedup-multi.h all: extend hash functions with an NMHashState argument 2017-10-18 13:29:22 +02:00
nm-enum-utils.c shared: cast from/to argument to unsigned for GFlags in _nm_utils_enum_get_values() 2017-04-27 18:01:58 +02:00
nm-enum-utils.h libnm: move public nm_utils_enum_*() functions back to libnm-core 2017-04-05 18:38:31 +02:00
nm-glib.h all: require glib 2.40 2018-01-18 11:45:36 +01:00
nm-hash-utils.c build: include "siphash24.c" source in "nm-hash-utils.c" 2017-11-16 11:49:52 +01:00
nm-hash-utils.h shared: add nm_hash_static() to get a static hash key 2017-11-16 11:48:05 +01:00
nm-jansson.h all: require jansson 2.5 2018-01-18 11:45:24 +01:00
nm-macros-internal.h shared/utils: don't warn of unknown warning disables with clang 2018-01-24 09:53:38 +01:00
nm-obj.h all: add base object type in "nm-obj.h" 2017-07-05 14:22:10 +02:00
nm-random-utils.c all: use nm_close() instead of close() 2017-11-14 15:10:42 +01:00
nm-random-utils.h shared: split random and hash utils 2017-10-17 20:02:59 +02:00
nm-shared-utils.c shared: add nm_utils_strv_make_deep_copied() helper 2017-12-18 12:10:11 +01:00
nm-shared-utils.h shared: add nm_utils_strv_make_deep_copied() helper 2017-12-18 12:10:11 +01:00
nm-test-utils.h tests: fix test setup after requiring glib 2.40 2018-01-22 08:31:00 +01:00
nm-udev-utils.c libnm: don't cunescape \x00 encoding in nm_udev_utils_property_decode() 2017-05-19 09:46:08 +02:00
nm-udev-utils.h udev: add and use nm_udev_utils_property_decode() function 2017-03-22 12:41:06 +01:00
nm-vpn-editor-plugin-call.h shared: include "gsystem-local-alloc.h" from "nm-glib.h" 2016-06-16 10:45:54 +02:00
nm-vpn-plugin-macros.h shared: add nm_utils_syslog_coerce_from_nm() util 2016-09-19 15:35:33 +02:00
nm-vpn-plugin-utils.c shared: add "nm-utils/nm-vpn-plugin-utils.h" 2016-06-16 10:45:54 +02:00
nm-vpn-plugin-utils.h shared: add "nm-utils/nm-vpn-plugin-utils.h" 2016-06-16 10:45:54 +02:00
siphash24.c systemd: merge branch systemd into master 2017-12-13 10:41:18 +01:00
siphash24.h systemd: update code from upstream (2017-10-11) 2017-10-18 13:38:03 +02:00
unaligned.h systemd: update code from upstream (2017-12-13) 2017-12-13 09:09:50 +01:00