From: Bruno Haible Date: Wed, 29 Oct 2008 10:47:23 +0000 (+0100) Subject: Mention Sun WorkShop 6.2 OpenMP bug. X-Git-Tag: v2.63b~171 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=479ad2b6b20b9b3424635bd974ea45bb4fd54458;p=thirdparty%2Fautoconf.git Mention Sun WorkShop 6.2 OpenMP bug. * doc/autoconf.texi (AC_OPENMP): Document portability pitfall. Signed-off-by: Eric Blake --- diff --git a/ChangeLog b/ChangeLog index 46f6e8153..b5026a729 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 d315ebbf0..f2a79237b 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