I programmed C++ for a while. Now I want to program a ANSI C program, don't want any "C++ only" feature in the code. I'm using cygwin 64 bit with gcc installed. Are there any settings to let gcc prompt compiler error if encounter C++ features? E.g. the stl.
Thank you in advance.