aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaolo Carlini <paolo.carlini@oracle.com>2010-09-03 23:19:18 +0000
committerPaolo Carlini <paolo@gcc.gnu.org>2010-09-03 23:19:18 +0000
commit9c7f808d0be7324121fa21e91d179f732efb94d5 (patch)
tree0394123cc6266e4144735f79268adc075920ed1c
parent2bfec3687642f933affbfadf580be47150925585 (diff)
downloadgcc-9c7f808d0be7324121fa21e91d179f732efb94d5.zip
gcc-9c7f808d0be7324121fa21e91d179f732efb94d5.tar.gz
gcc-9c7f808d0be7324121fa21e91d179f732efb94d5.tar.bz2
re PR libstdc++/45347 (concurrence.h: In constructor '__gnu_cxx::__cond::__cond()': /home/jayk/obj/gcc451/alphaev67-dec-osf5.1/libstdc++-v3/include/ext/concurrence.h:276:29: warning: missing initializer for member '__pthread_cond_t::__bloc)
2010-09-03 Paolo Carlini <paolo.carlini@oracle.com> PR libstdc++/45347 * include/ext/concurrence.h: Add #pragma GCC system_header. From-SVN: r163848
-rw-r--r--libstdc++-v3/ChangeLog5
-rw-r--r--libstdc++-v3/include/ext/concurrence.h4
2 files changed, 8 insertions, 1 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 45a8f01..35b6028 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,8 @@
+2010-09-03 Paolo Carlini <paolo.carlini@oracle.com>
+
+ PR libstdc++/45347
+ * include/ext/concurrence.h: Add #pragma GCC system_header.
+
2010-09-03 François Dumont <francois.cppdevs@free.fr>
* testsuite/lib/libstdc++.exp ([check_v3_target_debug_mode]): Fix so
diff --git a/libstdc++-v3/include/ext/concurrence.h b/libstdc++-v3/include/ext/concurrence.h
index 71f8cd0..6f8e10b 100644
--- a/libstdc++-v3/include/ext/concurrence.h
+++ b/libstdc++-v3/include/ext/concurrence.h
@@ -1,6 +1,6 @@
// Support for concurrent programing -*- C++ -*-
-// Copyright (C) 2003, 2004, 2005, 2006, 2007, 2009
+// Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
// Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
@@ -31,6 +31,8 @@
#ifndef _CONCURRENCE_H
#define _CONCURRENCE_H 1
+#pragma GCC system_header
+
#include <exception>
#include <bits/gthr.h>
#include <bits/functexcept.h>