Skip to content

How do I get lint set up to recognize that new can return a NULL if it fails to allocate the class?

Just use the option +fnn (turns on the "new can return null" flag).

Feedback and Knowledge Base