|  | 
| print42.bas no longer works in build 1935 (*solved*) - Printable Version +- Boriel Basic Forum (https://forum.boriel.com) +-- Forum: Compilers and Computer Languages (https://forum.boriel.com/forumdisplay.php?fid=12) +--- Forum: ZX Basic Compiler (https://forum.boriel.com/forumdisplay.php?fid=11) +---- Forum: Bug Reports (https://forum.boriel.com/forumdisplay.php?fid=15) +---- Thread: print42.bas no longer works in build 1935 (*solved*) (/showthread.php?tid=696) | 
| print42.bas no longer works in build 1935 (*solved*) - LTee - 2015-08-09 Hi all, it's been a long time!  I upgraded to 1.4.0 build 1935 today and discovered that I can no longer use the print42 library. This simple program now won't compile any more: Code: #include <print42.bas>... giving instead the following error: Code: test.bas:16: Undeclared identifier "printAt42Coords"Not a big problem (I just reverted back to build 1923 for now) but I thought you might like to know about it because I'm not sure what else might be affected. Re: print42.bas no longer works in build 1935 - boriel - 2015-08-09 This seems to be a bug in the optimization level. Please, try compiling with -O1 (ZX Basic uses now -O2 by default from revision 1935 and newer). Or try -O2 and -O3 and with 1925 and tell me if they work. :roll: Will check it ASAP, to see how to fix it. Re: print42.bas no longer works in build 1935 - LTee - 2015-08-10 You're right, I should've thought of trying that! In 1935 it doesn't build by default but I can make it build by specifying -O1 or -O0. In 1923 it builds by default but I can make it fail by specifying -O2 or -O3.   Re: print42.bas no longer works in build 1935 - boriel - 2015-08-20 I think it's fixed now. Can you download ZX Basic 1.4.0-s1945 and check if it's ok now? Re: print42.bas no longer works in build 1935 - LTee - 2015-09-05 Hi boriel, Sorry for the delay - I was away on my holidays! I've now checked the new release and can confirm that it's working fine - many, many thanks for your continued efforts!   Re: print42.bas no longer works in build 1935 - boriel - 2015-09-05 LTee Wrote:Hi boriel,So was I! cheers!   |