On Mar 12, 2008, at 2:33 PM, Andy Dougherty via RT wrote:

+#ifdef HASATTRIBUTE_NONNULL_AND_I_REALLY_WANT_TO_USE_IT
# define __attribute__nonnull__(a) __attribute__((__nonnull__(a)))
#endif
#ifdef HASATTRIBUTE_NORETURN

and "suddenly" (for some value of suddenly that is more like an hour) 15
more tests pass.

Hmm. Perhaps some of those nonnull's don't belong there. Alas, I don't
have time to go in and hunt them all down.


The attribute__nonnull tells the compiler that it doesn't have to check for null pointers being passed around. If things are being passed around as null that shouldn't be, then the compiler will choke on them because that null-checking is optimized away.

Can you give details about which tests are failing?

--
Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance




Reply via email to