ndless-nspire / Luna

Create TNS files from Lua and XML
Other
57 stars 13 forks source link

Fix warnings, remove unused code, improve Makefile #6

Closed adriweb closed 7 years ago

adriweb commented 7 years ago

Tested successfully with a normal .lua script, but nothing else (a few test files would be useful, I guess)

Vogtinator commented 7 years ago

We could simplify PREFIX to be always /usr/local/bin. That should work for all platforms (except windows...)

adriweb commented 7 years ago

Alright, I'll do that.

Legimet commented 7 years ago

You can also define NOCRYPT and remove crypt.h. And fix the misleading indentation warning:

minizip-1.1/zip.c: In function ‘zip64local_SearchCentralDir’:
minizip-1.1/zip.c:531:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
     for (i=(int)uReadSize-3; (i--)>0;)
     ^~~
minizip-1.1/zip.c:539:7: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘for’
       if (uPosFound!=0)