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: Denis Corbin
Subject: Re: mbstate_t not properly detected
Date: Mon, 14 Feb 2005 11:52:19 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6b) Gecko/20040920

Stepan Kasal wrote:
[...]


The first thing to note is that you cannot use AC_CHECK_TYPE macro
to check for mbstate_t.  You have to use AC_TYPE_MBSTATE_T instead.

OK. This does not change the problem, sorry.


If you experience problems with AC_TYPE_MBSTATE_T, please give the
details: if you are trying to compile a package, point us to the
tarball.  If you are writing an autoconf script, please prepare an
example, as small as possible, to demonstrate the bug.

I have made it as small as possible, removed automake libtool and gettext to have only make and autoconf involved. Please have a look at it here:

        http://dar.linux.free.fr/autoconf_test.tar.gz

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
----

while with the same compiler version on linux all works perfectly well... 8-|


Have a nice day,
        Stepan Kasal


Thanks, have a nice day too,
Thanks for any help.

Denis Corbin.




reply via email to

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