On Fri, 2010-08-20 at 09:23 +1200, Ian Collins wrote:

> >>      
> > There is no common C++ ABI.  So you get into compatibility concerns
> > between code built with different compilers (like Studio vs. g++).
> > Fail.
> >    
> 
> Which is why we have extern "C".  Just about any Solaris driver, library 
> or kernel module could be implemented in C++ behind the C compatibility 
> layer and no one would notice.

As long as they don't depend on other features, like the C++ standard
library.  Once they consume any external C++ interfaces, you're dead.
Because you can't mix g++ standard libraries with those from Studio.

        -- Garrett


_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to