bug-autoconf
[Top][All Lists]
Advanced

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

mbstate_t not properly detected


From: Denis Corbin
Subject: mbstate_t not properly detected
Date: Sun, 13 Feb 2005 19:08:39 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6b) Gecko/20040920

Hi,

On several system (Solaris 2.6, openBSD 3.6, macOS X 10.2), the
mbstate_t structure is not detected by autoconf while system include files provide it. Autoconf does thus redefine this type which conflicts with real system headers, leading to compilation problem while parsing system headers.

The workaround on theses systems is to manually change the generated
config.h by adding:

    #define HAVE_MBSTATE_T 1

and commenting out:

    /* #define mbstate_t int */

I have not seen any bug report about that problem, maybe I have missed
something somewhere?

Cheers,
Denis Corbin.




reply via email to

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