-1
之前我在Solaris 10上编译C程序的x86,代码:错误:期望“__attribute__”之前的主表达式;错误:预期';' “__attribute__”
#if defined (__GNUC_MINOR__)&&2093<=(__GNUC__*1000+__GNUC_MINOR__) __attribute__ ((__unused__))
#endif
当我编译此,我得到错误信息:
error: expected primary-expression before "__attribute__"; error: expected ';' before "__attribute__"
什么错,我该如何解决?
你想做什么? – hexist