public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Expected Behavior in Mixing -std=c++0x and default std?
@ 2014-04-08  8:06 Hei Chan
  2014-04-08 14:31 ` Jonathan Wakely
  0 siblings, 1 reply; 3+ messages in thread
From: Hei Chan @ 2014-04-08  8:06 UTC (permalink / raw)
  To: gcc-help

Hi,

If I have a static library A that builds with default std with another header only library B, and then my program links library A and uses some classes in library B with -std=c++0x.  Will this usage create any issue?

I am running into an issue that one of the member variables in library B (boost ASIO to be precise) has a different memory address (only off by 4 bytes) over time.

Any input is welcome.

Thanks in advance.


Cheers,
Hei
P.S. I am using GCC 4.6.x on CentOS 6.5.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-04-08 22:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-08  8:06 Expected Behavior in Mixing -std=c++0x and default std? Hei Chan
2014-04-08 14:31 ` Jonathan Wakely
2014-04-08 22:44   ` Hei Chan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).