Unable to install on Mac M1
piotrpersona opened this issue · comments
Piotr Persona commented
Hi
I have issues with installing callvis on M1 Pro Mac.
Device
- Mac Apple M1 Pro
Steps to reproduce
brew instal graphviz
go install github.com/ofabry/go-callvis@latest
Error
# 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 declaration 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:2310:13: warning: a function declaration 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 declaration 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 declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
Matt Joiner commented
It installed fine for me here. Those warnings didn't halt the install.
Piotr Persona commented
Yes, you're right.