tinycc-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Tinycc-devel] some options do not work after tcc.h change


From: Michael Matz
Subject: Re: [Tinycc-devel] some options do not work after tcc.h change
Date: Thu, 5 Dec 2019 16:05:25 +0000 (UTC)
User-agent: Alpine 2.21 (LSU 202 2017-01-01)

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
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/tinycc-devel
> 
> 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]