[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 libstdc++/36530] New: ptrdiff_t undefined if stddef.h is included after wchar.h and wctype.h

2008-06-13 Thread faridz at apache dot org
++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: faridz at apache dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36530