From a9c2b978ec46f13dd67ae78a2000dd22f8736cf3 Mon Sep 17 00:00:00 2001
From: Marko Lindqvist <cazfi74@gmail.com>
Date: Mon, 26 May 2025 04:21:50 +0300
Subject: [PATCH 77/77] Meson: Enable -Wtrailing-whitespace on C++ compilations

See RM #1348

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
---
 meson.build | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/meson.build b/meson.build
index e982a553ef..f412473e01 100644
--- a/meson.build
+++ b/meson.build
@@ -38,7 +38,8 @@ c_cpp_args = [
 
 cpp_args = [
   '-Wno-deprecated-declarations',
-  '-fPIC'
+  '-fPIC',
+  '-Wtrailing-whitespace'
   ]
 
 foreach arg : c_args
-- 
2.47.2

