GNU bug report logs - #12484
bytecode.c compilation problem with old gcc

Previous Next

Package: emacs;

Reported by: Dan Nicolaescu <dann <at> gnu.org>

Date: Fri, 21 Sep 2012 18:58:02 UTC

Severity: minor

Tags: wontfix

Merged with 15111

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Dan Nicolaescu <dann <at> gnu.org>
To: bug-gnu-emacs <at> gnu.org
Subject: bytecode.c compilation problem with old gcc
Date: Fri, 21 Sep 2012 14:56:00 -0400
On an old machine with:

$ gcc --version
2.96

bytecode.c does not compile:


gcc   -g3 -O2 /home/dann/hack/emacs/Emacs-CVS/emacs/src/bytecode.c
emacs/src/bytecode.c: In function `exec_byte_code':
emacs/src/bytecode.c:672: duplicate array index in initializer
emacs/src/bytecode.c:672: (near initialization for `targets')
emacs/src/bytecode.c:672: warning: excess elements in array initializer
emacs/src/bytecode.c:672: warning: (near initialization for `targets')
emacs/src/bytecode.c:672: duplicate array index in initializer


Disabling BYTE_CODE_THREADED makes it work.

Maybe the #if that enables BYTE_CODE_THREADED needs to be refined a bit.





This bug report was last modified 8 years and 170 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.