bug-gnulib
[Top][All Lists]
Advanced

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

Re: btwowc(EOF) hang with gcc 4.4.2


From: Bruno Haible
Subject: Re: btwowc(EOF) hang with gcc 4.4.2
Date: Tue, 22 Dec 2009 21:16:39 +0100
User-agent: KMail/1.9.9

Eric Blake wrote:
> > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42440

In summary, when a glibc version 2.3.x to 2.5 is used with a gcc version
4.3 or newer, the use of __inline in <wchar.h> leads to multiple
misbehaviours:
  - miscompilation, as observed by Karl,
  - link errors, as observed here:
      http://sourceware.org/bugzilla/show_bug.cgi?id=4022

> Any objections to the following?
> +       * m4/btowc.m4 (gl_FUNC_BTOWC): Add a timeout.
> +       * doc/posix-functions/btowc.texi (btowc): Document the problem.

Yes, I object. It's not only about 'btowc'. The entire <wchar.h> is
broken in this situation. The protection needs to go into m4/wchar.m4.

Bruno




reply via email to

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