Hi, On Thu, Dec 10, 2009 at 03:36:18PM +0100, Bruno Haible wrote: > > Here's a proposed patch for introducing some __nonnull__ declarations. For > a start, I'm focusing on gnulib's replacement files lib/*.in.h, because these > declare the most often used functions.
Potential drawback of this approach is that these declarations may affect the implementation as well: there is a risk that compiler may optimize out NULL checks. In other projects where this issue arose before it was worked around by disabling non-null declarations in implementation scope. -- ldv
pgpxYpBzuoODf.pgp
Description: PGP signature