|
Boost Users : |
Subject: Re: [Boost-users] mixing c++98 with c++11
From: Chris Stankevitz (chrisstankevitz_at_[hidden])
Date: 2013-12-06 18:19:40
On Fri, Dec 6, 2013 at 3:11 PM, Michael Chisholm <chisholm_at_[hidden]> wrote:
> 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.
Andy,
Thank you for your reply. Is this a correct interpretation of what
you are saying:
I use Ubuntu Linux's apt-get to install boost. I need to ask Ubuntu
which flavor of GCC was used to compile boost (c++98 or c++11). Then,
when I build my applications using GCC I must use the same flavor.
For example, if Ubuntu compiled boost with c++98, I cannot write a
c++11 application that uses system-provided boost libraries.
Thank you again,
Chris
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net