stricter check for "__attribute__":
stricter check for "__attribute__":

With the Sun Studio 12 compiler on OpenSolaris 11,
checking for "__attribute__ ((noreturn))" did work fine,
but then the compiler complained about
"__attribute__ ((format (printf, 1, 2)))"
with
"warning: attribute parameter "printf" is undefined";
hence, we now check for
"__attribute__ ((format (printf, 1, 2)))"
and make sure that the Sun Studio 12 compiler on [Open]Solaris
treats warnings as error with this check, i.e.,
we effectively disable "__attribute__" in this case.

zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb