bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#13448: Cannot build Emacs 24.2.92


From: Andreas Schwab
Subject: bug#13448: Cannot build Emacs 24.2.92
Date: Tue, 15 Jan 2013 19:48:46 +0100

Xue Fuqiao <xfq.free@gmail.com> writes:

> In file included from /home/xfq/emacs-24.2.92/lib-src/make-docfile.c:250:0,
>                  from /home/xfq/emacs-24.2.92/lib-src/make-docfile.c:640,
>                  from :20:
> /home/xfq/emacs-24.2.92/lib-src/make-docfile.c: In function ‘main’:
> /usr/include/x86_64-linux-gnu/bits/stdio2.h:98:3: error: ‘type’ may be used 
> uninitialized in this function [-Werror=maybe-uninitialized]
> In file included from /home/xfq/emacs-24.2.92/lib-src/make-docfile.c:247:0,
>                  from /home/xfq/emacs-24.2.92/lib-src/make-docfile.c:640,
>                  from :20:
> /home/xfq/emacs-24.2.92/lib-src/make-docfile.c:627:19: note: ‘type’ was 
> declared here

Your compiler isn't smart enough to see that the variable type is always
initialized before use.  But emacs shouldn't use -Wmaybe-uninitialized
anyway, since that triggers a lot of spurious warnings in various
compilers.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."





reply via email to

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