m4-discuss
[Top][All Lists]
Advanced

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

Re: [bug-gnulib] wcwidth on OSF/1


From: Bruno Haible
Subject: Re: [bug-gnulib] wcwidth on OSF/1
Date: Mon, 7 Aug 2006 20:47:38 +0200
User-agent: KMail/1.9.1

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




reply via email to

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