]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
lttng-tools: Remove the scope resolution operator
authorMingli Yu <mingli.yu@windriver.com>
Thu, 24 Jul 2025 09:28:14 +0000 (17:28 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 19 Aug 2025 08:56:10 +0000 (09:56 +0100)
commit607b27a42a53377e9d4cc6fa1abe335dde5c770b
tree27b8ff3e52398e5938c171253602e4362388aff8
parenta09c0fa79cba48c76ed9b582e42becff91f32435
lttng-tools: Remove the scope resolution operator

Remove the scope resolution operator :: to fix the below build failure.
 | ../../../sources/lttng-tools-2.14.0/src/common/eventfd.cpp:18:31: error: expected id-expression before numeric constant
 |    18 |                 int flags = ::EFD_CLOEXEC;
 |       |                               ^~~~~~~~~~~
 | ../../../sources/lttng-tools-2.14.0/src/common/eventfd.cpp:21:36: error: expected id-expression before numeric constant
 |    21 |                         flags |= ::EFD_SEMAPHORE;
 |       |

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-kernel/lttng/lttng-tools/0001-eventfd.cpp-Remove-the-scope-resolution-operator.patch [new file with mode: 0644]
meta/recipes-kernel/lttng/lttng-tools_2.14.0.bb