Commit 584fd146 by Paolo Carlini Committed by Paolo Carlini

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
parent 8168ccc0
2010-02-18 Paolo Carlini <paolo.carlini@oracle.com> 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. * libsupc++/nested_exception.h: Fix <bits/c++0x_warning.h> include.
2010-02-17 Benjamin Kosnik <bkoz@redhat.com> 2010-02-17 Benjamin Kosnik <bkoz@redhat.com>
......
// cxxabi.h subset for inclusion by other library headers -*- C++ -*- // 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. // This file is part of GCC.
// //
...@@ -30,6 +30,8 @@ ...@@ -30,6 +30,8 @@
#ifndef _CXXABI_FORCED_H #ifndef _CXXABI_FORCED_H
#define _CXXABI_FORCED_H 1 #define _CXXABI_FORCED_H 1
#pragma GCC system_header
#pragma GCC visibility push(default) #pragma GCC visibility push(default)
#ifdef __cplusplus #ifdef __cplusplus
......
// new abi support -*- C++ -*- // 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. // Free Software Foundation, Inc.
// //
// This file is part of GCC. // This file is part of GCC.
...@@ -42,6 +42,8 @@ ...@@ -42,6 +42,8 @@
#ifndef _CXXABI_H #ifndef _CXXABI_H
#define _CXXABI_H 1 #define _CXXABI_H 1
#pragma GCC system_header
#pragma GCC visibility push(default) #pragma GCC visibility push(default)
#include <stddef.h> #include <stddef.h>
......
// Exception Handling support header for -*- C++ -*- // Exception Handling support header for -*- C++ -*-
// Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, // 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 // Free Software Foundation
// //
// This file is part of GCC. // This file is part of GCC.
...@@ -32,6 +32,8 @@ ...@@ -32,6 +32,8 @@
#ifndef __EXCEPTION__ #ifndef __EXCEPTION__
#define __EXCEPTION__ #define __EXCEPTION__
#pragma GCC system_header
#pragma GCC visibility push(default) #pragma GCC visibility push(default)
#include <bits/c++config.h> #include <bits/c++config.h>
......
// std::initializer_list support -*- C++ -*- // 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. // This file is part of GCC.
// //
...@@ -30,6 +30,8 @@ ...@@ -30,6 +30,8 @@
#ifndef _INITIALIZER_LIST #ifndef _INITIALIZER_LIST
#define _INITIALIZER_LIST #define _INITIALIZER_LIST
#pragma GCC system_header
#ifdef __GXX_EXPERIMENTAL_CXX0X__ #ifdef __GXX_EXPERIMENTAL_CXX0X__
#pragma GCC visibility push(default) #pragma GCC visibility push(default)
......
// The -*- C++ -*- dynamic memory management header. // The -*- C++ -*- dynamic memory management header.
// Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, // 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 // Free Software Foundation
// This file is part of GCC. // This file is part of GCC.
...@@ -36,6 +36,8 @@ ...@@ -36,6 +36,8 @@
#ifndef _NEW #ifndef _NEW
#define _NEW #define _NEW
#pragma GCC system_header
#include <cstddef> #include <cstddef>
#include <exception> #include <exception>
......
// RTTI support for -*- C++ -*- // RTTI support for -*- C++ -*-
// Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, // 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 // Free Software Foundation
// //
// This file is part of GCC. // This file is part of GCC.
...@@ -31,6 +31,8 @@ ...@@ -31,6 +31,8 @@
#ifndef _TYPEINFO #ifndef _TYPEINFO
#define _TYPEINFO #define _TYPEINFO
#pragma GCC system_header
#include <exception> #include <exception>
#pragma GCC visibility push(default) #pragma GCC visibility push(default)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment