You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bash-5.0# cc --version
cc (Alpine 9.3.0) 9.3.0
Copyright (C) 2019 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
cc -Wall -Werror -Iinc -O2 -g -Wunused-parameter -std=c99 -fPIC -c -o ubpf_loader.o ubpf_loader.c
ubpf_loader.c: In function 'ubpf_load_elf':
ubpf_loader.c:133:30: error: invalid type argument of '->' (have 'struct section')
133 | (§ions[i]->size > 0)) {
Looks like GCC is confused about order of operators here. Adding a () around it fixes it.
The text was updated successfully, but these errors were encountered:
Looks like GCC is confused about order of operators here. Adding a () around it fixes it.
The text was updated successfully, but these errors were encountered: