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

Eitan Adler lists at eitanadler.com
Sat Jan 6 18:15:51 UTC 2018


On 6 January 2018 at 09:02, Dimitry Andric <dim at freebsd.org> wrote:
> 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 :).

Makes sense. I was asking since I copy/pasted the log above which
results in success and includes the compiler warnings. My best guess
right now is that my timestamps are off resulting a rebuild not
actually happening. Either way, thank you to Li-Wen Hsu for fixing and
everyone else for dealing with me ;)



-- 
Eitan Adler


More information about the svn-src-all mailing list