[Top][All Lists]

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

Re: new snapshot available: coreutils-8.2.52-4db2f

From: Jim Meyering
Subject: Re: new snapshot available: coreutils-8.2.52-4db2f
Date: Tue, 05 Jan 2010 19:22:49 +0100

Ludovic Courtès wrote:
> Surprisingly “make dist” has been failing on Hydra for some time[*]:
> gcc -std=gnu99  -I.      -g -O2 -c -o exclude.o exclude.c
> In file included from mbuiter.h:106,
>                  from exclude.c:38:
> mbchar.h: In function 'mb_width_aux':
> mbchar.h:241: warning: implicit declaration of function 'wcwidth'
> In file included from exclude.c:38:
> mbuiter.h: At top level:
> mbuiter.h:112: error: expected specifier-qualifier-list before 'mbstate_t'
> mbuiter.h: In function 'mbuiter_multi_next':
> [*] http://hydra.nixos.org/job/gnu/coreutils-master/tarball/all

Thanks for the report.
wcwidth is supposed to be declared in wchar.h,
but the above suggests something is not working.

Does your lib/wchar.h file look ok?

Here's the relevant part of mine from a Fedora 12 system:

    /* Return the number of screen columns needed for WC.  */
    #if 1
    # if 0
    #  undef wcwidth
    #  define wcwidth rpl_wcwidth
    extern int wcwidth (wchar_t);
    # else
    #  if !defined wcwidth && !1
    /* wcwidth exists but is not declared.  */
    extern int wcwidth (int /* actually wchar_t */);
    #  endif
    # endif
    #elif defined GNULIB_POSIXCHECK
    # undef wcwidth
    # define wcwidth(w) \
        (GL_LINK_WARNING ("wcwidth is unportable - " \
                          "use gnulib module wcwidth for portability"), \
         wcwidth (w))

reply via email to

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