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]

Re: [PATCH]: Cast in c-pretty-print.c causes warning


On 09/02/2009 02:21 PM, Kai Tietz wrote:
Ok, I can file a patch to add gstdint.h to system.h, or is it better
to use here just a config.h check for existing stdint.h and otherwise
fall back to long type for intptr_t?

It's best to have a configure check. See the standard autoconf macro AC_TYPE_UINTPTR_T.


r~



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]