[Bug c++/36530] ptrdiff_t undefined if stddef.h is included after wchar.h and wctype.h

2008-06-17 Thread faridz at apache dot org
--- Comment #2 from faridz at apache dot org 2008-06-17 15:03 --- You're right, the problem in Ubuntu's /usr/include/wctype.h header file: --- ... /* Get wint_t from wchar.h. */ #define __need_wint_t #include wchar.h ... --- Here after that lines should be #undef

[Bug c++/36530] ptrdiff_t undefined if stddef.h is included after wchar.h and wctype.h

2008-06-13 Thread paolo dot carlini at oracle dot com
--- Comment #1 from paolo dot carlini at oracle dot com 2008-06-14 00:12 --- If anything, this isn't a libstdc++, because in our implementation of the C++ runtime library wchar.h and the other C headers are not touched at all. As a matter of fact, I suspect Ubuntu is at fault, it's