From 0d31b39f114253d0b2c22873abe5c2d4f492deca Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Mon, 19 Oct 2020 12:44:53 +0300 Subject: [PATCH] cgen: improve error message for --- vlib/v/gen/cgen.v | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/vlib/v/gen/cgen.v b/vlib/v/gen/cgen.v index bc98e12607..f700df02ae 100644 --- a/vlib/v/gen/cgen.v +++ b/vlib/v/gen/cgen.v @@ -282,7 +282,7 @@ pub fn (mut g Gen) init() { g.cheaders.writeln(g.pref.custom_prelude) } else if !g.pref.no_preludes { g.cheaders.writeln('// Generated by the V compiler') - g.cheaders.writeln(get_guarded_include_text('', 'Please install build-essentials')) // int64_t etc + g.cheaders.writeln(get_guarded_include_text('', 'The C compiler can not find . Please install build-essentials')) // int64_t etc g.cheaders.writeln(c_builtin_types) if g.pref.is_bare { g.cheaders.writeln(bare_c_headers) @@ -5536,5 +5536,5 @@ pub fn get_guarded_include_text(iname string, imessage string) string { |#include $iname |#endif '.strip_margin() - return res -} + return res +}