MMBasic for Windows - betas


Author Message
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 8950
Posted: 07:09pm 28 Feb 2022      

  Quote  And it looks like INV is broken:

f.....g optimising compilers

void  op_not(void){
// don't do anything, just a place holder
error((char *)"Syntax error");
}

void  op_inv(void){
// don't do anything, just a place holder
error((char *)"Syntax error");
}


This is the code for the two dummy operators because the actual implmentation is in getvalue()

Guess what? the compiler decided they were the same and therefore optimised one out so the test in getvalue for the different addresses failed
Edited 2022-03-01 05:10 by matherp