On Sat, Jun 16, 2007 at 05:06:20AM -0400, Charles Wilson wrote: > Noah Misch wrote: > >>@@ -2561,6 +2620,7 @@ > >> char *tmp_pathspec; > >> char *actual_cwrapper_path; > >> char *shwrapper_name; > >>+ intptr_t rval = 127; > > > >Do all interesting versions of Cygwin and MinGW have intptr_t? > > Yes, going back at least to 2000. There have been issues with the > _INTPTR_T_DEFINED (__intptr_t_defined on cygwin) guards clashing (or, > rather, the absence of these guards causing the typedef itself to clash) > with the winapi headers. But as the wrapper.c code does not include any > winapi headers, that's not an issue here.
The above breaks on my MinGW install, which is definitely later than 2000. I need to #include <stdint.h> to get it. Also, I think some #include is needed when using the MS compiler (cl). Cheers, Peter PS. I got married and "suffered" a name change in the process, formerly known as Peter Ekberg...
