I am writing a C ++ 11 library, and I want it to work with every compiler that supports C ++ 11. I donβt want to accidentally write code that is not standard (for example, uses language extensions such as VLA or blocks). How can I make clang disable all language extensions so that I can only write compatible code?
user142019
source share