jeudi 23 avril 2015

check if c++11 features are used or not

So, for now my task is to check if there is no any c++11 dependencies and features in the overall code. The question is - is it possible to check if there are any?

All I can imagine now can be divided into 2 groups:

  • -std=c++11 -Wc++98-compat + parsing the output;

  • Boost.Congfig + a lot of macros around all the code, which seems more complicated then first one;

Probably there could be built-in functionality in some static analyzers?

I'm building it on multiply platforms, so I can check either on windows or linux.

Aucun commentaire:

Enregistrer un commentaire