public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: "Martin Liška" <mliska@suse.cz>
To: Binutils <binutils@sourceware.org>
Subject: Do we support Not ANSI C compiler?
Date: Mon, 9 May 2022 10:49:08 +0200	[thread overview]
Message-ID: <99b5380e-8072-dd67-497d-94f72eee43c3@suse.cz> (raw)

Hi.

I noticed ./include/ansidecl.h contains not ANSI C path:

#else	/* Not ANSI C.  */

#define PTR		char *

/* some systems define these in header files for non-ansi mode */
#undef const
#undef volatile
#undef signed
#undef inline
#define const
#define volatile
#define signed
#define inline

#endif	/* ANSI C.  */

And my question is if we really support such compilers or can we remove the hunk?

Cheers,
Martin

             reply	other threads:[~2022-05-09  8:49 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-09  8:49 Martin Liška [this message]
2022-05-09  9:22 ` Pedro Alves
2022-05-09 12:01   ` Martin Liška
2022-05-10  1:44 ` Alan Modra
2022-05-10  1:47   ` bfd: remove use of PTR Alan Modra
2022-05-10  1:49     ` opcodes: " Alan Modra
2022-05-10  1:49       ` gas: " Alan Modra
2022-05-10  1:50         ` gprof: " Alan Modra

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=99b5380e-8072-dd67-497d-94f72eee43c3@suse.cz \
    --to=mliska@suse.cz \
    --cc=binutils@sourceware.org \
    /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).