On Wed, Sep 4, 2013 at 9:06 AM, Larry Gritz <[email protected]> wrote:
> I should have clarified that I'm talking strictly about OIIO internals -- for 
> link compatibility with apps that must use older compilers, I was not really 
> considering using any newfangled things in the public APIs.

Note that the /occasional/ C++ standard library class has a different
ABI between C++98 and C++11, at least with gcc.  I'd guess that the
OIIO API doesn't suffer from this, but worth being aware of if nothing
else.  See http://gcc.gnu.org/wiki/Cxx11AbiCompatibility

I've actually been bitten by this when linking against a library with
a lot of C++ types in the interface, and where I wasn't consistent
about the compile flags between the library and my code.  The result
is exactly what you'd expect from ABI incompatibility: random crashing
and weirdness.

~Chris
_______________________________________________
Oiio-dev mailing list
[email protected]
http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org

Reply via email to