We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
-g
-show-c-output
1 parent 4b03c33 commit 7f99d5dCopy full SHA for 7f99d5d
vlib/v/builder/cc.v
@@ -76,7 +76,8 @@ fn (mut v Builder) post_process_c_compiler_output(ccompiler string, res os.Resul
76
println('(note: the original output was ${original_elines.len} lines long; it was truncated to its first ${elines.len} lines + the last line)')
77
}
78
println('='.repeat(header.len))
79
- println('(You can pass `-cg`, or `-show-c-output` as well, to print all the C error messages).')
+ println('Try passing `-g` when compiling, to see a .v file:line information, that correlates more with the C error.')
80
+ println('(Alternatively, pass `-show-c-output`, to print the full C error message).')
81
82
83
if os.getenv('V_NO_C_ERROR_INFO') != '' {
0 commit comments