ondrajz / go-callvis

Visualize call graph of a Go program using Graphviz
https://ofabry.github.io/go-callvis
MIT License
6k stars 423 forks source link

m3 mac installation error #191

Open wzl521 opened 3 months ago

wzl521 commented 3 months ago

sudo go install github.com/ofabry/go-callvis@latest

github.com/goccy/go-graphviz/internal/ccall

In file included from common.c:5: go/pkg/mod/github.com/goccy/go-graphviz@v0.1.1/internal/ccall/common/emit.c:165:35: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion] go/pkg/mod/github.com/goccy/go-graphviz@v0.1.1/internal/ccall/common/emit.c:2540:24: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion] go/pkg/mod/github.com/goccy/go-graphviz@v0.1.1/internal/ccall/common/emit.c:2596:35: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion] go/pkg/mod/github.com/goccy/go-graphviz@v0.1.1/internal/ccall/common/emit.c:2602:35: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion] go/pkg/mod/github.com/goccy/go-graphviz@v0.1.1/internal/ccall/common/emit.c:2612:31: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion] go/pkg/mod/github.com/goccy/go-graphviz@v0.1.1/internal/ccall/common/emit.c:2623:31: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion] go/pkg/mod/github.com/goccy/go-graphviz@v0.1.1/internal/ccall/common/emit.c:2628:31: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion] go/pkg/mod/github.com/goccy/go-graphviz@v0.1.1/internal/ccall/common/emit.c:2641:28: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion] go/pkg/mod/github.com/goccy/go-graphviz@v0.1.1/internal/ccall/common/emit.c:2650:33: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion] go/pkg/mod/github.com/goccy/go-graphviz@v0.1.1/internal/ccall/common/emit.c:2659:32: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion] go/pkg/mod/github.com/goccy/go-graphviz@v0.1.1/internal/ccall/common/emit.c:2668:32: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion]

github.com/goccy/go-graphviz/internal/ccall

In file included from dotgen.c:15: go/pkg/mod/github.com/goccy/go-graphviz@v0.1.1/internal/ccall/dotgen/dotsplines.c:2310:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] go/pkg/mod/github.com/goccy/go-graphviz@v0.1.1/internal/ccall/dotgen/dotsplines.c:2504:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]

pixystone commented 3 months ago

Please refer to #162 , these are just warnings.