Hi,

On Thu, 5 Dec 2019, Herman ten Brugge via Tinycc-devel wrote:

> Some options do not work any more after recent tcc.h change. (values are
> overwritten).
> The code in set_flag uses:
> 
>             *(int*)((char *)s + p->offset) =
>                 p->flags & FD_INVERT ? !value : value;
> 
> This probably should be changed into:
> 
>             *(unsiged char*)((char *)s + p->offset) =
>                 p->flags & FD_INVERT ? !value : value;
> 
> There could be more problems. Please check.

Yeah, I think the above is most of it, 'nosse' needs to become uchar as 
well then.


Ciao,
Michael.


> 
> Regards,
> 
>     Herman
> 
> _______________________________________________
> Tinycc-devel mailing list
> Tinycc-devel@nongnu.org
> https://lists.nongnu.org/mailman/listinfo/tinycc-devel
> 
> 
_______________________________________________
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to