public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: Ian Lance Taylor <ian@zembu.com>
To: mark@codesourcery.com
Cc: kk@ddeorg.soft.net, binutils@sourceware.cygnus.com
Subject: Re: Problems compiling the latest snapshot
Date: Sat, 10 Jul 1999 17:52:00 -0000	[thread overview]
Message-ID: <19990711005113.1224.qmail@daffy.airs.com> (raw)
In-Reply-To: <19990710101051I.mitchell@codesourcery.com>

   From: Mark Mitchell <mark@codesourcery.com>
   Date: Sat, 10 Jul 1999 10:10:51 -0700

   >>>>> "Koundinya" == Koundinya K <kk@ddeorg.soft.net> writes:

       Koundinya> Hi all !!, As the subject says I am getting the
       Koundinya> following errors when I am trying to compile the
       Koundinya> binutils-990710 snapshot.

   These problems are almost certainly due to my recent changes, since
   they occur at lines I have touched.  However, I don't understand *why*
   they occur, and they do not occur on my machine.  It's possible that I
   missed a checkin of a generate file, but a) I can't see which one and
   b) I wouldn't expect the symptoms you're seeing.  Perhaps you could
   preprocess the source file and send it to me?

These are portability issues.

   "../../binutils-990710/bfd/elflink.h", line 2112: warning: semantics of "<" change in ANSI C; use explicit cast

You are comparing a signed value with an unsigned value.

   "../../binutils-990710/bfd/elflink.h", line 3082: operands have incompatible types: op ":"
   "../../binutils-990710/bfd/elflink.h", line 3083: operands have incompatible types: op ":"
   "../../binutils-990710/bfd/elflink.h", line 4787: operands have incompatible types: op ":"
   "../../binutils-990710/bfd/elflink.h", line 4788: operands have incompatible types: op ":"

These are telling you that a use of ?: has incompatible types.  In
this case it is because the type of bfd_put_8 is not void, unlike the
types of the other cases of the bfd_put conditional.

   "../../binutils-990710/bfd/elflink.h", line 6362: warning: argument is incompatible with prototype: arg #1

bfd_elf_hash takes a pointer to unsigned char (this seems strange to
me, but maybe most callers to call it that way).  This line is passing
it a pointer to char.

Ian

  parent reply	other threads:[~1999-07-10 17:52 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-07-10  7:34 Koundinya.K
1999-07-10 10:07 ` Mark Mitchell
1999-07-10 10:35   ` H.J. Lu
1999-07-10 17:52   ` Ian Lance Taylor [this message]
1999-07-11  0:10     ` Mark Mitchell

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=19990711005113.1224.qmail@daffy.airs.com \
    --to=ian@zembu.com \
    --cc=binutils@sourceware.cygnus.com \
    --cc=kk@ddeorg.soft.net \
    --cc=mark@codesourcery.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).