error: call to undeclared function 'filedlg_show'
Status: Beta
Brought to you by:
btakahashi
aewan 1.0.01 fails to build with modern clang (Apple clang 12 or later or llvm.org clang 16 or later) which considers implicit function declarations to be an error:
debug_aewl.c:22:14: error: call to undeclared function 'filedlg_show'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
22 | char *s = filedlg_show("Test Dialog");
| ^
debug_aewl.c:22:10: error: incompatible integer to pointer conversion initializing 'char *' with an expression of type 'int' [-Wint-conversion]
22 | char *s = filedlg_show("Test Dialog");
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
2 errors generated.
The fix is to #include "filedlg.h"
in debug_aewl.c.