How to resolve the issue: warning: use of enumeration in a nested name specifier is a C++11 extension [-Wc++11-extensions] on Visual Studio code

·

1 min read

In VS Code:

File>>Preference>>Settings>>Extensions

find C_Cpp>Default:Cpp Standard drop down menu

set that to c++11

Screenshot 2021-04-22 at 21.08.00.png