svn commit: r292004 - head/lib/libc/stdio

Garrett Cooper yaneurabeya at gmail.com
Wed Dec 9 08:19:43 UTC 2015


> On Dec 8, 2015, at 23:23, Bruce Evans <brde at optusnet.com.au> wrote:
> 
>> On Tue, 8 Dec 2015, Garrett Cooper wrote:
>> 
>> Author: ngie
>> ...
>> 
>> Log:
>> Fix compilation when -DDEBUG is defined by adding inttypes.h #include
>> for intmax_t
> 
> Wrong include.  intmax_t is declared in <stdint.h>.  <inttypes.h> declares
> much more and is usually only needed for functions like strtoimax().
> <inttypes.h> also declares PRI* and SCN*, but those are only needed in
> the garbage.

Whups... You're right >.<..


More information about the svn-src-all mailing list