Hi Pedro,
Thanks for your comment.
I hope this attribute can silent Wunused in GCC build.
Because it will be nice to declaim GLOBAL_REMOVE_IF_UNREFERENCED before unusd variable than #ifdef
example1:
#ifdef (UNUSED_CONDITION)
static Boolean samplvariable; // which will be triggered the Wunused warning message in GCC
#endif
example2:
GLOBAL_REMOVE_IF_UNREFERENCED static Boolean samplvariable; // which will be triggered the Wunused warning message in GCC
I think example2 will be better than example1.
Best Regards,
Joe Lu