keil - Enable C++ support ARMCC compiler -
i'm setting basic project in keil (v5). want use c++ in project. i'm using armcc compiler.
i created simple class ctest. seems project settings/compiler doesn't support c++. c code compiles well, keyword 'class' not recognized.
build log:
is there special setting enable c++ features?
i tried make project , compiling c++ worked fine. however, fail if try insert code c file. (i.e. .c extension.) make sure file has .cpp extension.
edit:
and in case, .h fine, if includes c++ definitions can't include in .c files.
Comments
Post a Comment