So long as your compiler is sporting a nice shiny "ANSI" badge, then all should be well.Quote:
Originally Posted by draft c99
> Or should I assume that anyone have new compiler?
That depends how much effort you want to put into it. Some code goes out of it's way to be compatible with as many things as possible, but it can look horrible if managed poorly.
Unless there is a need (or anticipation) to run your code on pre-ANSI C, then freeing NULL will be the least of your problems. The biggie to fix would be that pre-ANSI C doesn't understand function prototypes.
Edit: I see dwks already mentioned C89 :)
