public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: Alan Modra <amodra@gmail.com>
To: Pip Cet <pipcet@gmail.com>
Cc: Nick Clifton <nickc@redhat.com>,
	Simon Marchi <simon.marchi@ericsson.com>,
	binutils@sourceware.org
Subject: Re: [PATCH] [WebAssembly] Disassembler support
Date: Fri, 07 Apr 2017 22:05:00 -0000	[thread overview]
Message-ID: <20170407220503.GX16711@bubble.grove.modra.org> (raw)
In-Reply-To: <CAOqdjBc3KCrBKLpwz49ZNkdXBvwADGyy5jpfkpf1GR0ssMrDkA@mail.gmail.com>

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

  reply	other threads:[~2017-04-07 22:05 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-06 19:39 Simon Marchi
2017-04-07  0:00 ` Pip Cet
2017-04-07  9:32   ` Nick Clifton
2017-04-07 18:22     ` Pip Cet
2017-04-07 22:05       ` Alan Modra [this message]
2017-04-07 22:57         ` Pip Cet
2017-04-09 10:35           ` Alan Modra
2017-04-09 13:20             ` Pip Cet
2017-04-09 23:39               ` Alan Modra
2017-04-10  0:11                 ` Pip Cet
2017-04-10  5:32                   ` Alan Modra
  -- strict thread matches above, loose matches on Subject: below --
2017-03-31 23:18 Pip Cet
2017-04-06 16:22 ` Nick Clifton
2017-04-07  0:29   ` Pip Cet
2017-04-07  7:41     ` Nick Clifton

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=20170407220503.GX16711@bubble.grove.modra.org \
    --to=amodra@gmail.com \
    --cc=binutils@sourceware.org \
    --cc=nickc@redhat.com \
    --cc=pipcet@gmail.com \
    --cc=simon.marchi@ericsson.com \
    /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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).