versioning C++ includes

Gabriel Dos Reis gdr@codesourcery.com
Tue Jun 25 10:57:00 GMT 2002


Nathan Myers <ncm-nospam@cantrip.org> writes:

| On Tue, Jun 25, 2002 at 10:11:42AM -0700, Benjamin Kosnik wrote:
| > 
| > 3) At this point, the libstdc++.so binary is versioned. With similarly
| >    versioned headers, the library ABI could be fully controlled, and a
| >    lot of the patches that have been queued by Phil and Paolo could go
| >    in.
| > 
| > Because of this, I consider the status quo something that can be improved.
| > ... 
| > Thoughts? I'll start working on implementing the above, and wait for
| > additional input.
| 
| I like this idea a lot.  There's more to do to make it work, though.  
| We should incorporate the ABI version -- that portion of the release 
| version whose ABI is frozen, "3.1" for now -- into the library name 

I think the binary compatibility issues are incorporated in the
installed .so (or .a) name -- existing practice.  As far as source
code is concerned, it suffices to use the compiler release number. 

-- Gaby



More information about the Libstdc++ mailing list