> -----Original Message-----
> From: gcc-patches-ow...@gcc.gnu.org [mailto:gcc-patches-
> ow...@gcc.gnu.org] On Behalf Of Rainer Orth
> Sent: 08 August 2013 11:02
> To: Tim Shen
> Cc: libstdc++; gcc-patches
> Subject: Re: [Patch] Whole regex refactoring and current status
> 
> Tim Shen <timshe...@gmail.com> writes:
> 
> > As metioned in this[1] email, I here propose a refactored version of
> > regex, and show the status:
> 
> This patch broke Solaris bootstrap:
> 
> In file included from /usr/include/ctype.h:18:0,
>                  from /var/gcc/regression/trunk/10-gcc-gas/build/i386-pc-
> solaris2.10/libstdc++-v3/include/cctype:42,
>                  from /vol/gcc/src/hg/trunk/local/libstdc++-
> v3/include/precompiled/stdc++.h:35:
> /var/gcc/regression/trunk/10-gcc-gas/build/i386-pc-solaris2.10/libstdc++-
> v3/include/bits/regex.h:998:25: error: expected nested-name-specifier
> before numeric constant
>        template<typename _B, typename _A, typename _C, typename _R>
>                          ^
> 
> and several more instances.  This happens because <iso/ctype_iso.h> (via
> <ctype.h>) has:
> 
> #define       _B      0x00000040      /* Blank */
> #define       _C      0x00000020      /* Control character */
> 
> This is already documented:
> 
> http://gcc.gnu.org/onlinedocs/libstdc++/manual/source_code_style.html#cod
> ing_style.bad_identifiers

We're also seeing the same error for ARM builds.

Kyrill




Reply via email to