Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/gpl2/groff/dist Test for other exit cases.



details:   https://anonhg.NetBSD.org/src/rev/86360a189b39
branches:  trunk
changeset: 836795:86360a189b39
user:      sevan <sevan%NetBSD.org@localhost>
date:      Tue Nov 06 22:01:16 2018 +0000

description:
Test for other exit cases.
It might be worth regenerating configure with modern autoconf.

Reviewed by <riastradh>
Closes PR toolchain/53314

diffstat:

 external/gpl2/groff/dist/configure |  4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diffs (21 lines):

diff -r e9070a671121 -r 86360a189b39 external/gpl2/groff/dist/configure
--- a/external/gpl2/groff/dist/configure        Tue Nov 06 21:18:32 2018 +0000
+++ b/external/gpl2/groff/dist/configure        Tue Nov 06 22:01:16 2018 +0000
@@ -2511,6 +2511,8 @@
    'extern "C" void std::exit (int); using std::exit;' \
    'extern "C" void exit (int) throw ();' \
    'extern "C" void exit (int);' \
+   'extern "C" [[noreturn]] void exit (int);' \
+   'extern "C" _Noreturn void exit (int);' \
    'void exit (int);'
 do
   cat >conftest.$ac_ext <<_ACEOF
@@ -2977,6 +2979,8 @@
    'extern "C" void std::exit (int); using std::exit;' \
    'extern "C" void exit (int) throw ();' \
    'extern "C" void exit (int);' \
+   'extern "C" [[noreturn]] void exit (int);' \
+   'extern "C" _Noreturn void exit (int);' \
    'void exit (int);'
 do
   cat >conftest.$ac_ext <<_ACEOF



Home | Main Index | Thread Index | Old Index