Part Number: AM6548
Tool/software: TI C/C++ Compiler
Hi all,
My customer uses CCS to build AM65x example code with GNU v7.2.1(Linaro aarch64) compiler, he is able to build the example code without problem, but will get compiler errors if he modify the source code extension name from C(.c) to C++(.cpp).
The compiler shows errors : “command line option '-Wno-pointer-to-int-cast' is valid for C/ObjC but not for C++ [-Werror]”, seems that it is a compiler problem and doesn’t support -Wno-int-to-pointer-cast and -Wno-pointer-to-int-cast settings for C++ source code.
Please advise how to solve this problem, thanks.
Regards,
Luke