We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
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