From: DJ Delorie <dj@redhat.com>
To: gdb@sourceware.org
Subject: sim vs c99
Date: Thu, 19 Feb 2015 14:06:00 -0000 [thread overview]
Message-ID: <201502191406.t1JE6k4X000856@greed.delorie.com> (raw)
clang defaults to c99 and gcc is moving towards it.
The simulator won't build with -std=c99, lots of these due to "extern
inline" using the c89 semantics:
libsim.a(sim-core.o): In function `sim_addr_range_hit_p':
binutils-gdb/sim/msp430/../common/sim-arange.c:290: multiple definition of `sim_addr_range_hit_p'
nrun.o:binutils-gdb/sim/msp430/../common/sim-arange.c:290: first defined here
Are there any plans to switch to C99 or at least detect/support a C99
environment?
next reply other threads:[~2015-02-19 14:06 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-19 14:06 DJ Delorie [this message]
2015-02-19 16:02 ` Mike Frysinger
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=201502191406.t1JE6k4X000856@greed.delorie.com \
--to=dj@redhat.com \
--cc=gdb@sourceware.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox