mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-06 03:30:31 +01:00
Some compilers don't convert arrays as _Generic() type selectors to their pointer type. That means, for those compilers the generic type would be an array and not a pointer. Work around that by adding zero to the pointer/array argument. Also, I cannot get this to work with "clang-3.4.2-9.el7". Disable it for that compiler. The value of the generic check is anyway that it only needs to work with some compiler combinations. That will trigger a compilation failure and we can fix the implementation also for compilers that don't support the macro. See-also: http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1930.htm |
||
|---|---|---|
| .. | ||
| c-list | ||
| c-rbtree | ||
| c-siphash | ||
| c-stdaux | ||
| n-acd | ||
| n-dhcp4 | ||
| nm-glib-aux | ||
| nm-libnm-core-aux | ||
| nm-libnm-core-intern | ||
| nm-std-aux | ||
| nm-udev-aux | ||
| nm-utils | ||
| systemd | ||
| meson.build | ||
| nm-default.h | ||
| nm-meta-setting.c | ||
| nm-meta-setting.h | ||
| nm-test-libnm-utils.h | ||
| nm-test-utils-impl.c | ||
| nm-version-macros.h.in | ||