Re: Errors compiling BPF programs from Linux selftests/bpf with GCC

2024-12-30 Thread Alexei Starovoitov via Gcc
On Mon, Dec 30, 2024 at 5:26 PM Ihor Solodrai wrote: > > > > > > > #if STDC_VERSION < 202311L > > > enum { > > > false = 0, > > > true = 1, > > > }; > > > #endif > > > > > > Any drawbacks to this? > > > > > > By special hacking this specific enum in bpftool ? > > Feels like overkill when just addi

Re: Errors compiling BPF programs from Linux selftests/bpf with GCC

2024-12-30 Thread Alexei Starovoitov via Gcc
On Mon, Dec 30, 2024 at 12:59 PM Ihor Solodrai wrote: > > On Monday, December 30th, 2024 at 12:36 PM, Sam James wrote: > > > > > > > Andrew Pinski via Gcc gcc@gcc.gnu.org writes: > > > > > On Mon, Dec 30, 2024 at 12:11 PM Ihor Solodrai via Gcc gcc@gcc.gnu.org > > > wrote: > > > > > > > Hello eve