Lately I'd obsessed over compiling STM32 project with ARMCLANG.
Here is Details:
Case 1. Used "#include <sstream>" in cpp file, complied successfully but execute failed, meanwhile I didn't use any function in <sstream>.
Case 2. Comment this code, project is fine.
Environment:
IDE: MDK 5.2.5
Compiler: armclang v6.9
SRC: c/c++ file.
Board: stm32f4 series(CPU Cortex-M4, Arch armv7-M).
c++