This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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



------- 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 __need_wint_t"...


-- 

faridz at apache dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36530


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]