|
From: | cvs-commit at gcc dot gnu.org |
Subject: | [Bug ld/31289] --fatal-warnings doesn't work for command-line options |
Date: | Thu, 25 Jan 2024 17:26:58 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=31289 --- Comment #4 from Sourceware Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by H.J. Lu <hjl@sourceware.org>: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=624c610dd46ed441c349f4bd889f3416cf867fd5 commit 624c610dd46ed441c349f4bd889f3416cf867fd5 Author: H.J. Lu <hjl.tools@gmail.com> Date: Thu Jan 25 07:39:05 2024 -0800 ld: Always call output_unknown_cmdline_warning Call output_unknown_cmdline_warning if there are no input files so that $ ld -z bad-option reports ld: warning: -z bad-option ignored ld: no input files instead of ld: no input files PR ld/31289 * ldmain.c (main): Call output_unknown_cmdline_warning if there are no input files. -- You are receiving this mail because: You are on the CC list for the bug.
[Prev in Thread] | Current Thread | [Next in Thread] |