add -Wno-attributes to squelch gcc's warning 'scoped attribute directive ignored'