Trying to use std::array in my project.
Getting error the file not found.
Code:
#include <array> std::array<int, 3> myArray; // declare an integer array with length 3
I checked and the file array exists in : C:\Keil_v5\ARM\FUSAArmCompilerLTM\include\libcxx\array
Also, the file itself is configured to be c++.
Compiler control for file:
-xc++ -std=c++14 --target=arm-arm-none-eabi -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -c-fno-rtti -funsigned-char -fno-exceptions
Misc:-nostdlibinc -nostdlib -fno-builtin -ffp-mode=full
Config
What is strange is that keil uVision does not underline my code red, but it won't compile!