On Fri, Jun 18, 2010 at 11:10:25PM +0200, Frank Denis wrote:
> Hello,
>
> Apparently, some pcre header files don't work any more, at least on amd64.
>
> /usr/local/include/pcre_stringpiece.h needs to include bits/type_traits.h.
>
> But type_traits.h has moved from bits/ to ext/.
>
> Even then, including pcre_stringpiece.h barfs out:
>
> pcre_stringpiece.h:165: error: '__type_traits' is not a template
> pcre_stringpiece.h:165: error: explicit specialization of non-template
> '__type_traits'
> pcre_stringpiece.h:166: error: '__true_type' does not name a type
>
> On a gcc3 host, it compiles just fine.
>
> Best regards,
>
> -Frank.
>
Does your example work if you tweak the header to ext/type_traits.h ?