summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2009-12-17 20:23:25 +0100
committerPeter Simons <simons@cryp.to>2009-12-17 23:51:48 +0100
commitdf5181a03b1f00d1badd868cf55b0cfcd2d71932 (patch)
tree20095a37adcf70073150eec1ffb2a63b133d50f7 /NEWS
parent4731a89b700698c672f1c384eb6bdbc1ec13a2e7 (diff)
downloadautoconf-archive-df5181a03b1f00d1badd868cf55b0cfcd2d71932.tar.gz
AX_CXX_HELPFUL_TERMINATE_HANDLER: initial version
Submitted by Kevin Locke in <https://savannah.nongnu.org/patch/index.php?7005>: | As a compliment (or possibly replacement) to the current | AX_CXX_VERBOSE_TERMINATE_HANDLER macro, I present the | AX_CXX_HELPFUL_TERMINATE_HANDLER macro. Rather than specifically looking for | the GNU libstdc++ verbose_terminate_handler, this macro uses a test program | which throws an uncaught exception then checks if the output contains | information about the exception. This way it can detect helpful terminate | handlers other than the current one provided with GNU libstdc++. | | The design of this macro is not perfect. Most importantly, the logic for | capturing and testing the output of the test program is not very elegant. I | had first attempted to check for output from within the test program (by | redirecting std::cerr, capturing SIGABRT, etc.) but it was excessively ugly | and not very portable. The result is that the logic in the macro itself is a | little more awkward so that the test program is trivial. I think it was a | good trade, but feedback is welcome.
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS3
1 files changed, 2 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 1949c6d..577c086 100644
--- a/NEWS
+++ b/NEWS
@@ -1,8 +1,9 @@
#+TITLE: Autoconf Archive NEWS -*- mode:org;fill-column:79; -*-
#+STARTUP: showall
-* Noteworthy changes in release ?.? (????-??-??) [?]
+* Noteworthy changes in release ?.? (????-??-??) [?]
+ The following macros have been added: AX_CXX_HELPFUL_TERMINATE_HANDLER.
* Noteworthy changes in release 2009.12.16 (2009-12-16) [alpha]