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: Bug for darwin + windows


On Thu, Dec 09, 2010 at 08:49:59PM -0500, NightStrike wrote:
> On Thu, Dec 9, 2010 at 7:02 PM, Alan Modra <amodra@gmail.com> wrote:
> > On Thu, Dec 09, 2010 at 06:10:37PM -0500, NightStrike wrote:
> >> cc1: warnings being treated as errors
> >
> > configure with --disable-werror
> 
> Can't we just fix the warnings?  That doesn't seem like the "right" solution....

I think you have a crazy version of gcc.  Fix it.  The prototype gcc
is warning about comes from

/*
INTERNAL_FUNCTION
	bfd_generic_get_relocated_section_contents

SYNOPSIS
	bfd_byte *bfd_generic_get_relocated_section_contents
	  (bfd *abfd,
	   struct bfd_link_info *link_info,
	   struct bfd_link_order *link_order,
	   bfd_byte *data,
	   bfd_boolean relocatable,
	   asymbol **symbols);

DESCRIPTION
	Provides default handling of relocation effort for back ends
	which can't be bothered to do it efficiently.

*/

If we strip parameter names here we lose some documentation.  I've
done that in the past and received complaints.  Renaming parameters is
a never-ending exercise.

-- 
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]