mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
cgen: improve error message for <inttypes.h>
This commit is contained in:
parent
d89986dd5e
commit
0d31b39f11
@ -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('<inttypes.h>', 'Please install build-essentials')) // int64_t etc
|
||||
g.cheaders.writeln(get_guarded_include_text('<inttypes.h>', 'The C compiler can not find <inttypes.h> . Please install build-essentials')) // int64_t etc
|
||||
g.cheaders.writeln(c_builtin_types)
|
||||
if g.pref.is_bare {
|
||||
g.cheaders.writeln(bare_c_headers)
|
||||
|
Loading…
Reference in New Issue
Block a user