This is the mail archive of the binutils@sources.redhat.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]
Other format: [Raw text]

Re: gas configure cleanup


>! #if !HAVE_DECL_MALLOC
>  extern PTR malloc ();

The above is just an example.  I'm not sure what the best solution is but
possibly '-Werror' needs to be disabled when a declaration for a function
needs to be provided.  The prototype for malloc as written above will generate
an warning on a system that lacks a malloc prototype.  I hit this trying
to build a recent version of binutils on vax-dec-ultrix last month.

Dave
-- 
J. David Anglin                                  dave.anglin@nrc-cnrc.gc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6602)


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