ondrajz / go-callvis

Visualize call graph of a Go program using Graphviz

Home Page:https://ofabry.github.io/go-callvis

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unable to install on Mac M1

piotrpersona opened this issue · comments

Hi

I have issues with installing callvis on M1 Pro Mac.

Device

  • Mac Apple M1 Pro

Steps to reproduce

  1. brew instal graphviz
  2. 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]

It installed fine for me here. Those warnings didn't halt the install.

Yes, you're right.