bug-autoconf
[Top][All Lists]
Advanced

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

Re: mbstate_t not properly detected


From: Noah Misch
Subject: Re: mbstate_t not properly detected
Date: Wed, 16 Feb 2005 17:31:27 -0800
User-agent: Mutt/1.5.6i

On Mon, Feb 14, 2005 at 11:52:19AM +0100, Denis Corbin wrote:
> On several systems (Solaris 2.6, openBSD 3.6, macOS X 10.2) the
> "./configure && make" fails due to the redefinition by the configure 
> script of the mbtate_t type, on Linux instead it seems to work properly,
> with the same compiler version.
> 
> the problem seems to be linked with the gcc C++ header files:
> ----
> In file included from /usr/include/gcc/darwin/3.3/c++/bits/fpos.h:45,
>                  from /usr/include/gcc/darwin/3.3/c++/iosfwd:49,
>                  from 
> /usr/include/gcc/darwin/3.3/c++/bits/stl_algobase.h:70,
>                  from /usr/include/gcc/darwin/3.3/c++/algorithm:66,
> /usr/include/gcc/darwin/3.3/c++/cwchar:65: error: semicolon missing 
> after    struct declaration
> ----

This is an excerpt from config.log?  Do the relevant config.log bits for the
other two affected systems look similar?  If not, please post a full config.log
from running your test case `configure' on each affected system.

It is fishy that the trivial test program does not build, yet the bits of your
project that use mbstate_t do build when you manually hack config.h.  Do you use
mbstate_t in a C file or a C++ file?  Do you include <wchar.h> in that file?




reply via email to

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