ВходНаше всё Теги codebook 无线电组件 Поиск Опросы Закон Суббота
27 апреля
1020550 Топик полностью
SciFi (24.07.2020 10:28, просмотров: 815) ответил Гyдвин на ВОТ!!!
ВОТ: 

http://www.keil.com/support/man/docs/armcc/armcc_chr1359124990875.htm

Taking the address of a field in a #pragma packed struct does not yield a __packed pointer, so the compiler does not produce an error if you assign this address to a non-__packed pointer. However, the field might not be properly aligned for its type, and dereferencing such an unaligned pointer results in undefined behavior.

Кто бы мог подумать, RTFM.

ส็็็็็็็็็็็็็็็็็็็็็็็็็༼ ຈل͜ຈ༽ส้้้้้้้้้้้้้้้้้้้้้้้