aboutsummaryrefslogtreecommitdiffstats
path: root/alc
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2023-12-18 17:41:07 -0800
committerChris Robinson <[email protected]>2023-12-18 17:41:07 -0800
commitcce4c81282ee5434d707458a9e061a6fcd1189d5 (patch)
tree1e424a3ee6d81ff58a37be398ae53406a5e259c8 /alc
parent708a90ef8ef7ee00991556298073c50dfa6e72a1 (diff)
Fix and cleanup some more warnings
Diffstat (limited to 'alc')
-rw-r--r--alc/backends/pipewire.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/alc/backends/pipewire.cpp b/alc/backends/pipewire.cpp
index 9c9323ec..c8264796 100644
--- a/alc/backends/pipewire.cpp
+++ b/alc/backends/pipewire.cpp
@@ -76,6 +76,10 @@ _Pragma("GCC diagnostic ignored \"-Weverything\"")
#include "spa/pod/builder.h"
#include "spa/utils/json.h"
+/* NOLINTBEGIN : All kinds of unsafe C stuff here from PipeWire headers
+ * (function-like macros, C style casts in macros, etc), which we can't do
+ * anything about except wrap into inline functions.
+ */
namespace {
/* Wrap some nasty macros here too... */
template<typename ...Args>
@@ -117,6 +121,7 @@ constexpr auto make_pod_builder(void *data, uint32_t size) noexcept
constexpr auto PwIdAny = PW_ID_ANY;
} // namespace
+/* NOLINTEND */
_Pragma("GCC diagnostic pop")
namespace {