On Thu, May 29, 2008 at 11:31:28AM -0500, Kumar Gala wrote: > #define bin_at(i) ((mbinptr)((char*)&(av_[2*(i) + 2]) - 2*SIZE_SZ)) > #define next_bin(b) ((mbinptr)((char*)(b) + 2 * sizeof(mbinptr))) > #define prev_bin(b) ((mbinptr)((char*)(b) - 2 * sizeof(mbinptr))) > .. > > #define top (bin_at(0)->fd) /* The topmost chunk */ > #define last_remainder (bin_at(1)) /* remainder from last split */ > > > but I can't seem to do anything to bin_at() to make them stop. Was > wondering if anyone had any suggestions.
We could compile that file with -fno-strict-aliasing, which is probably warranted anyway for the kind of pointer manipulation that malloc needs to do. -Scott ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ U-Boot-Users mailing list U-Boot-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/u-boot-users