From 584fd146d2ef9a4253c47e4cdca04b3b060d1148 Mon Sep 17 00:00:00 2001 From: Paolo Carlini Date: Thu, 18 Feb 2010 17:58:53 +0000 Subject: typeinfo: Add system_header pragma. 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. From-SVN: r156869 --- libstdc++-v3/ChangeLog | 9 +++++++++ libstdc++-v3/libsupc++/cxxabi-forced.h | 4 +++- libstdc++-v3/libsupc++/cxxabi.h | 4 +++- libstdc++-v3/libsupc++/exception | 4 +++- libstdc++-v3/libsupc++/initializer_list | 4 +++- libstdc++-v3/libsupc++/new | 4 +++- libstdc++-v3/libsupc++/typeinfo | 4 +++- 7 files changed, 27 insertions(+), 6 deletions(-) (limited to 'libstdc++-v3') diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 17b0108..a31f3f8 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,5 +1,14 @@ 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. 2010-02-17 Benjamin Kosnik diff --git a/libstdc++-v3/libsupc++/cxxabi-forced.h b/libstdc++-v3/libsupc++/cxxabi-forced.h index 845d809..27ff349 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 cc5f9da..3ee3b8dc 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 989a9ff..857b202 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 20e2900..3810706 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 d411502..7b51531 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 f7f9d4e..1a4736e 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) -- cgit v1.1