bug-gnulib
[Top][All Lists]
Advanced

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

Re: IBM PTF's to fix #include_next bug in IBM C 9.0/10.1


From: Bruno Haible
Subject: Re: IBM PTF's to fix #include_next bug in IBM C 9.0/10.1
Date: Tue, 17 Feb 2009 23:44:16 +0100
User-agent: KMail/1.9.9

James Youngman wrote:
> I suggest
> 
> dnl Prior to the 2009-01 updates, IBM C versions 9.0 and 10.1 support
> include_next when used
> dnl as the first preprocessor directive in a file, but not when it is
> preceded by another include
> dnl directive.  To work around this, we include <stdio.h> here.
> dnl Additionally, ...
> 
> This avoids the mixed singlular/plural subject in the sentence and
> puts in a missing "the".

Thanks. Reformulated as follows.


2009-02-17  James Youngman  <address@hidden>
            Bruno Haible  <address@hidden>

        * m4/include_next.m4: Reformulate comment.

--- m4/include_next.m4.orig     2009-02-17 23:41:22.000000000 +0100
+++ m4/include_next.m4  2009-02-17 23:39:41.000000000 +0100
@@ -1,4 +1,4 @@
-# include_next.m4 serial 11
+# include_next.m4 serial 12
 dnl Copyright (C) 2006-2009 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
@@ -32,14 +32,15 @@
     [gl_cv_have_include_next],
     [rm -rf conftestd1a conftestd1b conftestd2
      mkdir conftestd1a conftestd1b conftestd2
-     dnl The include of <stdio.h> is because IBM C 9.0, 10.1 (original
-     dnl versions, prior to 2009-01 updates) on AIX 6.1 supports include_next
-     dnl when used as first preprocessor directive in a file, but not when
-     dnl preceded by another include directive. Additionally, with this same
-     dnl compiler, include_next is a no-op when used in a header file that was
-     dnl included by specifying its absolute file name. Despite these two bugs,
-     dnl include_next is used in the compiler's <math.h>. By virtue of the
-     dnl second bug, we need to use include_next as well in this case.
+     dnl IBM C 9.0, 10.1 (original versions, prior to the 2009-01 updates) on
+     dnl AIX 6.1 support include_next when used as first preprocessor directive
+     dnl in a file, but not when preceded by another include directive. Check
+     dnl for this bug by including <stdio.h>.
+     dnl Additionally, with this same compiler, include_next is a no-op when
+     dnl used in a header file that was included by specifying its absolute
+     dnl file name. Despite these two bugs, include_next is used in the
+     dnl compiler's <math.h>. By virtue of the second bug, we need to use
+     dnl include_next as well in this case.
      cat <<EOF > conftestd1a/conftest.h
 #define DEFINED_IN_CONFTESTD1
 #include_next <conftest.h>




reply via email to

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