k1LoW / tbls

tbls is a CI-Friendly tool for document a database, written in Go.
MIT License
3.42k stars 165 forks source link

warning: implicit truncation from 'int' to a one-bit #566

Closed dimon1985 closed 6 months ago

dimon1985 commented 6 months ago

What happened

Run make install in go-callvis - https://github.com/ondrajz/go-callvis

What you expected to happened

Got error ../go/pkg/mod/github.com/goccy/go-graphviz@v0.1.2/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]

What stack trace or error message from tbls did you see?

../go/pkg/mod/github.com/goccy/go-graphviz@v0.1.2/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]

Anything else we need to know?

Environment

dimon1985 commented 6 months ago

What happened

Run make install in go-callvis - https://github.com/ondrajz/go-callvis

What you expected to happened

Got error ../go/pkg/mod/github.com/goccy/go-graphviz@v0.1.2/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]

What stack trace or error message from tbls did you see?

../go/pkg/mod/github.com/goccy/go-graphviz@v0.1.2/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]

Anything else we need to know?

Environment

  • tbls version
  • Database version
  • OS ( Ubuntu bionic, macOS Calalina, WSL2, etc )
  • Shell ( bash, zsh, poworshell, etc )
  • Stacktrace or error message from tbls ( If you can, set DEBUG=1)
  • Config ( .tbls.yml )