C++98/C++11 ABI compatibility for gcc-4.7

Jason Merrill jason@redhat.com
Tue Jul 3 20:42:00 GMT 2012


On 07/03/2012 03:59 PM, Jonathan Wakely wrote:
> Returning a std::pair by value from a function causes problems if the
> caller and callee don't use the same -std setting,
> http://gcc.gnu.org/PR53657 and three or four other PRs.

Right, that's because the changes to pair changed its interface.  This 
is a bug that we're working on fixing.

Jason



More information about the Gcc mailing list