标签:efi stat attr 警告 tin c++ ble list ati
op.h
#define DMLC_ATTRIBUTE_UNUSED __attribute__((unused))
__attribute__((unused)):通常,如果声明了某个变量,但从未对其进行引用,编译器将发出警告。此属性指示编译器您预计不会使用某个变量,并指示它在未使用该变量时不要发出警告。
void Variable_Attributes_unused_0() { static int aStatic =0; int aUnused __attribute__ ((unused)); int bUnused; aStatic++; }
--
标签:efi stat attr 警告 tin c++ ble list ati
原文地址:http://www.cnblogs.com/Key-Ky/p/7466970.html