Yesterday I upgraded the macOS system, then I found this warning.
Could this be a C language specification issue?
My machine: MacBook Pro 13-inch, M1, 2020
go build
# github.com/shoenig/go-m1cpu
../../../../pkg/mod/github.com/shoenig/go-m1cpu@v0.1.6/cpu.go:75:17: warning: variable length array folded to constant array as an extension [-Wgnu-folding-constant]
../../../../pkg/mod/github.com/shoenig/go-m1cpu@v0.1.6/cpu.go:77:16: warning: variable length array folded to constant array as an extension [-Wgnu-folding-constant]
Yesterday I upgraded the macOS system, then I found this warning.
Could this be a C language specification issue?
My machine: MacBook Pro 13-inch, M1, 2020
go build # github.com/shoenig/go-m1cpu ../../../../pkg/mod/github.com/shoenig/go-m1cpu@v0.1.6/cpu.go:75:17: warning: variable length array folded to constant array as an extension [-Wgnu-folding-constant] ../../../../pkg/mod/github.com/shoenig/go-m1cpu@v0.1.6/cpu.go:77:16: warning: variable length array folded to constant array as an extension [-Wgnu-folding-constant]