Closed dmalec closed 1 year ago
Resolves the following three warnings:
init.c:710:11: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] logolib = newlib; ^ ~~~~~~ init.c:714:8: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] csls = newcsls; ^ ~~~~~~~ init.c:717:13: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] helpfiles = newhelp; ^ ~~~~~~~
Tested that HELP can load helpfiles:
HELP
? HELP "name NAME value varname (library procedure) command. Same as MAKE but with the inputs in reverse order.
Tested that library procedures can be called:
? NAME 5 "foo ? PRINT :foo 5
Tested that CSLS files can be loaded:
? CSLSLOAD "basic ? BASIC READY 10 PRINT "HELLO" READY 20 PRINT "WORLD" READY RUN HELLO WORLD READY
Thank you for the pull request :)
You're welcome, no worries :)
Summary
Resolves the following three warnings:
Testing
Tested that
HELP
can load helpfiles:Tested that library procedures can be called:
Tested that CSLS files can be loaded:
Test Environments