From f51e9f63b40ce3d5c4d40808bf1b7e83ab7d60ff Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Thu, 25 Feb 2016 07:39:25 -0800 Subject: 2701 - turn some warnings into errors I really have only one warning left: when somebody redefines a function. I think I'm going to just turn that into an error as well and drop the notion of warnings altogether. Anytime we find something wrong we stop running the program. This is a place where hygiene is justified. --- 043space.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '043space.cc') diff --git a/043space.cc b/043space.cc index fdd987b2..a1c91a34 100644 --- a/043space.cc +++ b/043space.cc @@ -264,7 +264,7 @@ void check_default_space(const recipe_ordinal r) { if (caller.steps.empty()) return; if (caller.steps.at(0).products.empty() || caller.steps.at(0).products.at(0).name != "default-space") { - raise << maybe(caller.name) << " does not seem to start with default-space or local-scope\n" << end(); + raise_error << maybe(caller.name) << " does not seem to start with default-space or local-scope\n" << end(); //? cerr << maybe(caller.name) << " does not seem to start with default-space or local-scope\n" << '\n'; } } -- cgit 1.4.1-2-gfad0