转载文章《C语言__attribute__的使用》(https://blog.csdn.net/qlexcel/article/details/92656797)
遇到过的__attribute__类型:
1,
《gcc attribute weak & alias应用》(https://blog.csdn.net/hengshan/article/details/38725971)
2,《C 编译器相关 attribute((packed))详解》(https://blog.csdn.net/skhhongtu/article/details/122462010)