C: arithmetic overflow

Miroslav Draxal evik na volny.cz
Pondělí Únor 25 18:59:39 CET 2019


Dobrý den, 

Znalý pánové, proč to stále hází to varování?

 

uint8_t shadowDataTris;

 

#define TRISA TRISA

extern volatile unsigned char           TRISA               __at(0xF92);

 

TRISA &= (uint8_t)(~0b00001111u | shadowDataTris);

 

warning: (751) arithmetic overflow in constant expression

 

Míra

------------- další část ---------------
HTML příloha byla odstraněna...
URL: <http://list.hw.cz/pipermail/hw-list/attachments/20190225/8596c9ea/attachment.html>


Další informace o konferenci Hw-list