Supposing that I have two libraries:
- Lib1.a compiled with gcc 11 - -std=c++2a
- Lib2.a compiled with gcc 10 - -std=c++17
I want to compile a binary that uses the two libraries but using gcc 11 -std=c++2a
I need to use boost also but I do not recognize the used standard version.
A C library is also needed. (I do not know the compiler version)
Is it possible/safe?
