compile with -Wno-attributes for now