Skip to content

Not compatible with GCCGO 13.0.0 #333

@adonespitogo

Description

@adonespitogo

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions