]> Savannah Git Hosting - gnulib.git/commitdiff
extern-inline: port to PGI CC
authorBruno Haible <bruno@clisp.org>
Sat, 5 Mar 2016 00:38:45 +0000 (01:38 +0100)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 5 Mar 2016 01:16:59 +0000 (17:16 -0800)
* 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

ChangeLog
m4/extern-inline.m4

index 86345798ca179f14d1741f158981dca4f9acb85c..2ccfcb765ff20c6babd6c7cfbd55031e4d21828e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
index fe282a56ca6a873f9084453bec5271b37eb4c980..1e578f3deb426f10df4f03c5948282aa989f9a89 100644 (file)
@@ -54,6 +54,7 @@ AC_DEFUN([gl_EXTERN_INLINE],
       ? 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