svn commit: r327616 - head/usr.bin/morse

Dimitry Andric dim at FreeBSD.org
Sat Jan 6 16:36:31 UTC 2018


On 6 Jan 2018, at 14:19, Eitan Adler <lists at eitanadler.com> wrote:
> 
> On 6 January 2018 at 01:48, Li-Wen Hsu <lwhsu at 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?
> 
> ∴make 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=gnu99
> -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=gnu99 -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=morse.debug  morse.full morse
> 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?

-Dimitry

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 223 bytes
Desc: Message signed with OpenPGP
URL: <http://lists.freebsd.org/pipermail/svn-src-head/attachments/20180106/652f1b6c/attachment.sig>


More information about the svn-src-head mailing list