Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Apr 2002 17:32:14 -0400
From:      Mike Barcroft <mike@FreeBSD.ORG>
To:        "J. Mallett" <jmallett@FreeBSD.ORG>
Cc:        Bill Fenner <fenner@electricrain.com>, cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG
Subject:   Re: cvs commit: src/usr.bin/m4 gnum4.c
Message-ID:  <20020420173214.S29857@espresso.q9media.com>
In-Reply-To: <20020420212849.GM20367@FreeBSD.ORG>; from jmallett@FreeBSD.ORG on Sat, Apr 20, 2002 at 09:28:49PM %2B0000
References:  <200204202113.g3KLD0d68670@freefall.freebsd.org> <20020420212109.GC855@electricrain.com> <20020420212849.GM20367@FreeBSD.ORG>

next in thread | previous in thread | raw e-mail | index | archive | help
J. Mallett <jmallett@FreeBSD.ORG> writes:
> On Sat, Apr 20, 2002 at 02:21:09PM -0700, Bill Fenner wrote:
> > On Sat, Apr 20, 2002 at 02:13:00PM -0700, J. Mallett wrote:
> > >   Print a size_t as %u not %d.
> > 
> > Should this be %zu?  Or would that break gcc's poor little mind?
> 
> %zu%lu?
> 
> No, seriously, [putting on dunce cap preemptively] what's %zu?

See printf(3); it's for printing size_t.  GCC will probably complain,
so you'll need to set NO_WERROR to true.

Best regards,
Mike Barcroft

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020420173214.S29857>