Date: Sat, 6 Jan 2018 08:51:28 -0800 From: Eitan Adler <lists@eitanadler.com> To: Dimitry Andric <dim@freebsd.org> Cc: Li-Wen Hsu <lwhsu@freebsd.org>, src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r327616 - head/usr.bin/morse Message-ID: <CAF6rxgnsKyUBR_xhvad7fivi98wUrnzmS5qwU3m5c4mPOV%2BopA@mail.gmail.com> In-Reply-To: <8CD482D7-1C01-480E-A2DE-5B9E1ACF05D4@FreeBSD.org> References: <201801060948.w069m4Rb058364@repo.freebsd.org> <CAF6rxgkEUWztBOc92rxpH8M_AbkbtMw0w=Ah3VS=dbS6_U8taQ@mail.gmail.com> <8CD482D7-1C01-480E-A2DE-5B9E1ACF05D4@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 6 January 2018 at 08:36, Dimitry Andric <dim@freebsd.org> wrote: > On 6 Jan 2018, at 14:19, Eitan Adler <lists@eitanadler.com> wrote: >> >> On 6 January 2018 at 01:48, Li-Wen Hsu <lwhsu@freebsd.org> wrote: >>> Author: lwhsu (ports committer) >>> Date: Sat Jan 6 09:48:04 2018 >>> New Revision: 327616 >>> URL: https://svnweb.freebsd.org/changeset/base/327616 >>> >>> Log: >>> Unbreak build after r327614 >> >> Why is testing with "make obj; make" in the morse directory insufficient= ? >> >> =E2=88=B4make obj; make >> rm -f .depend >> echo morse.full: /usr/lib/libc.a >> .depend >> cc -O2 -pipe -g -MD -MF.depend.morse.o -MTmorse.o -std=3Dgnu99 >> -fstack-protector-strong -Wsystem-headers -Werror -Wall >> -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes >> -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual >> -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align >> -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls >> -Wold-style-definition -Wno-pointer-sign >> -Wmissing-variable-declarations -Wthread-safety -Wno-empty-body >> -Wno-string-plus-int -Wno-unused-const-variable -Qunused-arguments >> -c morse.c -o morse.o >> cc -O2 -pipe -g -std=3Dgnu99 -fstack-protector-strong -Wsystem-headers >> -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter >> -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type >> -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter >> -Wcast-align -Wchar-subscripts -Winline -Wnested-externs >> -Wredundant-decls -Wold-style-definition -Wno-pointer-sign >> -Wmissing-variable-declarations -Wthread-safety -Wno-empty-body >> -Wno-string-plus-int -Wno-unused-const-variable -Qunused-arguments -o >> morse.full morse.o >> objcopy --only-keep-debug morse.full morse.debug >> objcopy --strip-debug --add-gnu-debuglink=3Dmorse.debug morse.full mors= e >> gzip -cn morse.6 > morse.6.gz > > Before r327616, I get: > > usr.bin/morse/morse.c:602:15: error: unused parameter 'stream' [-Werror,-= Wunused-parameter] > fdecode(FILE *stream) > ^ > 1 error generated. > > Maybe you have warnings turned off in your local build environment? Is there anything that I could set in my environment that would override the command line flags? --=20 Eitan Adler
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAF6rxgnsKyUBR_xhvad7fivi98wUrnzmS5qwU3m5c4mPOV%2BopA>