unique_ptr

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

unique_ptr

1,149 次查看
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__'

标签 (1)
0 项奖励
回复
1 回复

978 次查看
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 项奖励
回复