Hello, With the late increase in number of clang users, we're getting a number of bugs related to the packages relying on gnu89/gnu99 standards compiler compliance without proper checks for it. Those packages fail to build because clang uses strict -std=c99 by default, and they fail to provide proper -std=gnu89 or -std=gnu99. In order to solve that properly, I would like to request having two new macros in autoconf: AC_PROG_CC_GNU89 and AC_PROG_CC_GNU99, in a similar manner to the AC_PROG_CC_C99 macro. I'm not sure what checks can be used to distinguish between strict standards and GNU ones. But the general idea is that those macros should cause clang to be run with '-std=gnu89' or '-std=gnu99' as required by the package. What are your thoughts? -- Best regards, Michał Górny
Attachment:
signature.asc
Description: PGP signature
_______________________________________________ Autoconf mailing list Autoconf@xxxxxxx https://lists.gnu.org/mailman/listinfo/autoconf