• Uncategorized

About c++ : Using-library-with-different-compiler-flag

Question Detail

can we use a library built with a different flag say -std=c++17 with my program which is going to be built using -std=c++11 in these cases.

A) Same compiler used to build the library:
case 1: shared lib (.so)
case 2: static library (.a)

B) Different compiler:
case 1: shared lib (.so)
case 2: static library (.a)

Question Answer

No answer for now.

You may also like...

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.