On 6 Jan 2018, at 17:51, Eitan Adler <li...@eitanadler.com> wrote: > > On 6 January 2018 at 08:36, Dimitry Andric <d...@freebsd.org> wrote: >> On 6 Jan 2018, at 14:19, Eitan Adler <li...@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
signature.asc
Description: Message signed with OpenPGP