mirror of git://gcc.gnu.org/git/gcc.git
Makefile.am (install-freestanding-headers): Add concept_check.h and move.h to the installed headers.
2016-03-23 Bernd Edlinger <bernd.edlinger@hotmail.de>
* include/Makefile.am (install-freestanding-headers): Add
concept_check.h and move.h to the installed headers.
* include/Makefile.in: Regenerated.
* include/bits/concept_check.h: Ignore _GLIBCXX_CONCEPT_CHECKS for
freestanding implementations.
* doc/xml/manual/using.xml (_GLIBCXX_CONCEPT_CHECKS): Mention
that this macro has no effect for freestanding implementations.
* doc/html/manual/using_macros.html: Likewise.
From-SVN: r234414
This commit is contained in:
parent
9a607978a2
commit
bfd84e6ba5
|
|
@ -1,3 +1,14 @@
|
||||||
|
2016-03-23 Bernd Edlinger <bernd.edlinger@hotmail.de>
|
||||||
|
|
||||||
|
* include/Makefile.am (install-freestanding-headers): Add
|
||||||
|
concept_check.h and move.h to the installed headers.
|
||||||
|
* include/Makefile.in: Regenerated.
|
||||||
|
* include/bits/concept_check.h: Ignore _GLIBCXX_CONCEPT_CHECKS for
|
||||||
|
freestanding implementations.
|
||||||
|
* doc/xml/manual/using.xml (_GLIBCXX_CONCEPT_CHECKS): Mention
|
||||||
|
that this macro has no effect for freestanding implementations.
|
||||||
|
* doc/html/manual/using_macros.html: Likewise.
|
||||||
|
|
||||||
2016-02-24 Jonathan Wakely <jwakely@redhat.com>
|
2016-02-24 Jonathan Wakely <jwakely@redhat.com>
|
||||||
|
|
||||||
PR libstdc++/69939
|
PR libstdc++/69939
|
||||||
|
|
|
||||||
|
|
@ -66,7 +66,8 @@
|
||||||
<code class="code">--enable-concept-checks</code>. When defined, performs
|
<code class="code">--enable-concept-checks</code>. When defined, performs
|
||||||
compile-time checking on certain template instantiations to
|
compile-time checking on certain template instantiations to
|
||||||
detect violations of the requirements of the standard. This
|
detect violations of the requirements of the standard. This
|
||||||
is described in more detail in
|
macro has no effect for freestanding implementations.
|
||||||
|
This is described in more detail in
|
||||||
<a class="link" href="ext_compile_checks.html" title="Chapter 16. Compile Time Checks">Compile Time Checks</a>.
|
<a class="link" href="ext_compile_checks.html" title="Chapter 16. Compile Time Checks">Compile Time Checks</a>.
|
||||||
</p></dd><dt><span class="term"><code class="code">_GLIBCXX_ASSERTIONS</code></span></dt><dd><p>
|
</p></dd><dt><span class="term"><code class="code">_GLIBCXX_ASSERTIONS</code></span></dt><dd><p>
|
||||||
Undefined by default. When defined, enables extra error checking in
|
Undefined by default. When defined, enables extra error checking in
|
||||||
|
|
|
||||||
|
|
@ -908,7 +908,8 @@ g++ -Winvalid-pch -I. -include stdc++.h -H -g -O2 hello.cc -o test.exe
|
||||||
<code>--enable-concept-checks</code>. When defined, performs
|
<code>--enable-concept-checks</code>. When defined, performs
|
||||||
compile-time checking on certain template instantiations to
|
compile-time checking on certain template instantiations to
|
||||||
detect violations of the requirements of the standard. This
|
detect violations of the requirements of the standard. This
|
||||||
is described in more detail in
|
macro has no effect for freestanding implementations.
|
||||||
|
This is described in more detail in
|
||||||
<link linkend="manual.ext.compile_checks">Compile Time Checks</link>.
|
<link linkend="manual.ext.compile_checks">Compile Time Checks</link>.
|
||||||
</para>
|
</para>
|
||||||
</listitem></varlistentry>
|
</listitem></varlistentry>
|
||||||
|
|
|
||||||
|
|
@ -1331,7 +1331,7 @@ endif
|
||||||
# libsupc++, so only the others and the sub-includes are copied here.
|
# libsupc++, so only the others and the sub-includes are copied here.
|
||||||
install-freestanding-headers:
|
install-freestanding-headers:
|
||||||
$(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/bits
|
$(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/bits
|
||||||
for file in c++0x_warning.h atomic_base.h; do \
|
for file in c++0x_warning.h atomic_base.h concept_check.h move.h; do \
|
||||||
$(INSTALL_DATA) ${glibcxx_srcdir}/include/bits/$${file} $(DESTDIR)${gxx_include_dir}/bits; done
|
$(INSTALL_DATA) ${glibcxx_srcdir}/include/bits/$${file} $(DESTDIR)${gxx_include_dir}/bits; done
|
||||||
$(mkinstalldirs) $(DESTDIR)${host_installdir}
|
$(mkinstalldirs) $(DESTDIR)${host_installdir}
|
||||||
for file in ${host_srcdir}/os_defines.h ${host_builddir}/c++config.h \
|
for file in ${host_srcdir}/os_defines.h ${host_builddir}/c++config.h \
|
||||||
|
|
|
||||||
|
|
@ -1753,7 +1753,7 @@ ${pch3_output}: ${pch3_source} ${pch2_output}
|
||||||
# libsupc++, so only the others and the sub-includes are copied here.
|
# libsupc++, so only the others and the sub-includes are copied here.
|
||||||
install-freestanding-headers:
|
install-freestanding-headers:
|
||||||
$(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/bits
|
$(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/bits
|
||||||
for file in c++0x_warning.h atomic_base.h; do \
|
for file in c++0x_warning.h atomic_base.h concept_check.h move.h; do \
|
||||||
$(INSTALL_DATA) ${glibcxx_srcdir}/include/bits/$${file} $(DESTDIR)${gxx_include_dir}/bits; done
|
$(INSTALL_DATA) ${glibcxx_srcdir}/include/bits/$${file} $(DESTDIR)${gxx_include_dir}/bits; done
|
||||||
$(mkinstalldirs) $(DESTDIR)${host_installdir}
|
$(mkinstalldirs) $(DESTDIR)${host_installdir}
|
||||||
for file in ${host_srcdir}/os_defines.h ${host_builddir}/c++config.h \
|
for file in ${host_srcdir}/os_defines.h ${host_builddir}/c++config.h \
|
||||||
|
|
|
||||||
|
|
@ -41,8 +41,9 @@
|
||||||
|
|
||||||
// Concept-checking code is off by default unless users turn it on via
|
// Concept-checking code is off by default unless users turn it on via
|
||||||
// configure options or editing c++config.h.
|
// configure options or editing c++config.h.
|
||||||
|
// It is not supported for freestanding implementations.
|
||||||
|
|
||||||
#ifndef _GLIBCXX_CONCEPT_CHECKS
|
#if !defined(_GLIBCXX_CONCEPT_CHECKS) || !_GLIBCXX_HOSTED
|
||||||
|
|
||||||
#define __glibcxx_function_requires(...)
|
#define __glibcxx_function_requires(...)
|
||||||
#define __glibcxx_class_requires(_a,_b)
|
#define __glibcxx_class_requires(_a,_b)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue