work round compiler bug

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28776 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2009-10-04 19:16:32 +00:00
parent 715bdcaa0a
commit cf82bd5792

View file

@ -91,7 +91,7 @@ int con_data (id prx)
double dbl, dblr; double dbl, dblr;
char *str; char *str;
id obj; id obj;
small_struct small = {12}; small_struct ss = {12};
foo ffoo = {'Z', 1234.5678, 99, "cow", 9876543}; foo ffoo = {'Z', 1234.5678, 99, "cow", 9876543};
foo bck; foo bck;
@ -204,12 +204,12 @@ int con_data (id prx)
pool = [NSAutoreleasePool new]; pool = [NSAutoreleasePool new];
printf("Small Struct:\n"); printf("Small Struct:\n");
//printf(" sending %x", small.z); //printf(" sending %x", ss.z);
//small = [prx sendSmallStruct: small]; //ss = [prx sendSmallStruct: ss];
//printf(" got %x\n", small.z); //printf(" got %x\n", ss.z);
printf(" sending ptr to %x", small.z); printf(" sending ptr to %x", ss.z);
[prx getSmallStruct: &small]; [prx getSmallStruct: &ss];
printf(" got %x\n", small.z); printf(" got %x\n", ss.z);
[pool release]; [pool release];
#if 1 || !defined(__MINGW32__) #if 1 || !defined(__MINGW32__)