------- Comment #4 from jsg at openbsd dot org 2009-09-23 08:43 ------- I have changed the header in OpenBSD to use __builtin_offsetof for gcc >= 4.0, though I don't agree with the warning or having code in GCC that makes it be invoked if offsetof isn't using a builtin.
The OpenBSD targets in GCC are still either wrong or missing however, see http://gcc.gnu.org/ml/gcc-patches/2009-09/msg01269.html -- jsg at openbsd dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jsg at openbsd dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39616