SQLite Forum

warning: function may return address of local variable [-Wreturn-local-addr]
See <https://www.sqlite.org/src/info/04e1edd8e5821a37> for the actual
work-around.  The [prerelease snapshot][1] contains the work-around.

I consider this to be a bug in GCC-10.  But I have worked around the bug
nevertheless.  It isn't the first compiler bug to be worked around (some prior
bugs were quite a bit more serious) and it probably won't be the last.

[1]: https://sqlite.org/download.html