Tcc considered function ptrs with different return types to be compatible which disallowed some otherwise valid operations like: `_Generic(foo, int(*)():0, void(*)(void):1)` which would fail to compile with a error message of "type match twice" This changed also required longjump's return type to be void and munmap's to be int to be compatible with standard headers.
15 lines
38 B
Text
15 lines
38 B
Text
20
|
|
10
|
|
20
|
|
123
|
|
2
|
|
0
|
|
5
|
|
1
|
|
2
|
|
3
|
|
4
|
|
long
|
|
1
|
|
3
|
|
5
|