Skip to content

Commit

Permalink
Temporary work-around for error message redirection
Browse files Browse the repository at this point in the history
  • Loading branch information
agn453 committed Jan 5, 2022
1 parent 77ef876 commit af49bba
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 2 deletions.
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1198,6 +1198,16 @@ header library prototype for ```qsort()``` in STDLIB.H has been updated.
Thanks to Andrey Nikitin for the heads up on this bug.


## Redirection of error message output work-around

The re-direction of error message output (from the C or C280 command)
is currently broken. This is a side-effect of the fix to the
pre-processor assembly language output. I've temporarily added
a workaround to discard the error message redirect and only send
error messages to the console device CON:. This works under CP/M
and ZXCC emulation until I find a fix.


--
Tony Nicholson
05-Jan-2022
06-Jan-2022
6 changes: 5 additions & 1 deletion cpm/C309-10.C
Original file line number Diff line number Diff line change
Expand Up @@ -803,8 +803,12 @@ void compile(char *s)
vec[i++] = "-S";
if (xref)
vec[i++] = strcat(strcpy(cbuf, "-C"), crtmp);
if (ebuf[0]) /* error redirection */
/* error redirection */
/*AGN - temporarily ignore error redirection*/
/*
if (ebuf[0])
vec[i++] = ebuf;
*/
vec[i++] = tmpf1;
vec[i++] = tmpf2;
vec[i++] = tmpf3;
Expand Down
Binary file modified dist/C309-10.COM
Binary file not shown.
Binary file modified htc-bin.lbr
Binary file not shown.
Binary file modified z280bin.lbr
Binary file not shown.
Binary file modified z280dist/C280-10.COM
Binary file not shown.

0 comments on commit af49bba

Please sign in to comment.