hi every one
i am not able to figure out why sometimes this warning message occurs during compilation.
can sombody tell me.
warning C4005: 'NULL' : macro redefinition
see previous definition of 'NULL'
hi every one
i am not able to figure out why sometimes this warning message occurs during compilation.
can sombody tell me.
warning C4005: 'NULL' : macro redefinition
see previous definition of 'NULL'
I can't really figure it out either.......without seing your code.
Post your code so I can see what you're trying to do.
The world is waiting. I must leave you now.
Do you have a line in your code like
#define NULL ****
NULL is alread defined in some other header like <stdio.h> causing this warning to occur
Yup yup. Do something like this, if you want your own definition of NULL:
#ifdef NULL
#undef NULL
Then you can define your own. Or:
#ifndef NULL
#define NULL '\0'
Quzah.
thanx guys
now i got the idea where i am doing mistake.
thanx guys
now i got the idea where i am doing mistake.
even though I would advise redifining NULL if are including stdio.h