libstdc++-v3 PATCH for bootstrap error related to ptrdiff_t

Gerald Pfeifer pfeifer@dbai.tuwien.ac.at
Thu Nov 16 09:45:00 GMT 2000


On 16 Nov 2000, Gabriel Dos Reis wrote:
> Use <stddef.h> -- at some point we'll be showdowing C headers and
> using <xxx.h> forms will help avoid nesting namespaces.
>
> Please make that correction and check it in.

I verified that it also works that way (on i386-unknown-freebsd4.1) and
installed the patch below.

Thanks for the quick response!
Gerald

2000-11-16  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>

	* config/c_io_stdio.h: Include stddef.h.

Index: config/c_io_stdio.h
===================================================================
RCS file: /cvs/gcc/egcs/libstdc++-v3/config/c_io_stdio.h,v
retrieving revision 1.4
diff -u -3 -p -r1.4 c_io_stdio.h
--- c_io_stdio.h	2000/11/16 09:26:14	1.4
+++ c_io_stdio.h	2000/11/16 16:59:29
@@ -33,6 +33,7 @@
 #define _CPP_IO_STDIO_H 1

 #include <stdio.h>
+#include <stddef.h>
 #include <bits/c++threads.h>

 #if _GLIBCPP_USE_WCHAR_T



More information about the Libstdc++ mailing list