On Wed, Sep 14, 2011 at 02:33:12PM +0000, Joseph S. Myers wrote: > On Tue, 13 Sep 2011, Michael Meissner wrote: > > > implicit_built_in_decls to the new macros/functions, and poison > > the old names. Make sure 0 is not a legitimate builtin index. > > I think the poisoning belongs in system.h; direct dependencies on the host > compiler (such as GCC_VERSION and __GNUC__ tests) should be kept as local > as possible, in just a few headers such as system.h and hwint.h, with > other places testing feature macros defined in system.h (or through > autoconf) if it's really necessary to have such dependencies there.
Ok, I wasn't sure where the best place to put the poison. System.h sounds like the best place. -- Michael Meissner, IBM 5 Technology Place Drive, M/S 2757, Westford, MA 01886-3141, USA meiss...@linux.vnet.ibm.com fax +1 (978) 399-6899