mirror of
https://github.com/mirror/tinycc.git
synced 2024-12-28 04:00:06 +08:00
355897a920
When defining an array with non-explicit size, one would get "incompatible types for redefinition of 'array' if the array was already declared with a different size. For example: extern int array[2]; int array[] = {1}; would fail to compile with tcc. Instead the above is now equivalent to: int array[] = {1, 0};
31 lines
186 B
Plaintext
31 lines
186 B
Plaintext
0: 12
|
|
1: 34
|
|
2: 56
|
|
3: 78
|
|
4: 90
|
|
5: 123
|
|
6: 456
|
|
7: 789
|
|
8: 8642
|
|
9: 9753
|
|
0: 12
|
|
1: 34
|
|
2: 56
|
|
3: 78
|
|
4: 90
|
|
5: 123
|
|
6: 456
|
|
7: 789
|
|
8: 8642
|
|
9: 9753
|
|
0: 12
|
|
1: 34
|
|
2: 0
|
|
3: 0
|
|
4: 0
|
|
5: 0
|
|
6: 0
|
|
7: 0
|
|
8: 0
|
|
9: 0
|