[patch] libstdc++/60958 disable invalid code in <tr1/regex>

Jonathan Wakely jwakely@redhat.com
Fri Apr 25 16:31:00 GMT 2014


Rather than making small fixes to code that doesn't work anyway, this
just disables the whole block.

(I've included a tweak to the regex testsuite code with this patch, as
I wanted to make that change anyway.)

I'm tempted to do something like this in <tr1/regex>:

#ifndef _GLIBCXX_TR1_REGEX_WARTS_AND_ALL
#error The code in this header doesn't work. If you really want to include it anyway define _GLIBCXX_TR1_REGEX_WARTS_AND_ALL
#endif

Tested x86_64-linux, committed to trunk.

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


More information about the Gcc-patches mailing list