clang 3.4 -fms-extensions __wchar_t conflicts with our __wchar_t

2014-03-18 Thread Tijl Coosemans
Hi, With -fms-extensions clang 3.4 seems to define a built-in type named __wchar_t. This conflicts with __wchar_t in /usr/include/machine/_types.h % cat test.c #include % cc -c test.c -fms-extensions In file included from test.c:1: In file included from /usr/include/sys/types.h:44: In file in

Re: clang 3.4 -fms-extensions __wchar_t conflicts with our __wchar_t

2014-03-18 Thread Dimitry Andric
On 18 Mar 2014, at 16:38, Tijl Coosemans wrote: > With -fms-extensions clang 3.4 seems to define a built-in type named > __wchar_t. This conflicts with __wchar_t in /usr/include/machine/_types.h > > > % cat test.c > #include > % cc -c test.c -fms-extensions > In file included from test.c:1: >