diff options
author | Bruno Haible <bruno@clisp.org> | 2019-12-05 09:50:01 +0100 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2019-12-05 09:50:49 +0100 |
commit | 6002009b76cda002a103ffb39945ba74c4dc9c75 (patch) | |
tree | 89b6abe4bbf4e52ff5227774b90431d13e1e2045 /lib/pthread.in.h | |
parent | 75da6fe3ad868618d88d1e1ec1f3135db6fce6c6 (diff) | |
download | gnulib-6002009b76cda002a103ffb39945ba74c4dc9c75.tar.gz |
Fix compilation errors in C++ mode with xlclang++ on AIX.
* lib/pthread.in.h (pthread_exit): Add comment.
* lib/threads.in.h (thrd_exit): Likewise.
Diffstat (limited to 'lib/pthread.in.h')
-rw-r--r-- | lib/pthread.in.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/pthread.in.h b/lib/pthread.in.h index c94638b7e4..a2c76e44fa 100644 --- a/lib/pthread.in.h +++ b/lib/pthread.in.h @@ -689,6 +689,8 @@ _GL_CXXALIAS_RPL (pthread_exit, _Noreturn void, (void *value)); # if !@HAVE_PTHREAD_EXIT@ _GL_FUNCDECL_SYS (pthread_exit, _Noreturn void, (void *value)); # endif +/* Need to cast, because on AIX with xlclang++, the return type is + void. */ _GL_CXXALIAS_SYS_CAST (pthread_exit, _Noreturn void, (void *value)); # endif _GL_CXXALIASWARN (pthread_exit); |