This is the mail archive of the libstdc++@sources.redhat.com mailing list for the libstdc++ project.


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

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


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


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