Use __attribute__ instead of __attribute for GCC and Clang. Oddly, no warnings or errors have been generated of the latter, but according to docs, __attribute__ is the correct form.