[Top][All Lists]

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

Re: lib/fcntl.in.h fails on AIX 6.1

From: Albert Chin
Subject: Re: lib/fcntl.in.h fails on AIX 6.1
Date: Thu, 4 Sep 2008 13:23:50 -0500
User-agent: Mutt/1.5.18 (2008-05-17)

On Thu, Sep 04, 2008 at 12:26:43PM -0500, Albert Chin wrote:
> [[ snip snip ]]
> Compiler bug? It seems like #include_next isn't working. Oddly, if I
> modify fcntl.h so it's just:
>   #include_next <fcntl.h>
> then everything works. But, if I precede the #include_next with other
> #include directives, the error above occurs. Definitely seems like a
> compiler bug. The #include directive seems to be resetting the order of
> the search paths.

The patch below would work around this and disable #include_next on this

albert chin (address@hidden)

-- snip snip
diff --git a/m4/include_next.m4 b/m4/include_next.m4
index 08c63db..f0f947b 100644
--- a/m4/include_next.m4
+++ b/m4/include_next.m4
@@ -30,6 +30,7 @@ AC_DEFUN([gl_INCLUDE_NEXT],
      mkdir conftestd1 conftestd2
      cat <<EOF > conftestd1/conftest.h
+#include <stdio.h>
 #include_next <conftest.h>
 int foo;

reply via email to

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