This is the mail archive of the
mailing list for the glibc project.
Re: Linker warning messages should have the word 'warning' in them.
- From: "Zack Weinberg" <zack at codesourcery dot com>
- To: Roland McGrath <roland at redhat dot com>
- Cc: Alexandre Oliva <aoliva at redhat dot com>, libc-alpha at sources dot redhat dot com
- Date: Fri, 01 Aug 2003 01:38:52 -0700
- Subject: Re: Linker warning messages should have the word 'warning' in them.
- References: <200308010811.h718BwC01228@magilla.sf.frob.com>
Roland McGrath <email@example.com> writes:
>> Since the section name is .gnu.warning (and not
>> .gnu.linker-diagnostic), perhaps the linker should prepend `warning:'
>> to any such messages?
> I think that makes the most sense. If ld were to have something like
> -Werror, then it would be inappropriate for the messages to say "warning:"
> when they were in fact aborting the ld run. Since ld is in charge of
> whether or not the message is fatal, ld should be in charge of saying so.
Good point. I'll bring this up to the binutils folks.