Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not compatible with GCCGO 13.0.0 #333

Open
adonespitogo opened this issue Mar 23, 2023 · 1 comment
Open

Not compatible with GCCGO 13.0.0 #333

adonespitogo opened this issue Mar 23, 2023 · 1 comment

Comments

@adonespitogo
Copy link

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
@Elara6331
Copy link

Elara6331 commented Oct 27, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants