sim vs c99
Mike Frysinger
vapier@gentoo.org
Thu Feb 19 16:02:00 GMT 2015
On 19 Feb 2015 09:06, DJ Delorie wrote:
> 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?
i'm not actively looking into it (and probably won't until gcc blows up), but i
have no problem if someone else wants to do so ahead of time.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://sourceware.org/pipermail/gdb/attachments/20150219/216bc9f7/attachment.sig>
More information about the Gdb
mailing list