Module Name: pcc
Committed By: plunky
Date: Sat Aug 20 21:54:33 UTC 2011
Modified Files:
pcc/mip: common.c
Log Message:
use offsetof() rather than rolling our own version here.
this solves a problem when building with gcc4.5 which insists on
warning, since the C99 spec does not state that an integer
constant expression can contain -> and &
using offsetof() and <stddef.h> means that the environment can provide
the correct implementation to avoid such errors (for gcc, this means
__builtin_offsetof())
To generate a diff of this commit:
cvs rdiff -u -r1.97 -r1.98 pcc/mip/common.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.