Gary V. Vaughan wrote:
> Here is the culprit:
> 
> configure:14791: checking whether wcwidth is declared
> configure:14828: cc -c -g  conftest.c >&5
> cc: Error: /usr/include.dtk/wchar.h, line 78: Ill-formed parameter type
> list. (parmtyplist)
>                 __VA_LIST__ __arg);
> ----------------^
> cc: Error: /usr/include.dtk/wchar.h, line 83: Ill-formed parameter type
> list. (parmtyplist)
>                 __VA_LIST__ __arg);
> ----------------^
> cc: Error: /usr/include.dtk/wchar.h, line 87: Ill-formed parameter type
> list. (parmtyplist)
>                 __VA_LIST__ __arg);
> ----------------^
> configure:14834: $? = 1

Ouch. The compiler doesn't grok its own include file.

I've seen error on another machine too. My fix was to set the CFLAGS so
that /usr/include would override /usr/include.dtk, but still allow
<iconv.h> to be found from my /opt/gnu:

  $ ./configure --prefix=/opt/gnu \
    CC="cc -O" CFLAGS="-I/opt/gnu/include -I/usr/include"

But maybe there is another solution? Does the compiler support a flag that
makes it grok the __VA_LIST__ in the first place?

Bruno


_______________________________________________
M4-discuss mailing list
M4-discuss@gnu.org
http://lists.gnu.org/mailman/listinfo/m4-discuss

Reply via email to