<div dir="rtl"><div dir="ltr" style="font-family:arial,sans-serif;font-size:12.800000190734863px">I will send you e-mail output from clang -P -E ... it is too big for the list.</div><div dir="ltr" style="font-family:arial,sans-serif;font-size:12.800000190734863px">

<br></div><div dir="ltr" style="font-family:arial,sans-serif;font-size:12.800000190734863px">The output was identical with or without the patch so I'm attaching one copy only.</div><div dir="ltr" style="font-family:arial,sans-serif;font-size:12.800000190734863px">

<br></div><div dir="ltr" style="font-family:arial,sans-serif;font-size:12.800000190734863px">The error does not happen with clang -P -E but does happen with clang -c.</div><div class="" style="font-family:arial,sans-serif;font-size:12.800000190734863px">

</div></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div dir="ltr">2013/11/22 Rafael Espíndola <span dir="ltr"><<a href="mailto:rafael.espindola@gmail.com" target="_blank">rafael.espindola@gmail.com</a>></span></div>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Can you send me a preprocessed file?<br>
<div class="HOEnZb"><div class="h5"><br>
On 21 November 2013 03:55, Yaron Keren <<a href="mailto:yaron.keren@gmail.com">yaron.keren@gmail.com</a>> wrote:<br>
> Hi Rafael,<br>
><br>
> clang can't compile libcxx/src/valarray.cpp after applying the patch (error<br>
> message below).<br>
> Without the patch it compiles OK. I checked and verified with and without.<br>
><br>
> Yaron<br>
><br>
> In file included from ../src/valarray.cpp:12:<br>
> /my/ceemple/libcxx/include\valarray:1009:60: error: explicit instantiation<br>
> of<br>
>       'valarray' does not refer to a function template, variable template,<br>
>       member function, member class, or static data member<br>
> _LIBCPP_EXTERN_TEMPLATE(_LIBCPP_FUNC_VIS valarray<size_t>::valarray(size_t))<br>
>                                                            ^<br>
> ../src/valarray.cpp:10:54: note: expanded from macro<br>
> '_LIBCPP_EXTERN_TEMPLATE'<br>
><br>
> #define _LIBCPP_EXTERN_TEMPLATE(...) extern template __VA_ARGS__;<br>
>                                                      ^<br>
> In file included from ../src/valarray.cpp:12:<br>
> /my/ceemple/libcxx/include\valarray:1010:60: error: explicit instantiation<br>
> of<br>
>       '~valarray' does not refer to a function template, variable template,<br>
>       member function, member class, or static data member<br>
> _LIBCPP_EXTERN_TEMPLATE(_LIBCPP_FUNC_VIS valarray<size_t>::~valarray())<br>
>                                                            ^<br>
> ../src/valarray.cpp:10:54: note: expanded from macro<br>
> '_LIBCPP_EXTERN_TEMPLATE'<br>
><br>
> #define _LIBCPP_EXTERN_TEMPLATE(...) extern template __VA_ARGS__;<br>
>                                                      ^<br>
> In file included from ../src/valarray.cpp:12:<br>
> /my/ceemple/libcxx/include\valarray:1011:65: error: explicit instantiation<br>
> of<br>
>       'resize' does not refer to a function template, variable template,<br>
>       member function, member class, or static data member<br>
> _LIBCPP_EXTERN_TEMPLATE(_LIBCPP_FUNC_VIS void valarray<size_t>::resize...<br>
>                                                                 ^<br>
> ../src/valarray.cpp:10:54: note: expanded from macro<br>
> '_LIBCPP_EXTERN_TEMPLATE'<br>
><br>
> #define _LIBCPP_EXTERN_TEMPLATE(...) extern template __VA_ARGS__;<br>
>                                                      ^<br>
> ../src/valarray.cpp:16:28: error: explicit instantiation of 'valarray' does<br>
>       not refer to a function template, variable template, member function,<br>
>       member class, or static data member<br>
> template valarray<size_t>::valarray(size_t);<br>
>                            ^<br>
> ../src/valarray.cpp:17:28: error: explicit instantiation of '~valarray' does<br>
>       not refer to a function template, variable template, member function,<br>
>       member class, or static data member<br>
><br>
><br>
> 2013/11/20 Rafael Espíndola <<a href="mailto:rafael.espindola@gmail.com">rafael.espindola@gmail.com</a>><br>
>><br>
>> On 19 November 2013 19:39, NAKAMURA Takumi <<a href="mailto:geek4civic@gmail.com">geek4civic@gmail.com</a>> wrote:<br>
>> > Rafael,<br>
>> ><br>
>> > Oh yeah, ... It seems C++ ABI diverged between Cygwin and Mingw since<br>
>> > 4.7...<br>
>> > (FYI, also cygwin64 is different from x86_64-mingw32 in some point...)<br>
>><br>
>> Good catch. I confirmed this with a native gcc 4.8 on cywin. The<br>
>> updated patch change the abi only for mingw and adds a cygwin test.<br>
>><br>
>> Cheers,<br>
>> Rafael<br>
>><br>
>> _______________________________________________<br>
>> cfe-commits mailing list<br>
>> <a href="mailto:cfe-commits@cs.uiuc.edu">cfe-commits@cs.uiuc.edu</a><br>
>> <a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits</a><br>
>><br>
><br>
</div></div></blockquote></div><br></div>