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

Windows build has warning,does it affect the use #1101

Closed
godcong opened this issue Oct 14, 2022 · 2 comments
Closed

Windows build has warning,does it affect the use #1101

godcong opened this issue Oct 14, 2022 · 2 comments

Comments

@godcong
Copy link

godcong commented Oct 14, 2022

when i build with windows 386&amd64 binaries, it result:

sqlite3-binding.c: In function 'sqlite3SelectNew':
sqlite3-binding.c:123303:10: warning: function may return address of local variable [-Wreturn-local-addr]
123303 |   return pNew;
       |          ^~~~
sqlite3-binding.c:123263:10: note: declared here
123263 |   Select standin;
       |          ^~~~~~~

see detail in:
https://github.com/babyname/fate/actions/runs/3241601599/jobs/5313761642

@godcong godcong changed the title Windows build has warning,Does it affect the use Windows build has warning,does it affect the use Oct 14, 2022
@rittneje
Copy link
Collaborator

Which version are you using? IIRC this was fixed a while ago. Your go.mod file says v1.10.0, which is very old. Please upgrade to the latest version (v1.14.15).

@godcong
Copy link
Author

godcong commented Oct 19, 2022

Sorry, I always thought I was using the latest version.
is okay.

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