sys/types.h has to come before socket.h as I had in the diff I posted otherwise it blows up.
So please recommit this the way I sent it. Line 152: unknown type name 'u_int8_t' Line 153: unknown type name 'sa_family_t' Line 170: unknown type name 'u_int8_t' Line 171: unknown type name 'sa_family_t' Line 173: unknown type name 'u_int64_t' Line 239: unknown type name 'uid_t' Line 240: unknown type name 'uid_t' Line 241: unknown type name 'gid_t' Line 242: unknown type name 'gid_t' Line 244: unknown type name 'gid_t' Line 372: unknown type name 'socklen_t' Line 376: unknown type name 'socklen_t' Line 398: unknown type name 'socklen_t' Line 454: unknown type name 'caddr_t' Line 458: unknown type name 'caddr_t' Line 469: unknown type name 'socklen_t' Line 472: unknown type name 'uid_t' Line 472: unknown type name 'gid_t' Line 473: unknown type name 'socklen_t' Line 474: unknown type name 'socklen_t' Line 475: unknown type name 'socklen_t' Line 477: unknown type name 'ssize_t' Line 478: unknown type name 'ssize_t' Line 478: unknown type name 'socklen_t' Line 479: unknown type name 'ssize_t' Line 480: unknown type name 'ssize_t' Line 481: unknown type name 'ssize_t' Line 483: unknown type name 'ssize_t' Line 15: 'default' statement not in switch statement Warnings seen but not expected: Line 13: pointer types point to integer types with different sign passing 'soc klen_t *', expected 'int *' On Fri, Jul 10, 2009 at 08:10:06PM -0000, Eli Friedman wrote: > Author: efriedma > Date: Fri Jul 10 15:10:06 2009 > New Revision: 75268 > > URL: http://llvm.org/viewvc/llvm-project?rev=75268&view=rev > Log: > Misc fixes to fix tests on OpenBSD, per email to cfe-commits. Patches > by Jonathan Gray and Krister Walfridsson. > > > ============================================================================== > --- cfe/trunk/test/Analysis/casts.c (original) > +++ cfe/trunk/test/Analysis/casts.c Fri Jul 10 15:10:06 2009 > @@ -4,6 +4,8 @@ > // 'struct sockaddr *'. > > #include <sys/socket.h> > +#include <sys/types.h> > + _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
