mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
builder: remove outdated tcc error (#15833)
This was introduced when we enabled the GC by default,as a suggestion for resolving C errors caused by the user having an outdated TCC clone. However, now that several months have passed, it is very unlikely that people still have out-of-date copies of TCC, and instead it is more likely that this error message is hiding the true cause of some C errors unrelated to TCC or the GC.
This commit is contained in:
parent
bbf1ba458e
commit
453cc41c32
@ -60,14 +60,6 @@ fn (mut v Builder) post_process_c_compiler_output(res os.Result) {
|
||||
}
|
||||
return
|
||||
}
|
||||
if res.exit_code != 0 && v.pref.gc_mode != .no_gc && res.output.contains('libgc.a')
|
||||
&& !v.pref.is_o {
|
||||
$if windows {
|
||||
verror(r'Your V installation may be out-of-date. Try removing `thirdparty\tcc\` and running `.\make.bat`')
|
||||
} $else {
|
||||
verror('Your V installation may be out-of-date. Try removing `thirdparty/tcc/` and running `make`')
|
||||
}
|
||||
}
|
||||
for emsg_marker in [builder.c_verror_message_marker, 'error: include file '] {
|
||||
if res.output.contains(emsg_marker) {
|
||||
emessage := res.output.all_after(emsg_marker).all_before('\n').all_before('\r').trim_right('\r\n')
|
||||
|
Loading…
Reference in New Issue
Block a user