简体   繁体   中英

arm-none-eabi-gcc does it support #pragma pack(n)

I usually use __attribute__... packing but actually I port an embedded STM32 project from he IAR to gcc. My question is if gcc supports those pragmas or they are just ignored.

GCC支持它们(使用编译器资源管理器进行验证)并且至少已经支持GCC 4.4.4

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM