pongo2 icon indicating copy to clipboard operation
pongo2 copied to clipboard

Not compatible with GCCGO 13.0.0

Open adonespitogo opened this issue 2 years ago • 1 comments

Error when compiling with gccgo:

# github.com/flosch/pongo2/v6
../../go/pkg/mod/github.com/flosch/pongo2/[email protected]/template_loader.go:8:7: error: import file ‘io/fs’ not found
    8 |  "io/fs"
      |       ^
../../go/pkg/mod/github.com/flosch/pongo2/[email protected]/template_loader.go:18:7: error: expected package
   18 |  fs fs.FS
      |       ^
../../go/pkg/mod/github.com/flosch/pongo2/[email protected]/template_loader.go:21:23: error: expected package
   21 | func NewFSLoader(fs fs.FS) *FSLoader {
      |                       ^
../../go/pkg/mod/github.com/flosch/pongo2/[email protected]/context.go:28:25: error: use of undefined type ‘any’
   28 | type Context map[string]any

adonespitogo avatar Mar 23 '23 10:03 adonespitogo

That seems to be because gccgo is based on an older version of Go that this project isn't compatible with

Elara6331 avatar Oct 27 '23 18:10 Elara6331