Adding GNUC check for unused attribute
Adding GNUC check for unused attribute