Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- criu/seccomp.c:30:25: error: ‘struct seccomp_metadata’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
- int len, struct seccomp_metadata *meta)
- ^~~~~~~~~~~~~~~~
- CC criu/sockets.o
- criu/seccomp.c: In function ‘find_inherited’:
- criu/seccomp.c:45:34: error: dereferencing pointer to incomplete type ‘struct seccomp_metadata’
- if (info->filter.flags != meta->flags)
- ^~
- criu/seccomp.c: In function ‘collect_filter_for_pstree’:
- criu/seccomp.c:57:26: error: storage size of ‘meta_buf’ isn’t known
- struct seccomp_metadata meta_buf, *meta = &meta_buf;
- ^~~~~~~~
- criu/seccomp.c:89:7: error: dereferencing pointer to incomplete type ‘struct seccomp_metadata’
- meta->flags = 0;
- ^~
- criu/seccomp.c:108:54: error: passing argument 4 of ‘find_inherited’ from incompatible pointer type [-Werror=incompatible-pointer-types]
- inherited = find_inherited(item->parent, buf, len, meta);
- ^~~~
- criu/seccomp.c:30:43: note: expected ‘struct seccomp_metadata *’ but argument is of type ‘struct seccomp_metadata *’
- int len, struct seccomp_metadata *meta)
- ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
- criu/seccomp.c:57:26: error: unused variable ‘meta_buf’ [-Werror=unused-variable]
- struct seccomp_metadata meta_buf, *meta = &meta_buf;
- ^~~~~~~~
- cc1: all warnings being treated as errors
- make[2]: *** [/home/rst/Projects/Libvirt/criu/scripts/nmk/scripts/build.mk:111: criu/seccomp.o] Error 1
- make[2]: *** Waiting for unfinished jobs....
- make[1]: *** [criu/Makefile:78: criu/built-in.o] Error 2
- make: *** [Makefile:228: criu] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement