Updated COMMENTS section in mbc.bas

dev
AIR 2 years ago
parent 6d59a74922
commit a6df384fda
  1. 6
      mbc4.bas
  2. 4
      mbc4.cc

@ -102,6 +102,10 @@ cue that a new Basic function is needed.
This section is used to communicate to-do 's, changes, ideas, suggestions, etc. This section is used to communicate to-do 's, changes, ideas, suggestions, etc.
****************************************************************************************** ******************************************************************************************
------------------------------------------- -------------------------------------------
2022-07-29 Armando Rivera
* Added (char*) cast in PrintWriteFormat$ function to eliminate -Wwrite-strings warning
* Added (char*) cast in iMatchLft/iMatchWrd/iMatchRgt macros to eliminate -Wwrite-strings warning
-------------------------------------------
2022-07-26 Armando Rivera 2022-07-26 Armando Rivera
After a LONG time away.... After a LONG time away....
* Changed max size of szTmp$, Src$, and AbortSrc$ (65535)to avoid potential buffer overflows * Changed max size of szTmp$, Src$, and AbortSrc$ (65535)to avoid potential buffer overflows
@ -2633,7 +2637,7 @@ FUNCTION PrintWriteFormat$(DoWrite)
IF NewLineFlag = 0 THEN IF NewLineFlag = 0 THEN
CONCAT (Frmat$,"\\n") CONCAT (Frmat$,"\\n")
END IF END IF
' AIR 2022-07-29 Added (char*) cast to eliminate -Wwrite-strings error ' AIR 2022-07-29 Added (char*) cast to eliminate -Wwrite-strings warning
FUNCTION = "printf((char*)" + ENC$(Frmat$) + Clean$(Arg$) + ");" FUNCTION = "printf((char*)" + ENC$(Frmat$) + Clean$(Arg$) + ");"
END FUNCTION ' PrintWriteFormat$ END FUNCTION ' PrintWriteFormat$
SUB EmitInputCode SUB EmitInputCode

@ -886,6 +886,10 @@ static char* ReservedWord[]=
// This section is used to communicate to-do 's, changes, ideas, suggestions, etc. // This section is used to communicate to-do 's, changes, ideas, suggestions, etc.
// ****************************************************************************************** // ******************************************************************************************
// ------------------------------------------- // -------------------------------------------
// 2022-07-29 Armando Rivera
// * Added (char*) cast in PrintWriteFormat$ function to eliminate -Wwrite-strings warning
// * Added (char*) cast in iMatchLft/iMatchWrd/iMatchRgt macros to eliminate -Wwrite-strings warning
// -------------------------------------------
// 2022-07-26 Armando Rivera // 2022-07-26 Armando Rivera
// After a LONG time away.... // After a LONG time away....
// * Changed max size of szTmp$, Src$, and AbortSrc$ (65535)to avoid potential buffer overflows // * Changed max size of szTmp$, Src$, and AbortSrc$ (65535)to avoid potential buffer overflows

Loading…
Cancel
Save