We discontinued the use of the nested functions, and we also updated the header files with proper external declarations so that there are no such errors. (To be honest I used that in ignorance of the standard!)invariant wrote: ↑Sat Apr 03, 2021 2:18 amThanks for this project!
To build, I like to use Clang, rather than GCC because of some nice tooling that it provides for profiling and debugging. However, C43 uses a gcc-only extension (which WP43S doesn't use): nested functions in C (i.e. void blah() { void meh() {} }). Would you consider a patch to extract those from their outer function?
It'd make C43 more portable (and respectful of the C standard!).
The latest revisions (see the ‘latest’ branch) compile on my Windows gcc and Mac clang compilers with only minor warnings.
Thanx for the comment.