------- Comment #4 from sigra at home dot se 2006-09-24 23:57 ------- (In reply to comment #3) > some functions require non zero pointers and those should crash instead of > having null pointer checks on them. And using references is not always the > answer as some functions need to be able to be used from C which does not > have references.
Using references is almost always the answer. There are many projects that are in pure C++ without any need to be compatible with C, and it would be helpful for them to be able to enable such a warning. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29208