|
From: | Florian Weimer |
Subject: | /*unsigned*/ int level3 in gen-uni-tables.c |
Date: | Wed, 12 Aug 2020 19:06:12 +0200 |
gen-uni-tables.c produces types like this: struct { int header[1]; int level1[2]; short level2[2 << 7]; /*unsigned*/ int level3[16 << 4]; } Why is the unsigned commented out? Some of the constants are so large that they are treated as unsigned ints. This kind of narrowing initialization is no longer valid C++.
[Prev in Thread] | Current Thread | [Next in Thread] |