SCCS-vsn: usr.bin/make/compat.c 5.5
SCCS-vsn: usr.bin/make/parse.c 5.10
-static char sccsid[] = "@(#)compat.c 5.4 (Berkeley) %G%";
+static char sccsid[] = "@(#)compat.c 5.5 (Berkeley) %G%";
#endif /* not lint */
/*-
#endif /* not lint */
/*-
*/
if (*cmdStart == '\0') {
*/
if (*cmdStart == '\0') {
- if (!noWarnings) {
- Error("%s expands to empty string", cmd);
- }
+ Error("%s expands to empty string", cmd);
return(0);
} else {
cmd = cmdStart;
return(0);
} else {
cmd = cmdStart;
-static char sccsid[] = "@(#)parse.c 5.9 (Berkeley) %G%";
+static char sccsid[] = "@(#)parse.c 5.10 (Berkeley) %G%";
#endif /* not lint */
/*-
#endif /* not lint */
/*-
- if (type == PARSE_WARNING && noWarnings)
- return;
(void)fprintf(stderr, "\"%s\", line %d: ", fname, lineno);
if (type == PARSE_WARNING)
(void)fprintf(stderr, "\"%s\", line %d: ", fname, lineno);
if (type == PARSE_WARNING)
- (void)fprintf(stderr, "Warning: ");
+ (void)fprintf(stderr, "warning: ");
va_start(ap);
fmt = va_arg(ap, char *);
(void)vfprintf(stderr, fmt, ap);
va_start(ap);
fmt = va_arg(ap, char *);
(void)vfprintf(stderr, fmt, ap);