mirror of https://github.com/ARMmbed/mbed-os.git
b1b69d2d60
### Description Arm compiler 5 builds with "short" enums and "short" wchars. This means that C/C++ enums will be packed into the smallest power of 2 number of bytes by the compiler and the `wchar_t` is 2 bytes. Arm compiler 6 defaults to packing enums into 4 bytes and `wchar_t` is 4 bytes. Further, Arm Compiler 5's `-O0` (no optimizations) bulids will actually do some amount of optimizing, similar to Arm Compiler 6's `-O1`. I have switched the debug profile to `-O1` for maximum compatibility with our prior behavior. NOTE: "Compatibilize" is a word ### Pull request type [x] Fix [ ] Refactor [ ] Target update [ ] Functionality change [ ] Docs update [ ] Test update [ ] Breaking change |
||
---|---|---|
.. | ||
debug.json | ||
develop.json | ||
release.json |