typeinfo: Add system_header pragma.

2010-02-18  Paolo Carlini  <paolo.carlini@oracle.com>

	* 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
This commit is contained in:
Paolo Carlini 2010-02-18 17:58:53 +00:00 committed by Paolo Carlini
parent 8168ccc0d9
commit 584fd146d2
7 changed files with 27 additions and 6 deletions

View File

@ -1,3 +1,12 @@
2010-02-18 Paolo Carlini <paolo.carlini@oracle.com>
* 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 <paolo.carlini@oracle.com>
* libsupc++/nested_exception.h: Fix <bits/c++0x_warning.h> include.

View File

@ -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

View File

@ -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 <stddef.h>

View File

@ -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 <bits/c++config.h>

View File

@ -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)

View File

@ -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 <cstddef>
#include <exception>

View File

@ -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 <exception>
#pragma GCC visibility push(default)