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.

screenshot

build log:

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

Popular posts from this blog

asp.net mvc - SSO between MVCForum and Umbraco7 -

Python Tkinter keyboard using bind -

ubuntu - Selenium Node Not Connecting to Hub, Not Opening Port -