In that case it looks like a problem with the compiler itself. A usual suggestion might be to try to re-install the compiler.
However as mentioned, the Borland compilers are outdated and you'd be better switching to something more up to date - unless for some reason (e.g. school or college specified) you must use a particular compiler.