]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
Mention Sun WorkShop 6.2 OpenMP bug.
authorBruno Haible <bruno@clisp.org>
Wed, 29 Oct 2008 10:47:23 +0000 (11:47 +0100)
committerEric Blake <ebb9@byu.net>
Wed, 29 Oct 2008 12:05:16 +0000 (06:05 -0600)
* doc/autoconf.texi (AC_OPENMP): Document portability pitfall.

Signed-off-by: Eric Blake <ebb9@byu.net>
ChangeLog
doc/autoconf.texi

index 46f6e815335b9cce94bd54dcb46dc1bac67c2072..b5026a729ff36eb78a940adc62ebe32953f36297 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-10-29  Bruno Haible  <bruno@clisp.org>
+
+       Mention Sun WorkShop 6.2 OpenMP bug.
+       * doc/autoconf.texi (AC_OPENMP): Document portability pitfall.
+
 2008-10-29  Paolo Bonzini  <bonzini@gnu.org>
 
        Rewrite handling of diversion and expansion stack.
index d315ebbf0222a528b3b71d4fd8ebcccc0ccbbd4c..f2a79237bd14fd5f5cb723a6afdd507f5ce9d977 100644 (file)
@@ -6577,6 +6577,11 @@ the variable @code{OPENMP_FFLAGS} or @code{OPENMP_FCFLAGS},
 respectively.  Similar remarks as for C hold, except that
 @code{CPPFLAGS} is not used for Fortran, and no preprocessor macro
 signals OpenMP support.
+
+For portability, it is best to avoid spaces between @samp{#} and
+@samp{pragma omp}.  That is, write @samp{#pragma omp}, not
+@samp{# pragma omp}.  The Sun WorkShop 6.2 C compiler chokes on the
+latter.
 @end defmac
 
 @node C Compiler