aboutsummaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-07-19 19:30:59 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-07-19 19:30:59 +0200
commitb0fc7e3f40c75c6f9dc729be8bb1b0a28e65e6bd (patch)
treeedb2695dc6312d14a14d98afb186db29206ecadd /build
parenta3c6a06b0860c78b542eda8dc05e65e820bd59a9 (diff)
Warn if compiler does not support modules
Diffstat (limited to 'build')
-rw-r--r--build/root.build3
1 files changed, 2 insertions, 1 deletions
diff --git a/build/root.build b/build/root.build
index cfbcda9..9f670f8 100644
--- a/build/root.build
+++ b/build/root.build
@@ -6,7 +6,8 @@ cxx.std = experimental
using cxx
-#assert $cxx.features.modules 'c++ compiler does not support modules'
+if! $cxx.features.modules
+ warn 'c++ compiler does not support modules'
mxx{*}: extension = mxx
cxx{*}: extension = cxx