Windows build has warning,does it affect the use
godcong opened this issue · 2 comments
godcong commented
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
rittneje commented
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 commented
Sorry, I always thought I was using the latest version.
is okay.