This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
While I don't disagree with this change in principle, I think malloc and realloc should be the only poisonings disabled. Also, it would be nice if this was done automatically for all plugins, for example by doing in gcc-plugin.hI disagree. GCC poisons a lot of identifiers and the risk of collisions with other headers is fairly high.
#pragma GCC poison calloc strdup #pragma GCC poison ANSI_PROTOTYPES PTR_CONST LONG_DOUBLE VPARAMS VA_OPEN \ VA_FIXEDARG VA_CLOSE VA_START #pragma GCC poison bcopy bzero bcmp rindex
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |