From 479ad2b6b20b9b3424635bd974ea45bb4fd54458 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Wed, 29 Oct 2008 11:47:23 +0100 Subject: [PATCH] Mention Sun WorkShop 6.2 OpenMP bug. * doc/autoconf.texi (AC_OPENMP): Document portability pitfall. Signed-off-by: Eric Blake --- ChangeLog | 5 +++++ doc/autoconf.texi | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/ChangeLog b/ChangeLog index 46f6e815..b5026a72 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-10-29 Bruno Haible + + Mention Sun WorkShop 6.2 OpenMP bug. + * doc/autoconf.texi (AC_OPENMP): Document portability pitfall. + 2008-10-29 Paolo Bonzini Rewrite handling of diversion and expansion stack. diff --git a/doc/autoconf.texi b/doc/autoconf.texi index d315ebbf..f2a79237 100644 --- a/doc/autoconf.texi +++ b/doc/autoconf.texi @@ -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 -- 2.11.4.GIT