diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 17b01085b46..a31f3f8f208 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,12 @@ +2010-02-18 Paolo Carlini + + * libsupc++/typeinfo: Add system_header pragma. + * libsupc++/exception: Likewise. + * libsupc++/cxxabi-forced.h: Likewise. + * libsupc++/new: Likewise. + * libsupc++/cxxabi.h: Likewise. + * libsupc++/initializer_list: Likewise. + 2010-02-18 Paolo Carlini * libsupc++/nested_exception.h: Fix include. diff --git a/libstdc++-v3/libsupc++/cxxabi-forced.h b/libstdc++-v3/libsupc++/cxxabi-forced.h index 845d8094da0..27ff34952e6 100644 --- a/libstdc++-v3/libsupc++/cxxabi-forced.h +++ b/libstdc++-v3/libsupc++/cxxabi-forced.h @@ -1,6 +1,6 @@ // cxxabi.h subset for inclusion by other library headers -*- C++ -*- -// Copyright (C) 2007, 2009 Free Software Foundation, Inc. +// Copyright (C) 2007, 2009, 2010 Free Software Foundation, Inc. // // This file is part of GCC. // @@ -30,6 +30,8 @@ #ifndef _CXXABI_FORCED_H #define _CXXABI_FORCED_H 1 +#pragma GCC system_header + #pragma GCC visibility push(default) #ifdef __cplusplus diff --git a/libstdc++-v3/libsupc++/cxxabi.h b/libstdc++-v3/libsupc++/cxxabi.h index cc5f9dac9bc..3ee3b8dcace 100644 --- a/libstdc++-v3/libsupc++/cxxabi.h +++ b/libstdc++-v3/libsupc++/cxxabi.h @@ -1,6 +1,6 @@ // new abi support -*- C++ -*- -// Copyright (C) 2000, 2002, 2003, 2004, 2006, 2007, 2009 +// Copyright (C) 2000, 2002, 2003, 2004, 2006, 2007, 2009, 2010 // Free Software Foundation, Inc. // // This file is part of GCC. @@ -42,6 +42,8 @@ #ifndef _CXXABI_H #define _CXXABI_H 1 +#pragma GCC system_header + #pragma GCC visibility push(default) #include diff --git a/libstdc++-v3/libsupc++/exception b/libstdc++-v3/libsupc++/exception index 989a9ff6f74..857b2022b2a 100644 --- a/libstdc++-v3/libsupc++/exception +++ b/libstdc++-v3/libsupc++/exception @@ -1,7 +1,7 @@ // Exception Handling support header for -*- C++ -*- // Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, -// 2004, 2005, 2006, 2007, 2008, 2009 +// 2004, 2005, 2006, 2007, 2008, 2009, 2010 // Free Software Foundation // // This file is part of GCC. @@ -32,6 +32,8 @@ #ifndef __EXCEPTION__ #define __EXCEPTION__ +#pragma GCC system_header + #pragma GCC visibility push(default) #include diff --git a/libstdc++-v3/libsupc++/initializer_list b/libstdc++-v3/libsupc++/initializer_list index 20e29000d56..3810706d47e 100644 --- a/libstdc++-v3/libsupc++/initializer_list +++ b/libstdc++-v3/libsupc++/initializer_list @@ -1,6 +1,6 @@ // std::initializer_list support -*- C++ -*- -// Copyright (C) 2008, 2009 Free Software Foundation, Inc. +// Copyright (C) 2008, 2009, 2010 Free Software Foundation, Inc. // // This file is part of GCC. // @@ -30,6 +30,8 @@ #ifndef _INITIALIZER_LIST #define _INITIALIZER_LIST +#pragma GCC system_header + #ifdef __GXX_EXPERIMENTAL_CXX0X__ #pragma GCC visibility push(default) diff --git a/libstdc++-v3/libsupc++/new b/libstdc++-v3/libsupc++/new index d4115020204..7b515311cab 100644 --- a/libstdc++-v3/libsupc++/new +++ b/libstdc++-v3/libsupc++/new @@ -1,7 +1,7 @@ // The -*- C++ -*- dynamic memory management header. // Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -// 2003, 2004, 2005, 2006, 2007, 2009 +// 2003, 2004, 2005, 2006, 2007, 2009, 2010 // Free Software Foundation // This file is part of GCC. @@ -36,6 +36,8 @@ #ifndef _NEW #define _NEW +#pragma GCC system_header + #include #include diff --git a/libstdc++-v3/libsupc++/typeinfo b/libstdc++-v3/libsupc++/typeinfo index f7f9d4e2cc2..1a4736e1cba 100644 --- a/libstdc++-v3/libsupc++/typeinfo +++ b/libstdc++-v3/libsupc++/typeinfo @@ -1,6 +1,6 @@ // RTTI support for -*- C++ -*- // Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -// 2003, 2004, 2005, 2006, 2007, 2009 +// 2003, 2004, 2005, 2006, 2007, 2009, 2010 // Free Software Foundation // // This file is part of GCC. @@ -31,6 +31,8 @@ #ifndef _TYPEINFO #define _TYPEINFO +#pragma GCC system_header + #include #pragma GCC visibility push(default)