[patch] c++/65046 Use abi-tag to fix building with -Werror=abi-tag

Jonathan Wakely jwakely@redhat.com
Fri Mar 20 13:27:00 GMT 2015


On 18/03/15 18:16 +0000, Jonathan Wakely wrote:
>This adds the abi_tag attribute in a few places it's missing, so that
>-Werror=abi-tag builds will work after Jason's upcoming patches to
>make functions inherit the tag from their return type.

Jason suggested using an inline namespace instead of tagging types, so
this adds __gnu_cxx::__cxx11, similar to the existing std::__cxx11.

Tested x86_64-linux, committed to trunk.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.txt
Type: text/x-patch
Size: 2762 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20150320/06933d12/attachment.bin>


More information about the Gcc-patches mailing list