From b0fc7e3f40c75c6f9dc729be8bb1b0a28e65e6bd Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 19 Jul 2017 19:30:59 +0200 Subject: Warn if compiler does not support modules --- build/root.build | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'build') 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 -- cgit v1.1