Conversation
|
Hello @ghaerr , Thank you! I wrote #2495 (comment) now. I'm thinking to try compiling and add the host version when I have another time. |
|
Hello @ghaerr I see undef X_OK has been moved to kermit.h and it is removed from unixio.c. Thank you. |
|
No, I didn't notice that in elksio.c, feel free to remove it and/or change things. The important item I noticed was that X_OK is defined to be 1 in unistd.h, but 0 in kermit.h, so one has to be careful when using the I only notice one call to Feel free to remove X_OK in elksio.c or anything else you need to do to get ekermit to work better. I only made these quick changes because I noticed them while taking a quick look at the source code, but no testing. |
|
Hello @ghaerr , Thank you! |
Continuation of original contribution in #2554.
Builds
ekermitand adds to compressed 1440k and larger images.The original contribution displayed a large number of compiler warnings. This PR cleans some of the easier messages up, and includes a LOCALFLAGS modification to silence others. In general, it would be nice to fix the remaining issues so that the ELKS build produces less warnings, something we've worked hard on reducing for years.
@tyama501, thank you for the contribution. I'm unable to test, so I didn't try to fix further errors which might affect usability.
The current warning list is:
In some cases, the "maybe uninitialized" warnings can be removed by setting the variable to 0 on declaration, but one must be somewhat careful, as this could also be a warning of bad programming. I realize that e-kermit is ancient and it may be lots of work to fix all these. If so, that's ok, but thought to mention it.