Mercurial > gnulib
changeset 37939:163163db88f1
extern-inline: port to PGI CC
* m4/extern-inline.m4 (gl_EXTERN_INLINE): For PGI CC, don't use the
keyword 'inline'.
Reported by Adam James Stewart in:
http://lists.gnu.org/archive/html/bug-gnulib/2016-03/msg00006.html
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Sat, 05 Mar 2016 01:38:45 +0100 |
parents | 84381cc97524 |
children | 68f7826c2edf |
files | ChangeLog m4/extern-inline.m4 |
diffstat | 2 files changed, 9 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Tue Feb 23 08:44:42 2016 -0800 +++ b/ChangeLog Sat Mar 05 01:38:45 2016 +0100 @@ -1,3 +1,11 @@ +2016-03-05 Bruno Haible <bruno@clisp.org> + + extern-inline: port to PGI CC + * m4/extern-inline.m4 (gl_EXTERN_INLINE): For PGI CC, don't use the + keyword 'inline'. + Reported by Adam James Stewart in: + http://lists.gnu.org/archive/html/bug-gnulib/2016-03/msg00006.html + 2016-02-20 Paul Eggert <eggert@cs.ucla.edu> signbit: port back to pre-C++11 GCC
--- a/m4/extern-inline.m4 Tue Feb 23 08:44:42 2016 -0800 +++ b/m4/extern-inline.m4 Sat Mar 05 01:38:45 2016 +0100 @@ -54,6 +54,7 @@ ? defined __GNUC_STDC_INLINE__ && __GNUC_STDC_INLINE__ \ : (199901L <= __STDC_VERSION__ \ && !defined __HP_cc \ + && !defined __PGI \ && !(defined __SUNPRO_C && __STDC__))) \ && !defined _GL_EXTERN_INLINE_STDHEADER_BUG) # define _GL_INLINE inline