This is the mail archive of the binutils@sourceware.org mailing list for the binutils 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]

Re: [PATCH] [WebAssembly] Disassembler support


Building --enable-targets=all is broken on Ubuntu 16.04 where gcc is:
gcc (Ubuntu 4.9.4-2ubuntu1~16.04) 4.9.4

.../opcodes/wasm32-dis.c: In function ‘print_insn_wasm32’:
.../wasm32-dis.c:408:34: error: ‘DECIMAL_DIG’ undeclared (first use in this function)
           prin (stream, " %.*g", DECIMAL_DIG, fconstant);
                                  ^
This boils down to the fact that you can't use a C99 feature unless
C99 is default for your compiler or you build with -std=c99.  I
wouldn't be against requiring C99 to build binutils, but that policy
decision hasn't been made yet..

-- 
Alan Modra
Australia Development Lab, IBM


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