error: invalid argument '-std=c99' not allowed with 'C++'
compiling system_stm32f0xx.c...
error: invalid argument '-std=c99' not allowed with 'C++'
compiling retarget.c...
error: invalid argument '-std=c99' not allowed with 'C++'
这个错误意思是-std=c99不允许使用C++,后面查看-std这个编译选项发现这个是用来指定编译语言类型的,比如C或者C++
查看armclang用户手册
error: invalid argument '-std=c99' not allowed with 'C++'
compiling system_stm32f0xx.c...
error: invalid argument '-std=c99' not allowed with 'C++'
compiling retarget.c...
error: invalid argument '-std=c99' not allowed with 'C++'
这个错误意思是-std=c99不允许使用C++,后面查看-std这个编译选项发现这个是用来指定编译语言类型的,比如C或者C++
查看armclang用户手册