tinycc-devel
[Top][All Lists]
Advanced

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

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


From: Herman ten Brugge
Subject: [Tinycc-devel] some options do not work after tcc.h change
Date: Thu, 5 Dec 2019 08:19:46 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.2

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.

Regards,

    Herman



reply via email to

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