unique_ptr

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

unique_ptr

498 Views
robertnguyen
Contributor II

Does arm-none-eabi gcc 4.7.3 support unique_ptr? I got compile error: error: 'unique_ptr' in namespace 'std' does not name a type when trying to use it in MCU 10.6.

 

Below is my c++ compiler flags:

COMPILER_PATH=c:/freescale/cw mcu v10.6/cross_tools/arm-none-eabi-gcc-4_7_3/bin/../lib/gcc/arm-none-eabi/4.7.3/;c:/freescale/cw mcu v10.6/cross_tools/arm-none-eabi-gcc-4_7_3/bin/../lib/gcc/;c:/freescale/cw mcu v10.6/cross_tools/arm-none-eabi-gcc-4_7_3/bin/../lib/gcc/arm-none-eabi/4.7.3/../../../../arm-none-eabi/bin/

LIBRARY_PATH=c:/freescale/cw mcu v10.6/cross_tools/arm-none-eabi-gcc-4_7_3/bin/../lib/gcc/arm-none-eabi/4.7.3/armv7e-m/;c:/freescale/cw mcu v10.6/cross_tools/arm-none-eabi-gcc-4_7_3/bin/../lib/gcc/arm-none-eabi/4.7.3/../../../../arm-none-eabi/lib/armv7e-m/;c:/freescale/cw mcu v10.6/cross_tools/arm-none-eabi-gcc-4_7_3/bin/../arm-none-eabi/lib/armv7e-m/;c:/freescale/cw mcu v10.6/cross_tools/arm-none-eabi-gcc-4_7_3/bin/../lib/gcc/arm-none-eabi/4.7.3/;c:/freescale/cw mcu v10.6/cross_tools/arm-none-eabi-gcc-4_7_3/bin/../lib/gcc/;c:/freescale/cw mcu v10.6/cross_tools/arm-none-eabi-gcc-4_7_3/bin/../lib/gcc/arm-none-eabi/4.7.3/../../../../arm-none-eabi/lib/;c:/freescale/cw mcu v10.6/cross_tools/arm-none-eabi-gcc-4_7_3/bin/../arm-none-eabi/lib/

COLLECT_GCC_OPTIONS='-mcpu=cortex-m4' '-mthumb' '-mfloat-abi=soft' '-g3' '-gdwarf-2' '-gstrict-dwarf' '-nostdinc' '-nostdinc++'  '-D' '__STDC_LIMIT_MACROS' '-D' '_EWL_NO_RTTI' '-D' '__GXX_EXPERIMENTAL_CXX0X__'

Labels (1)
0 Kudos
1 Reply

327 Views
Carlos_Mendoza
NXP Employee
NXP Employee

Hi Robert,

I'm already investigating this, in the meantime, could you post the code that causes the error?

Best Regards,

Carlos Mendoza

Technical Support Engineer

0 Kudos