pipewire/spa
Barnabás Pőcze 39ce32985b spa: support single argument static assertions in older standards
Single argument static_assert() is only available since
C++17 and C23. Some compilers accept it even in earlier language
versions, but some do not.

Single argument static assertions can be supported by using
a GCC extensions, namely that `, ## __VA_ARGS__` removes the
comma if the variadic argument list is empty. This enables a
construction which passes a pre-determined string as the second
argument of the underlying static_assert() when only a single
argument is used in the `SPA_STATIC_ASSERT()` macro.

Fixes #3050
2023-03-04 11:57:51 +00:00
..
examples treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
include spa: support single argument static assertions in older standards 2023-03-04 11:57:51 +00:00
plugins alsa: improve target delay in ALSA 2023-03-03 14:59:38 +01:00
tests treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
tools treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
meson.build alsa-compress-offload-sink: major sink rework 2023-02-24 14:15:13 +01:00