SQLite Forum

Timeline
Login

1 forum post by user chriscarson

2020-06-20
10:38 Reply: warning: function may return address of local variable -Wreturn-local-addr (artifact: 9d21046eab user: chriscarson)

Very helpful thread. For me, just turning off the category of gcc warnings is an effective workaround.

export CGO_CFLAGS="-g -O2 -Wno-return-local-addr"