diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2021-10-01 15:55:57 +0100 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2021-10-01 21:06:26 +0100 |
commit | 92936be47461b99d624b6a90a745f6cdc60d3e51 (patch) | |
tree | 031b6960e7af7dab63db6b0059812c74a16169e7 /gcc | |
parent | acf3a21cbc26b39b73c0006300f35ff017ddd6cb (diff) | |
download | gcc-92936be47461b99d624b6a90a745f6cdc60d3e51.zip gcc-92936be47461b99d624b6a90a745f6cdc60d3e51.tar.gz gcc-92936be47461b99d624b6a90a745f6cdc60d3e51.tar.bz2 |
libstdc++: Restore printing of assertion messages [PR102100]
My changes for PR 101429 broke the _-replacement_assert function,
because we now always just abort without printing anything. That's
because I added checks for _GLIBCXX_HOSTED and _GLIBCXX_VERBOSE, but the
checks are done before those get defined.
This adds a new macro which is set
by the sed command in include/Makefile, once the HOSTED and VERBOSE
macros have been set by the configure script.
libstdc++-v3/ChangeLog:
PR libstdc++/102100
* include/Makefile.am (c++config.h): Define
_GLIBCXX_VERBOSE_ASSERT based on configure output.
* include/Makefile.in: Regenerate.
* include/bits/c++config: Fix condition for verbose assertions.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions