about summary refs log tree commit diff stats
path: root/043space.cc
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2016-02-25 07:39:25 -0800
committerKartik K. Agaram <vc@akkartik.com>2016-02-25 07:46:56 -0800
commitf51e9f63b40ce3d5c4d40808bf1b7e83ab7d60ff (patch)
tree4730fc0e0e69e8537686730a7a233d84b54f0266 /043space.cc
parentb5ab709c53d3f8464e6358678a3c57a1fc6e64b8 (diff)
downloadmu-f51e9f63b40ce3d5c4d40808bf1b7e83ab7d60ff.tar.gz
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.
Diffstat (limited to '043space.cc')
-rw-r--r--043space.cc2
1 files changed, 1 insertions, 1 deletions
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';
   }
 }