On May 24 14:19, Matthew Fluet wrote: > /usr/include/stdint.h typedefs intptr_t as "int" and uintptr_t as > "unsigned int". > /usr/include/inttypes.h #defines PRIdPTR as "ld" and PRIoPTR as "lo". > These and the other PRI?PTR and SCN?PTR format specifiers are meant to > be used for the intptr_t and uintptr_t types (thus, making them usable > without needing to know their exact type definitions). > > This inconsistency leads to warnings from gcc. (There is also a > potential calling-convention mismatch, though not on x86.)
intptr_t and uintptr_t in stdint.h have been changed back in 2009 to avoid some inconsistencies with the original definition. Unfortunaltey we missed out on inttypes.h. I checked in a fix. Thanks for the report, Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple