Merge pull request #3818 from SCOREC/xlClang

support compiling with IBM XL 16.1 w/ clang front end
This commit is contained in:
Luca Boccassi 2020-02-05 16:59:24 +00:00 committed by GitHub
commit d4af92cd15
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 15 additions and 0 deletions

13
RELICENSE/cwsmith.md Normal file
View File

@ -0,0 +1,13 @@
# Permission to Relicense under MPLv2
This is a statement by Cameron Smith
that grants permission to relicense its copyrights in the libzmq C++
library (ZeroMQ) under the Mozilla Public License v2 (MPLv2).
A portion of the commits made by the Github handle "cwsmith", with
commit author "Cameron Smith <smithc11@rpi.edu>", are copyright of Cameron Smith.
This document hereby grants the libzmq project team to relicense libzmq,
including all past, present and future contributions of the author listed above.
Cameron Smith
2020/02/05

View File

@ -59,6 +59,8 @@ const char *errno_to_string (int errno_);
#if defined __clang__
#if __has_feature(attribute_analyzer_noreturn)
void zmq_abort (const char *errmsg_) __attribute__ ((analyzer_noreturn));
#else
void zmq_abort (const char *errmsg_);
#endif
#elif defined __MSCVER__
__declspec(noreturn) void zmq_abort (const char *errmsg_);