11-17-2022, 10:46 AM
Useless warnings (in purple my fave color!) but it would be nice to inform the original author of the "tinyfiledialogs". Just compiled QB64PE v3.4.1 on Spiral Linux (Debian clone).
Code: (Select All)
cc -O2 -DDEPENDENCY_CONSOLE_ONLY -Wall internal/c/parts/gui/tinyfiledialogs.c -c -o internal/c/parts/gui/tinyfiledialogs.o
internal/c/parts/gui/tinyfiledialogs.c: In function ‘tinyfd_messageBox’:
internal/c/parts/gui/tinyfiledialogs.c:3963:16: warning: unused variable ‘lpDialogString’ [-Wunused-variable]
3963 | char * lpDialogString;
| ^~~~~~~~~~~~~~
internal/c/parts/gui/tinyfiledialogs.c: In function ‘tinyfd_notifyPopup’:
internal/c/parts/gui/tinyfiledialogs.c:4737:12: warning: unused variable ‘lpDialogString’ [-Wunused-variable]
4737 | char * lpDialogString ;
| ^~~~~~~~~~~~~~
internal/c/parts/gui/tinyfiledialogs.c: In function ‘tinyfd_inputBox’:
internal/c/parts/gui/tinyfiledialogs.c:4885:16: warning: unused variable ‘lpDialogString’ [-Wunused-variable]
4885 | char * lpDialogString;
| ^~~~~~~~~~~~~~
At top level:
internal/c/parts/gui/tinyfiledialogs.c:3253:12: warning: ‘tryCommand’ defined but not used [-Wunused-function]
3253 | static int tryCommand( char const * aCommand )
| ^~~~~~~~~~
internal/c/parts/gui/tinyfiledialogs.c:3144:13: warning: ‘gPythonName’ defined but not used [-Wunused-variable]
3144 | static char gPythonName[16];
| ^~~~~~~~~~~
internal/c/parts/gui/tinyfiledialogs.c:3143:13: warning: ‘gPython3Name’ defined but not used [-Wunused-variable]
3143 | static char gPython3Name[16];
| ^~~~~~~~~~~~
internal/c/parts/gui/tinyfiledialogs.c:3142:13: warning: ‘gPython2Name’ defined but not used [-Wunused-variable]
3142 | static char gPython2Name[16];
| ^~~~~~~~~~~~