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

jquery - How do you format the date used in the popover widget title of FullCalendar? -

Bubble Sort Manually a Linked List in Java -

asp.net mvc - SSO between MVCForum and Umbraco7 -