Hi,
I'm getting this warning when I include/enable the ICU subsystem:
Warning[Pa082]: undefined behavior: the order of volatile accesses is undefined in this C:\Users\asfarley\Desktop\ChibiOS_2.4.2\ChibiOS_2.4.2\os\hal\platforms\STM32\icu_lld.c 109
This is using IAR-EW. Is this expected? Thanks,
Alexander
order of volatile accesses is undefined
Moderators: RoccoMarco, lbednarz, tfAteba
- Giovanni
- Site Admin
- Posts: 14895
- Joined: Wed May 27, 2009 8:48 am
- Has thanked: 1202 times
- Been thanked: 997 times
Re: order of volatile accesses is undefined
Hi,
It should be OK but please open a ticket, warnings are not supposed to be present.
Giovanni
It should be OK but please open a ticket, warnings are not supposed to be present.
Giovanni
- Giovanni
- Site Admin
- Posts: 14895
- Joined: Wed May 27, 2009 8:48 am
- Has thanked: 1202 times
- Been thanked: 997 times