This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

sim vs c99


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?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]