-linux-gnu/bits/fcntl2.h:44:7: error: invalid use of ‘__builtin_va_arg_pack_len ()’
/usr/include/x86_64-linux-gnu/bits/fcntl2.h:45:26: error: call to ‘__open_too_many_args’ declared with attribute error.h:42:1: error: invalid use
Linux通过替换下面__SYSCALL_DEFINEx的marco来修复这个缺陷 asmlinkage long sys##name(__SC_DECL##x(__VA_ARGS__)) #define __SYSCALL_DEFINEx) \
asmlinkage long sys##name(__SC_DECL##x(__VA_ARGS<