I'm still trying to figure out why I'm getting this wierd error. When i isolated the code and compiled, the compilation went fine with out any problem.
 
Also,
If i declare the ptr_set variable in the header file as static, then there's no compilation error. Any ideas.
 
I know it'd be help ful to reproduce the problem with a small sample code, which I'm trying to do.
 
Surya