Thanks Thomas for you reply.
You are right, Borland compiler is stop compiling the project after too many warnings.
Actually I am using GDI+ (of microsoft) in a project where the compiler is Borland 5.5.
So not all the warnings are due to my code. Anyway, I found a "temporary" solution.
For those who may need
if you add "-gn" (without quotes) where n is a number between 0 to 255, in the compiler option
then Borland Compiler will ignore first n messages
Thanks rittwik