8 ms·
It's standard behaviour or one compiler does so? Outside preprocessor char has another meaning? Thanks anyway.
by krollew 14y ago
It's standard behaviour or one compiler does so? Outside preprocessor char has another meaning? Thanks anyway.
- cperciva 14y agoOutside of the preprocessor, the char type is a one-byte integer (whether it's signed or not is implementation-defined).
- krollew 14y agoSo the good solution is make a test that finds it out, for example in configuration script and set proper preprocessor constant and test that constant instead.