tinycc-devel
[Top][All Lists]
Advanced

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

[Tinycc-devel] -W[no-]error=X


From: Steffen Nurpmeso
Subject: [Tinycc-devel] -W[no-]error=X
Date: Tue, 27 Jul 2021 00:45:43 +0200
User-agent: s-nail v14.9.22-173-g196623ce38

Hello.

So i have added this, turning the warn_ u8's into bit carriers,
which should just scale (new WD_ERROR bit for FlagDef's).
Note from now on NEED_WARNING(TCCState,MEMBER) must be used
instead of TCCState->warn_MEMBER in order to look for "warning
desired", it looks for &2 and sets TCCState->warn_error=1 if so.
(This was the least invasive approach.)  NEED_WARNING() not so
nice, but much easier than unrolling what it does, i thought.

Ciao,

--steffen
|
|Der Kragenbaer,                The moon bear,
|der holt sich munter           he cheerfully and one by one
|einen nach dem anderen runter  wa.ks himself off
|(By Robert Gernhardt)



reply via email to

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