Makefile.am (install-freestanding-headers): Install c++0x_warning.h.
* include/Makefile.am (install-freestanding-headers): Install c++0x_warning.h. * libsupc++/initializer_list: Include it. From-SVN: r180727
This commit is contained in:
parent
e03ea4ad2c
commit
a7d5d7e221
@ -1,3 +1,9 @@
|
||||
2011-10-31 Jason Merrill <jason@redhat.com>
|
||||
|
||||
* include/Makefile.am (install-freestanding-headers): Install
|
||||
c++0x_warning.h.
|
||||
* libsupc++/initializer_list: Include it.
|
||||
|
||||
2011-10-31 Gerald Pfeifer <gerald@pfeifer.com>
|
||||
|
||||
* acinclude.m4 (GLIBCXX_CONFIGURE): Refer to GNU/Linux.
|
||||
|
@ -1201,8 +1201,10 @@ endif
|
||||
# are installed by libsupc++, so only the first four and the sub-includes
|
||||
# are copied here.
|
||||
install-freestanding-headers:
|
||||
$(mkinstalldirs) $(DESTDIR)${gxx_include_dir}
|
||||
$(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/bits
|
||||
$(mkinstalldirs) $(DESTDIR)${host_installdir}
|
||||
$(INSTALL_DATA) ${glibcxx_srcdir}/include/bits/c++0x_warning.h \
|
||||
$(DESTDIR)${gxx_include_dir}/bits
|
||||
for file in ${host_srcdir}/os_defines.h ${host_builddir}/c++config.h \
|
||||
${glibcxx_srcdir}/$(ABI_TWEAKS_SRCDIR)/cxxabi_tweaks.h \
|
||||
${glibcxx_srcdir}/$(CPU_DEFINES_SRCDIR)/cpu_defines.h; do \
|
||||
|
@ -1586,8 +1586,10 @@ ${pch3_output}: ${pch3_source} ${pch2_output}
|
||||
# are installed by libsupc++, so only the first four and the sub-includes
|
||||
# are copied here.
|
||||
install-freestanding-headers:
|
||||
$(mkinstalldirs) $(DESTDIR)${gxx_include_dir}
|
||||
$(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/bits
|
||||
$(mkinstalldirs) $(DESTDIR)${host_installdir}
|
||||
$(INSTALL_DATA) ${glibcxx_srcdir}/include/bits/c++0x_warning.h \
|
||||
$(DESTDIR)${gxx_include_dir}/bits
|
||||
for file in ${host_srcdir}/os_defines.h ${host_builddir}/c++config.h \
|
||||
${glibcxx_srcdir}/$(ABI_TWEAKS_SRCDIR)/cxxabi_tweaks.h \
|
||||
${glibcxx_srcdir}/$(CPU_DEFINES_SRCDIR)/cpu_defines.h; do \
|
||||
|
@ -35,7 +35,9 @@
|
||||
#include <bits/c++config.h>
|
||||
#include <bits/stl_pair.h>
|
||||
#include <bits/stl_iterator_base_types.h>
|
||||
#ifdef __GXX_EXPERIMENTAL_CXX0X__
|
||||
#include <initializer_list>
|
||||
#endif
|
||||
|
||||
namespace std _GLIBCXX_VISIBILITY(default)
|
||||
{
|
||||
|
@ -40,7 +40,9 @@
|
||||
|
||||
#include <ext/atomicity.h>
|
||||
#include <debug/debug.h>
|
||||
#ifdef __GXX_EXPERIMENTAL_CXX0X__
|
||||
#include <initializer_list>
|
||||
#endif
|
||||
|
||||
namespace std _GLIBCXX_VISIBILITY(default)
|
||||
{
|
||||
|
@ -33,7 +33,9 @@
|
||||
#pragma GCC system_header
|
||||
|
||||
#include <memory>
|
||||
#ifdef __GXX_EXPERIMENTAL_CXX0X__
|
||||
#include <initializer_list>
|
||||
#endif
|
||||
|
||||
namespace std _GLIBCXX_VISIBILITY(default)
|
||||
{
|
||||
|
@ -57,7 +57,9 @@
|
||||
#ifndef _STL_BVECTOR_H
|
||||
#define _STL_BVECTOR_H 1
|
||||
|
||||
#ifdef __GXX_EXPERIMENTAL_CXX0X__
|
||||
#include <initializer_list>
|
||||
#endif
|
||||
|
||||
namespace std _GLIBCXX_VISIBILITY(default)
|
||||
{
|
||||
|
@ -60,7 +60,9 @@
|
||||
#include <bits/concept_check.h>
|
||||
#include <bits/stl_iterator_base_types.h>
|
||||
#include <bits/stl_iterator_base_funcs.h>
|
||||
#ifdef __GXX_EXPERIMENTAL_CXX0X__
|
||||
#include <initializer_list>
|
||||
#endif
|
||||
|
||||
namespace std _GLIBCXX_VISIBILITY(default)
|
||||
{
|
||||
|
@ -58,7 +58,9 @@
|
||||
#define _STL_LIST_H 1
|
||||
|
||||
#include <bits/concept_check.h>
|
||||
#ifdef __GXX_EXPERIMENTAL_CXX0X__
|
||||
#include <initializer_list>
|
||||
#endif
|
||||
|
||||
namespace std _GLIBCXX_VISIBILITY(default)
|
||||
{
|
||||
|
@ -59,7 +59,9 @@
|
||||
|
||||
#include <bits/functexcept.h>
|
||||
#include <bits/concept_check.h>
|
||||
#ifdef __GXX_EXPERIMENTAL_CXX0X__
|
||||
#include <initializer_list>
|
||||
#endif
|
||||
|
||||
namespace std _GLIBCXX_VISIBILITY(default)
|
||||
{
|
||||
|
@ -58,7 +58,9 @@
|
||||
#define _STL_MULTIMAP_H 1
|
||||
|
||||
#include <bits/concept_check.h>
|
||||
#ifdef __GXX_EXPERIMENTAL_CXX0X__
|
||||
#include <initializer_list>
|
||||
#endif
|
||||
|
||||
namespace std _GLIBCXX_VISIBILITY(default)
|
||||
{
|
||||
|
@ -58,7 +58,9 @@
|
||||
#define _STL_MULTISET_H 1
|
||||
|
||||
#include <bits/concept_check.h>
|
||||
#ifdef __GXX_EXPERIMENTAL_CXX0X__
|
||||
#include <initializer_list>
|
||||
#endif
|
||||
|
||||
namespace std _GLIBCXX_VISIBILITY(default)
|
||||
{
|
||||
|
@ -58,7 +58,9 @@
|
||||
#define _STL_SET_H 1
|
||||
|
||||
#include <bits/concept_check.h>
|
||||
#ifdef __GXX_EXPERIMENTAL_CXX0X__
|
||||
#include <initializer_list>
|
||||
#endif
|
||||
|
||||
namespace std _GLIBCXX_VISIBILITY(default)
|
||||
{
|
||||
|
@ -60,7 +60,9 @@
|
||||
#include <bits/stl_iterator_base_funcs.h>
|
||||
#include <bits/functexcept.h>
|
||||
#include <bits/concept_check.h>
|
||||
#ifdef __GXX_EXPERIMENTAL_CXX0X__
|
||||
#include <initializer_list>
|
||||
#endif
|
||||
|
||||
namespace std _GLIBCXX_VISIBILITY(default)
|
||||
{
|
||||
|
@ -32,7 +32,10 @@
|
||||
|
||||
#pragma GCC system_header
|
||||
|
||||
#ifdef __GXX_EXPERIMENTAL_CXX0X__
|
||||
#include <initializer_list>
|
||||
#endif
|
||||
|
||||
#include <ext/vstring_util.h>
|
||||
#include <ext/rc_string_base.h>
|
||||
#include <ext/sso_string_base.h>
|
||||
|
@ -39,7 +39,9 @@
|
||||
#include <cmath>
|
||||
#include <algorithm>
|
||||
#include <debug/debug.h>
|
||||
#ifdef __GXX_EXPERIMENTAL_CXX0X__
|
||||
#include <initializer_list>
|
||||
#endif
|
||||
|
||||
namespace std _GLIBCXX_VISIBILITY(default)
|
||||
{
|
||||
|
@ -32,7 +32,9 @@
|
||||
|
||||
#pragma GCC system_header
|
||||
|
||||
#ifdef __GXX_EXPERIMENTAL_CXX0X__
|
||||
#ifndef __GXX_EXPERIMENTAL_CXX0X__
|
||||
# include <bits/c++0x_warning.h>
|
||||
#endif // C++0x
|
||||
|
||||
#pragma GCC visibility push(default)
|
||||
|
||||
@ -99,5 +101,4 @@ namespace std
|
||||
}
|
||||
|
||||
#pragma GCC visibility pop
|
||||
#endif // C++0x
|
||||
#endif // _INITIALIZER_LIST
|
||||
|
@ -18,7 +18,7 @@
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
|
||||
// { dg-do compile }
|
||||
// { dg-error "no matching" "" { target *-*-* } 1668 }
|
||||
// { dg-error "no matching" "" { target *-*-* } 1670 }
|
||||
|
||||
#include <deque>
|
||||
|
||||
|
@ -18,7 +18,7 @@
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
|
||||
// { dg-do compile }
|
||||
// { dg-error "no matching" "" { target *-*-* } 1601 }
|
||||
// { dg-error "no matching" "" { target *-*-* } 1603 }
|
||||
|
||||
#include <deque>
|
||||
|
||||
|
@ -18,7 +18,7 @@
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
|
||||
// { dg-do compile }
|
||||
// { dg-error "no matching" "" { target *-*-* } 1601 }
|
||||
// { dg-error "no matching" "" { target *-*-* } 1603 }
|
||||
|
||||
#include <deque>
|
||||
#include <utility>
|
||||
|
@ -18,7 +18,7 @@
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
|
||||
// { dg-do compile }
|
||||
// { dg-error "no matching" "" { target *-*-* } 1752 }
|
||||
// { dg-error "no matching" "" { target *-*-* } 1754 }
|
||||
|
||||
#include <deque>
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
// { dg-do compile }
|
||||
// { dg-options "-std=gnu++0x" }
|
||||
// { dg-error "no matching" "" { target *-*-* } 1211 }
|
||||
// { dg-error "no matching" "" { target *-*-* } 1213 }
|
||||
|
||||
// Copyright (C) 2009, 2010, 2011 Free Software Foundation
|
||||
//
|
||||
|
@ -1,6 +1,6 @@
|
||||
// { dg-do compile }
|
||||
// { dg-options "-std=gnu++0x" }
|
||||
// { dg-error "no matching" "" { target *-*-* } 1211 }
|
||||
// { dg-error "no matching" "" { target *-*-* } 1213 }
|
||||
|
||||
// Copyright (C) 2009, 2010, 2011 Free Software Foundation
|
||||
//
|
||||
|
@ -1,6 +1,6 @@
|
||||
// { dg-do compile }
|
||||
// { dg-options "-std=gnu++0x" }
|
||||
// { dg-error "no matching" "" { target *-*-* } 1211 }
|
||||
// { dg-error "no matching" "" { target *-*-* } 1213 }
|
||||
|
||||
// Copyright (C) 2009, 2010, 2011 Free Software Foundation
|
||||
//
|
||||
|
@ -1,6 +1,6 @@
|
||||
// { dg-do compile }
|
||||
// { dg-options "-std=gnu++0x" }
|
||||
// { dg-error "no matching" "" { target *-*-* } 1211 }
|
||||
// { dg-error "no matching" "" { target *-*-* } 1213 }
|
||||
|
||||
// Copyright (C) 2009, 2010, 2011 Free Software Foundation
|
||||
//
|
||||
|
@ -18,7 +18,7 @@
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
|
||||
// { dg-do compile }
|
||||
// { dg-error "no matching" "" { target *-*-* } 1549 }
|
||||
// { dg-error "no matching" "" { target *-*-* } 1551 }
|
||||
|
||||
#include <list>
|
||||
|
||||
|
@ -18,7 +18,7 @@
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
|
||||
// { dg-do compile }
|
||||
// { dg-error "no matching" "" { target *-*-* } 1505 }
|
||||
// { dg-error "no matching" "" { target *-*-* } 1507 }
|
||||
|
||||
#include <list>
|
||||
|
||||
|
@ -18,7 +18,7 @@
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
|
||||
// { dg-do compile }
|
||||
// { dg-error "no matching" "" { target *-*-* } 1505 }
|
||||
// { dg-error "no matching" "" { target *-*-* } 1507 }
|
||||
|
||||
#include <list>
|
||||
#include <utility>
|
||||
|
@ -18,7 +18,7 @@
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
|
||||
// { dg-do compile }
|
||||
// { dg-error "no matching" "" { target *-*-* } 1505 }
|
||||
// { dg-error "no matching" "" { target *-*-* } 1507 }
|
||||
|
||||
#include <list>
|
||||
|
||||
|
@ -18,7 +18,7 @@
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
|
||||
// { dg-do compile }
|
||||
// { dg-error "no matching" "" { target *-*-* } 1223 }
|
||||
// { dg-error "no matching" "" { target *-*-* } 1225 }
|
||||
|
||||
#include <vector>
|
||||
|
||||
|
@ -18,7 +18,7 @@
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
|
||||
// { dg-do compile }
|
||||
// { dg-error "no matching" "" { target *-*-* } 1153 }
|
||||
// { dg-error "no matching" "" { target *-*-* } 1155 }
|
||||
|
||||
#include <vector>
|
||||
|
||||
|
@ -18,7 +18,7 @@
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
|
||||
// { dg-do compile }
|
||||
// { dg-error "no matching" "" { target *-*-* } 1153 }
|
||||
// { dg-error "no matching" "" { target *-*-* } 1155 }
|
||||
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
|
@ -18,7 +18,7 @@
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
|
||||
// { dg-do compile }
|
||||
// { dg-error "no matching" "" { target *-*-* } 1264 }
|
||||
// { dg-error "no matching" "" { target *-*-* } 1266 }
|
||||
|
||||
#include <vector>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user