dba7b0ef92
Changes of interest o unit-tests: use private TMPDIR to avoid errors from other users o avoid strdup in mkTempFile o always use vfork o job.c: do not create empty shell files in jobs mode reduce unnecessary calls to waitpid o cond.c: fix debug output for comparison operators in conditionals
19 lines
487 B
Makefile
19 lines
487 B
Makefile
# $NetBSD: opt-warnings-as-errors.mk,v 1.5 2021/01/27 00:02:38 rillig Exp $
|
|
#
|
|
# Tests for the -W command line option, which turns warnings into errors.
|
|
#
|
|
# Even in -W mode, a .warning is not completely equivalent to an .error.
|
|
# First, the word "warning" is still printed, and second, parsing continues
|
|
# after a failed warning, whereas it would stop immediately at the first
|
|
# .error.
|
|
|
|
.MAKEFLAGS: -W
|
|
|
|
.warning message 1
|
|
.warning message 2
|
|
|
|
_!= echo 'parsing continues' 1>&2
|
|
|
|
all:
|
|
@:;
|