Displaying 2 results from an estimated 2 matches for "___wchar_t".
Did you mean:
__wchar_t
2017 May 11
3
problem (and fix) with -fms-extensions
I've tried to build something that wanted ms-extensions on OpenBSD.
Long story short, didn't work so well, because all system includes
lead to
<machine/_types.h>
#ifndef __cplusplus
typedef int __wchar_t;
#endif
and since ms-extensions includes __char_t as a built-in, this did fail
abysmally.
It would be simple to fix in OpenBSD, assuming clang did tell us it
2017 May 12
2
problem (and fix) with -fms-extensions
...f __cplusplus
> > typedef int __wchar_t;
> > #endif
> >
> > and since ms-extensions includes __char_t as a built-in, this did fail
> > abysmally.
>
> Back in 2014 when we encountered this in FreeBSD, we just renamed our
> internal type to ___wchar_t instead:
>
> http://svnweb.freebsd.org/changeset/base/263998
>
>
> > It would be simple to fix in OpenBSD, assuming clang did tell us it
> > was using ms-extensions.
> >
> > Would something like this be appropriate ? macro name subject to approval
> > o...