all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Dan Nicolaescu <dann@gnu.org>
To: 12484@debbugs.gnu.org
Subject: bug#12484: bytecode.c compilation problem with old gcc
Date: Fri, 21 Sep 2012 14:56:00 -0400	[thread overview]
Message-ID: <yxqa9wj8atb.fsf@fencepost.gnu.org> (raw)


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.






             reply	other threads:[~2012-09-21 18:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-21 18:56 Dan Nicolaescu [this message]
2016-12-07 17:29 ` bug#12484: bytecode.c compilation problem with old gcc Glenn Morris

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=yxqa9wj8atb.fsf@fencepost.gnu.org \
    --to=dann@gnu.org \
    --cc=12484@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.