|
编译到一半出现下面这样的错误,然后就进行不下去了,这是怎么回事乜?
/usr/include/linux/list.h: At global scope:
/usr/include/linux/list.h:222: error: expected `,' or `...' before "new"
/usr/include/linux/list.h: In function `void list_replace_rcu(list_head*, list_head*)':
/usr/include/linux/list.h:223: error: expected identifier before '->' token
/usr/include/linux/list.h:223: error: expected `;' before '->' token
/usr/include/linux/list.h:224: error: expected identifier before '->' token
/usr/include/linux/list.h:224: error: expected `;' before '->' token
/usr/include/linux/list.h:226: error: expected identifier before '->' token
/usr/include/linux/list.h:226: error: expected `;' before '->' token
/usr/include/linux/list.h:227: error: expected identifier before '->' token
/usr/include/linux/list.h:227: error: expected `;' before '->' token
In file included from /usr/include/linux/keyboard.h:14,
from inputmanager.cpp:517:
/usr/include/linux/wait.h: In function `int wait_on_bit(void*, int, int (*)(void*), unsigned int)':
/usr/include/linux/wait.h:376: error: invalid conversion from `void*' to `const volatile long unsigned int*'
/usr/include/linux/wait.h:376: error: initializing argument 2 of `int constant_test_bit(int, const volatile long unsigned int*)'
/usr/include/linux/wait.h:376: error: invalid conversion from `void*' to `const volatile long unsigned int*'
/usr/include/linux/wait.h:376: error: initializing argument 2 of `int variable_test_bit(int, const volatile long unsigned int*)'
/usr/include/linux/wait.h: In function `int wait_on_bit_lock(void*, int, int (*)(void*), unsigned int)':
/usr/include/linux/wait.h:400: error: invalid conversion from `void*' to `volatile long unsigned int*'
/usr/include/linux/wait.h:400: error: initializing argument 2 of `int test_and_set_bit(int, volatile long unsigned int*)' |
|