On Sunday 18 December 2011 15:14:17 Dmitry V. Levin wrote: > On Sat, Dec 10, 2011 at 03:54:00PM -0500, Mike Frysinger wrote: > > Current build fails due to missing stdbool.h include: > > strace.c:102:1: error: unknown type name 'bool' > > strace.c: In function 'die_out_of_memory': > > strace.c:269:2: error: unknown type name 'bool' > > > > Signed-off-by: Mike Frysinger <[email protected]> > > > > * strace.c: Include <stdbool.h> > > Well, this is really odd because stdbool.h is already included via defs.h: > > $ git grep -i stdbool > ChangeLog-CVS: * configure.ac: Add AC_HEADER_STDBOOL. > ChangeLog-CVS: * defs.h [HAVE_STDBOOL_H]: #include <stdbool.h>. > configure.ac:AC_HEADER_STDBOOL > defs.h:#ifdef HAVE_STDBOOL_H > defs.h:#include <stdbool.h> > > I wonder why it doesn't work for you.
good call. i missed that. short answer: drop my proposed patch. seems gcc-4.7 barfs on the configure test code. this would be something to bring up with the autoconf or gcc guys though. configure:5302: checking for stdbool.h that conforms to C99 configure:5387: gcc-4.7.0-alpha20111126 -mx32 -c -O0 -g -ggdb -pipe conftest.c conftest.c:84:3: error: initializer element is not constant and the comment in the conftest.c code specifically calls out known bugs in past gcc :) ... -mike
signature.asc
Description: This is a digitally signed message part.
------------------------------------------------------------------------------ Learn Windows Azure Live! Tuesday, Dec 13, 2011 Microsoft is holding a special Learn Windows Azure training event for developers. It will provide a great way to learn Windows Azure and what it provides. You can attend the event by watching it streamed LIVE online. Learn more at http://p.sf.net/sfu/ms-windowsazure
_______________________________________________ Strace-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/strace-devel
