Expected Behavior in Mixing -std=c++0x and default std?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.





[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux