http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48851
--- Comment #18 from Jonathan Gray <jsg at openbsd dot org> 2011-07-03 19:00:36 UTC --- Thanks for pointing that out, I've changed the definitions in OpenBSD to #ifndef NULL #ifdef __GNUG__ #define NULL __null #elif defined(__cplusplus) #define NULL 0L #else #define NULL ((void *)0) #endif #endif