Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Dec 2015 00:19:39 -0800
From:      Garrett Cooper <yaneurabeya@gmail.com>
To:        Bruce Evans <brde@optusnet.com.au>
Cc:        Garrett Cooper <ngie@freebsd.org>, src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r292004 - head/lib/libc/stdio
Message-ID:  <4643B6B1-FF2F-4D76-B2E8-9DDF3E81E844@gmail.com>
In-Reply-To: <20151209181941.U828@besplex.bde.org>
References:  <201512082247.tB8MlsCA089831@repo.freebsd.org> <20151209181941.U828@besplex.bde.org>

next in thread | previous in thread | raw e-mail | index | archive | help

> On Dec 8, 2015, at 23:23, Bruce Evans <brde@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 >.<..



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4643B6B1-FF2F-4D76-B2E8-9DDF3E81E844>