bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/31289] --fatal-warnings doesn't work for command-line options


From: hjl.tools at gmail dot com
Subject: [Bug ld/31289] --fatal-warnings doesn't work for command-line options
Date: Wed, 24 Jan 2024 22:28:56 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=31289

--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> ---
Also it looks strange:

    $ ld.bfd --fatal-warnings -z bad-option -e 0 /dev/null
    ld.bfd: warning: -z bad-option ignored
    $ echo $?
    1

Why do we say "warning: -z bad-option ignored" when it is an error.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]