|
From: Julian S. <js...@ac...> - 2009-01-21 12:40:24
|
On Tuesday 20 January 2009, Nicholas Nethercote wrote:
> On Wed, Jan 21, 2009 at 12:08 AM, Florian Krohm <br...@ac...> wrote:
> > On Monday 19 January 2009 23:16:09 sv...@va... wrote:
> >> - VG_(printf)("%d %d\n", *thin_size, sizeof(struct MACH_HEADER));
> >> + VG_(printf)("%d %lu\n", *thin_size, sizeof(struct MACH_HEADER));
> >
> > C99 has %zu for arguments of type size_t. It's possible, though, that
> > some older versions of gcc -Wformat don't handle this. What is the
> > minimum GCC version that you assume for compilation ?
>
> We still have a --workaround-gcc296-bugs flag...
That really means "ignore accesses in the 256 or so bytes below %esp"
(just pretend you didn't see them). Maybe it should be renamed.
Minimum version of gcc now is 3.0.x, I believe.
J
|