Does it OK to compile an application by c++11 and link against a lib which compiled by C++98? vice versa? (Same compiler) I think it should be OK, because the name mangle, memory align should be same
Asked
Active
Viewed 47 times
0
-
1I think this is completely implementation-defined. – Bartek Banachewicz Jun 28 '13 at 09:52
-
2I once asked [a similar question](http://stackoverflow.com/q/10717106/596781). – Kerrek SB Jun 28 '13 at 09:53
-
What makes you think they should be the same? Lots of types have different member functions and extended functionality, different requirements etc. I would not expect it to work at all. – PlasmaHH Jun 28 '13 at 09:53