Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/include



Module Name:    src
Committed By:   christos
Date:           Mon Aug 21 15:02:23 UTC 2006

Modified Files:
        src/include: stddef.h

Log Message:
g++-4 does not like &0->member, so we have to use the built-in offsetof().
g++-3 does not have a built-in offsetof(), but we cannot use the c version,
      otherwise we break with -Wold-style-cast.
Inspired by the DF version, but a bit different.


To generate a diff of this commit:
cvs rdiff -r1.11 -r1.12 src/include/stddef.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index