Closed brianstrauch closed 11 months ago
Building from the latest commit results in the following warning:
warning: lib/tree-sitter-go/src/parser.c:242:18: warning: null character(s) preserved in string literal [-Wnull-character] warning: [anon_sym_] = "<U+0000>",
This seems to correspond with changes made in https://github.com/tree-sitter/tree-sitter-go/commit/0308e24c57a379ea7e80da792882c8eb6b3e6fd5, which added a null character. Building with cc::Build::new().warnings(false) does not hide this warning.
cc::Build::new().warnings(false)
Looks like it was fixed here: https://github.com/tree-sitter/tree-sitter/pull/2491
Building from the latest commit results in the following warning:
This seems to correspond with changes made in https://github.com/tree-sitter/tree-sitter-go/commit/0308e24c57a379ea7e80da792882c8eb6b3e6fd5, which added a null character. Building with
cc::Build::new().warnings(false)
does not hide this warning.