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

Dimitry Andric dim at FreeBSD.org
Sat Jan 6 17:02:33 UTC 2018


On 6 Jan 2018, at 17:51, Eitan Adler <lists at eitanadler.com> wrote:
> 
> On 6 January 2018 at 08:36, Dimitry Andric <dim at freebsd.org> wrote:
>> On 6 Jan 2018, at 14:19, Eitan Adler <lists at eitanadler.com> wrote:
...
>>> Why is testing with "make obj; make" in the morse directory insufficient?
...
>> 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?

It depends.  Many people have /etc/make.conf or /etc/src.conf files with
extensive settings and compiler flag modifications, so usually the first
advice is to do:

export __MAKE_CONF=/dev/null
export SRCCONF=/dev/null

then attempt to build again.  If that works, then slowly go through the
make.conf or src.conf settings, enabling them one by one until you
reproduce the failure (or unexpected success :).

-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-all/attachments/20180106/f4650118/attachment.sig>


More information about the svn-src-all mailing list