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: Silence compiler warning on


> From: Ian Lance Taylor <ian@airs.com>
> Date: 18 Apr 2006 16:13:59 -0700
> 
> Mark Kettenis <mark.kettenis@xs4all.nl> writes:
> 
> > Index: ChangeLog
> > from  Mark Kettenis  <kettenis@jive.nl>
> > 
> >         * bfd.c (_bfd_abort): Provide prototype for _exit with
> >         ATTRIBUTE_NORETURN.
> 
> I think something like this should use AC_CHECK_DECLS to avoid a
> conflict with the system header files.

I fail to see how that would work.  I'm not trying to add a missing
prototype; I'm trying to augment a prototype with a noreturn attribute.

A conflict with the system header files seems rather unlikely; the
only variation I could imagine, is that some (pre ISO C) header files
fail to provide the proper return type.

Mark


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