This is the mail archive of the binutils@sourceware.cygnus.com 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]

Re: Problems compiling the latest snapshot


>>>>> "Ian" == Ian Lance Taylor <ian@zembu.com> writes:

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

I will repair this.

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

May we change bfd_put_8 to be consistent with the others?

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

This is unrelated to my changes; it is presumably the result of:

1998-10-26 15:58  Ulrich Drepper  <drepper@cygnus.com>

	* elflink.h (elf_collect_hash_codes): New function.  This function is
	called for each exported symbol and we compute the ELF hash value for
	it.

--
Mark Mitchell                   mark@codesourcery.com
CodeSourcery, LLC               http://www.codesourcery.com

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