Hello: This series was applied to bpf/bpf-next.git (master) by Daniel Borkmann <daniel@xxxxxxxxxxxxx>: On Wed, 30 Nov 2022 12:00:12 -0800 you wrote: > C++ enum forward declarations are fundamentally not compatible with pure > C enum definitions, and so libbpf's use of `enum bpf_stats_type;` > forward declaration in libbpf/bpf.h public API header is causing C++ > compilation issues. > > More details can be found in [0], but it comes down to C++ supporting > enum forward declaration only with explicitly specified backing type: > > [...] Here is the summary with links: - [bpf-next,1/2] libbpf: avoid enum forward-declarations in public API in C++ mode https://git.kernel.org/bpf/bpf-next/c/b42693415b86 - [bpf-next,2/2] selftests/bpf: make sure enum-less bpf_enable_stats() API works in C++ mode https://git.kernel.org/bpf/bpf-next/c/f8186bf65ae6 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html