Files
glibc/include
Carlos O'Donell cda672e7bd Fix include/wchar.h for C++
When trying to compile regression tests that use
C++ and the threads header you get this failure:

In file included from /usr/include/c++/5.3.1/cwchar:44:0,
from /usr/include/c++/5.3.1/bits/postypes.h:40,
from /usr/include/c++/5.3.1/bits/char_traits.h:40,
from /usr/include/c++/5.3.1/string:40,
from /usr/include/c++/5.3.1/stdexcept:39,
from /usr/include/c++/5.3.1/array:38,
from /usr/include/c++/5.3.1/tuple:39,
from /usr/include/c++/5.3.1/functional:55,
from /usr/include/c++/5.3.1/thread:39,
from tst-thread-quick_exit.cc:19:
../include/wchar.h:105:23: error: invalid conversion from ‘wchar_t*
(*)(wchar_t*, wchar_t, size_t) throw () {aka wchar_t* (*)(wchar_t*,
wchar_t, long unsigned int) throw ()}’ to ‘int’ [-fpermissive]
extern typeof (wmemset) __wmemset;
^
../include/wchar.h:105:25: error: expected ‘,’ or ‘;’ before ‘__wmemset’
extern typeof (wmemset) __wmemset;
^

The simplest fix for C++ is to avoid the use of
typeof and just declare the prototype as expected.

No regressions on x86_64. Committed as obvious.
The include/wchar.h header is only for internal
build uses and therefore is not ever seen by any
external users and needs no bug #.
2016-06-03 20:10:04 -04:00
..
2016-04-14 08:54:57 +02:00
…
…
2015-02-24 13:29:40 -05:00
…
…
…
…
…
2015-10-15 14:15:41 -07:00
2015-10-15 14:13:50 -07:00
…
…
…
…
…
…
2015-09-15 20:36:50 +00:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2015-06-12 10:10:18 +00:00
…
…
…
…
…
2015-10-15 14:22:25 -07:00
…
…
…
…
2015-07-09 15:32:32 -07:00
…
…
…
…
…
…
…
…
2015-06-17 20:21:19 +00:00
…
…
…
…
2016-06-03 20:10:04 -04:00
…
…