On Thursday 02 June 2005 01:01 pm, Michael Jennings wrote: > On Thursday, 02 June 2005, at 10:28:15 (-0400), > > John Ellson wrote: > > The problem is that the xor trick isn't working for swapping pointers. > > One possible work around is to use > > the more straightfoward SWAP code: > > > > RCS file: /cvsroot/enlightenment/eterm/libast/include/libast.h,v > > retrieving revision 1.58 > > diff -u -r1.58 libast.h > > --- include/libast.h 15 Dec 2004 00:00:19 -0000 1.58 > > +++ include/libast.h 2 Jun 2005 14:25:33 -0000 > > @@ -281,11 +281,11 @@ > > * @param a The first variable. > > * @param b The second variable. > > */ > > -#if STRICT_ISO_C99 > > +// #if STRICT_ISO_C99 > > Why not just define STRICT_ISO_C99? I created it specifically for > that purpose.
would an ifdef like: #if STRICT_ISO_C99 || __GNUC__ > 4 be unacceptable ? that way the installed libast wouldnt need to be reconfigured/built/installed just to change STRICT_ISO_C99 ... -mike ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 _______________________________________________ enlightenment-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
