[Bug c++/36530] ptrdiff_t undefined if is included after and

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 . */ #define __need_wint_t #include ... --- Here after that lines should be "#undef __need_wint_t"...

[Bug c++/36530] ptrdiff_t undefined if is included after and

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 and the other "C" headers are not touched at all. As a matter of fact, I suspect Ubuntu is at fault, it's know to