On 12/6/2013 5:53 PM, Chris Stankevitz wrote:
Hello,
Please consider the following:
application A depends on boost compiled libraries application A depends on library B library B depends on boost compiled libraries
Q1: Will I have a problem if: application A is compiled with gcc c++11 library B is compiled with gcc c++98 boost compiled with gcc c++98
Q2: Will I have a problem if: application A is compiled with gcc c++11 library B is compiled with gcc c++11 boost compiled with gcc c++98
My concern is that boost produces different code in its headers based on whether or not the compiler supports c++11.
Thank you,
Chris
The headers are supposed to tell you what symbols are exported from the binary (among other things). If you change the headers without changing the binary, those won't match up, and I think you're liable to have link errors. imho, Andy