Typo fixes in 199[01]/dds
In the README.md file of 1990/dds there was a typo fixed. In the thanks file for 1990/dds I clarified something and in the case of 1991/dds there was a typo that was confusing: '-Wno-error' should have been '-Werror'; the fix enabled in the encrypted string the former but the problem was some compilers in some platforms (clang, macOS) default to -Werror which prevented the entry from compiling code as the code generated had warnings.
This commit is contained in:
1 parent
e8c9eb482e
commit
024fe66d20
2 files changed
+5
-5
No files matched your search
+2
-2
@@ -57,7 +57,7 @@ This is the DDS-BASIC Interpreter (Version 1.00).
|
||||
- NEXT variable
|
||||
- GOSUB exp
|
||||
- RETURN
|
||||
- GOTO exp\
|
||||
- GOTO exp
|
||||
- IF exp THEN exp
|
||||
- INPUT variable
|
||||
- PRINT string
|
||||
@@ -118,7 +118,7 @@ The Speed of DDS-BASIC Interpreter (Version 1.00) relative to Microsoft Advanced
|
||||
BASIC 3.31 is approximately 60%.
|
||||
|
||||
The code size could be further reduced by doing ugly things like not declaring
|
||||
the return type of functions, not freeing memory, #defining define, and joining
|
||||
the return type of functions, not freeing memory, `#defin`ing define, and joining
|
||||
lines. In its present 1536 character form the program is reasonably portable
|
||||
(it may fail to run in a tagged object architecture) and nicely formatted (it
|
||||
fits in an `80*25` screen).
|
||||
|
||||
+3
-3
@@ -856,8 +856,8 @@ more like the original in this way by redefining `free` to have the comma
|
||||
operator itself.
|
||||
|
||||
Cody fixed another compiler error by removing the erroneous prototype to
|
||||
`fopen()`. Cody also changed a file to be a proper `FILE *` and fixed a typo in
|
||||
[LANDER.BAS](1990/dds/LANDER.BAS).
|
||||
`fopen()`. Cody also changed a `char *` used for file I/O to be a proper `FILE
|
||||
*` and fixed a typo in [LANDER.BAS](1990/dds/LANDER.BAS).
|
||||
|
||||
Cody also made this use `fgets()` instead of `gets()` to make it safer and to
|
||||
prevent an annoying and potentially alarming warning at compiling and/or linking
|
||||
@@ -973,7 +973,7 @@ slightly more like the original, even though it's unused.
|
||||
|
||||
Cody fixed a segfault that prevented this entry from working in any condition
|
||||
and he also made it work for clang. Clang (at least in some systems?) defaults
|
||||
to having `-Wno-error` and the code that the entry generates had some warnings
|
||||
to having `-Werror` and the code that the entry generates had some warnings
|
||||
that were causing compilation to fail as it just ran `cc a.c`. It ran it by what
|
||||
was once `system(q-6);` but with clang this was not enough..
|
||||
|
||||
|
||||
Reference in new issue
Block a user