I am not C savvy but I get this warning when building QB64 with another toolchain
the warning is eliminated if you add static to the lBuff declaration
Code: (Select All)
internal\c/parts/gui/tinyfiledialogs.c: In function 'tinyfd_openFileDialog':
internal\c/parts/gui/tinyfiledialogs.c:3112:1: warning: function may return address of local variable [-Wreturn-local-addr]
3112 | }
| ^
internal\c/parts/gui/tinyfiledialogs.c:3060:14: note: declared here
3060 | char lBuff[MAX_PATH_OR_CMD];
| ^~~~~
internal\c/parts/gui/tinyfiledialogs.c:3060:14: note: declared here
the warning is eliminated if you add static to the lBuff declaration
Code: (Select All)
static char lBuff[MAX_PATH_OR_CMD];