0_0_3259334_3379.cpp:15: error: `p1' has incomplete type
0_0_3259334_3379.cpp:15: error: invalid use of `const void'
0_0_3259334_3379.cpp:15: error: `p2' has incomplete type
0_0_3259334_3379.cpp:15: error: invalid use of `const void'
0_0_3259334_3379.cpp: In function `int cmp1(<type error>, <type error>)':
0_0_3259334_3379.cpp:16: error: cannot convert `p1' from type `<type error>' to type `Student*'
0_0_3259334_3379.cpp:16: error: cannot convert `p2' from type `<type error>' to type `Student*'
0_0_3259334_3379.cpp: At global scope:
0_0_3259334_3379.cpp:19: error: `p1' has incomplete type
0_0_3259334_3379.cpp:19: error: invalid use of `const void'
0_0_3259334_3379.cpp:19: error: `p2' has incomplete type
0_0_3259334_3379.cpp:19: error: invalid use of `const void'
0_0_3259334_3379.cpp: In function `int cmp2(<type error>, <type error>)':
0_0_3259334_3379.cpp:20: error: cannot convert `p2' from type `<type error>' to type `Student*'
0_0_3259334_3379.cpp:20: error: cannot convert `p1' from type `<type error>' to type `Student*'
0_0_3259334_3379.cpp: At global scope:
0_0_3259334_3379.cpp:23: error: `p1' has incomplete type
0_0_3259334_3379.cpp:23: error: invalid use of `const void'
0_0_3259334_3379.cpp:23: error: `p2' has incomplete type
0_0_3259334_3379.cpp:23: error: invalid use of `const void'
0_0_3259334_3379.cpp: In function `int cmp3(<type error>, <type error>)':
0_0_3259334_3379.cpp:24: error: cannot convert `p2' from type `<type error>' to type `Student*'
0_0_3259334_3379.cpp:24: error: cannot convert `p1' from type `<type error>' to type `Student*'
0_0_3259334_3379.cpp: In function `int main()':
0_0_3259334_3379.cpp:39: error: invalid conversion from `int (*)(<type error>, <type error>)' to `int (*)(const void*, const void*)'
0_0_3259334_3379.cpp:39: error: initializing argument 4 of `void qsort(void*, size_t, size_t, int (*)(const void*, const void*))'
0_0_3259334_3379.cpp:40: error: invalid conversion from `int (*)(<type error>, <type error>)' to `int (*)(const void*, const void*)'
0_0_3259334_3379.cpp:40: error: initializing argument 4 of `void qsort(void*, size_t, size_t, int (*)(const void*, const void*))'
0_0_3259334_3379.cpp:41: error: invalid conversion from `int (*)(<type error>, <type error>)' to `int (*)(const void*, const void*)'
0_0_3259334_3379.cpp:41: error: initializing argument 4 of `void qsort(void*, size_t, size_t, int (*)(const void*, const void*))'
|