Le 04/09/2017 à 23:23, Kamil Rytarowski a écrit : > GCC 4.7.2 on SunOS reports that the values assigned to array members are not > real constants: > > target/m68k/fpu_helper.c:32:5: error: initializer element is not constant > target/m68k/fpu_helper.c:32:5: error: (near initialization for 'fpu_rom[0]') > rules.mak:66: recipe for target 'target/m68k/fpu_helper.o' failed > > Convert the array to make_floatx80_init() to fix it. > Replace floatx80_pi-like constants with make_floatx80_init() as they are > defined as make_floatx80(). > > This fixes build on SmartOS (Joyent). > > Signed-off-by: Kamil Rytarowski <n...@gmx.com> > Reviewed-by: Philippe Mathieu-Daudé <f4...@amsat.org> > --- > target/m68k/fpu_helper.c | 44 ++++++++++++++++++++++---------------------- > 1 file changed, 22 insertions(+), 22 deletions(-) >
Applied to my branch m68k-for-2.11 Thanks, Laurent