https://bugzilla.novell.com/show_bug.cgi?id=700784
https://bugzilla.novell.com/show_bug.cgi?id=700784#c5
--- Comment #5 from Richard Guenther 2011-06-20 09:56:55 UTC ---
That's not our stddef.h, preprocessing to 0 is broken as 0 is an int and
gets passed differently to varargs functions than (void *)0. Our stddef.h
does
#undef NULL /* in case has defined it. */
#ifdef __GNUG__
#define NULL __null
#else /* G++ */
#ifndef __cplusplus
#define NULL ((void *)0)
#else /* C++ */
#define NULL 0
#endif /* C++ */
#endif /* G++ */
thus, defines it to __null.
Can you provide -dD -E output? I do see severall occurances of __null
in the preprocessed source, so I suspect the code defines __null to 0
somewhere.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.