bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Cannot build gettext 0.17 on Solaris 2.8


From: Lamarque Eric
Subject: Cannot build gettext 0.17 on Solaris 2.8
Date: Tue, 28 Oct 2008 23:42:58 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; fr-FR; rv:1.8.1.2) Gecko/20070221 SeaMonkey/1.1.1

Hello,

I cannot build GNU gettext 0.17 on Solaris 2.8 using Sun Workshop 6.2.

The problem is located in file gettext-0.17/gettext-tools/src/msgmerge.c
where #pragma directives are used with a space between '#' and 'pragma'.

I attach a patch that solves the problem, if you find this report useful.

Regards and thanks for the work,

Eric.
--- gettext-0.17-vanilla/gettext-tools/src/msgmerge.c   Tue Oct 28 16:59:54 2008
+++ gettext-0.17/gettext-tools/src/msgmerge.c   Tue Oct 28 17:00:06 2008
@@ -1152,7 +1152,7 @@
        the loop body can be executed very quickly, whereas for others it takes
        a long time.  */
     #ifdef _OPENMP
-    # pragma omp parallel for schedule(dynamic)
+    #pragma omp parallel for schedule(dynamic)
     #endif
     for (jj = 0; jj < nn; jj++)
       {
@@ -1164,7 +1164,7 @@
        if (!quiet && verbosity_level <= 1 && *processed % DOT_FREQUENCY == 0)
          fputc ('.', stderr);
        #ifdef _OPENMP
-       # pragma omp atomic
+       #pragma omp atomic
        #endif
        (*processed)++;
 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]