This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[v3] small bits
- From: Benjamin Kosnik <bkoz at redhat dot com>
- To: gcc-patches at gcc dot gnu dot org
- Cc: libstdc++ <libstdc++ at gcc dot gnu dot org>
- Date: Sat, 03 Mar 2007 17:13:31 +0100
- Subject: [v3] small bits
these are the misc. bits of the C++0x headers work.... can be merged in
without the rest of the patch.
tested x86/linux
2007-03-03 Benjamin Kosnik <bkoz@redhat.com>
* include/debug/functions.h: Use cstddef.
* testsuite/tr1/3_function_objects/headers/functional/
using_namespace_std_tr1_placeholders.cc: Fix include.
Index: include/debug/functions.h
===================================================================
--- include/debug/functions.h (revision 122505)
+++ include/debug/functions.h (working copy)
@@ -36,7 +36,7 @@
#define _GLIBCXX_DEBUG_FUNCTIONS_H 1
#include <bits/c++config.h>
-#include <stddef.h> // for ptrdiff_t
+#include <cstddef> // for ptrdiff_t
#include <bits/stl_iterator_base_types.h> // for iterator_traits, categories
#include <bits/cpp_type_traits.h> // for __is_integer
Index: testsuite/tr1/3_function_objects/headers/functional/using_namespace_std_tr1_placeholders.cc
===================================================================
--- testsuite/tr1/3_function_objects/headers/functional/using_namespace_std_tr1_placeholders.cc (revision 122505)
+++ testsuite/tr1/3_function_objects/headers/functional/using_namespace_std_tr1_placeholders.cc (working copy)
@@ -18,7 +18,7 @@
// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
// USA.
-#include <tr1/tuple>
+#include <tr1/functional>
namespace gnu
{