This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java 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: [MinGW] RFC/RFA: Get Partial Stack Traces on Windows


Andrew Haley wrote:
Bryce McKinlay writes:
> > Hmm, is there some reason we can't just use uintptr_t? Doesn't GCC > ensure it is always available?


No.  It isn't part of gcc, it's part of whatever C library is being
used, and it's not guaranteed to be there.  It's safer to do it this
way.

We could also do something like:


#if !defined HAVE_UINTPTR_T
typedef unsigned int uintptr_t __attribute__((__mode__(__pointer__)));
#endif

Bryce


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