tags:

views:

81

answers:

3

My source code doesn't get compiled when i specify the compiler as Borland C. It gets compiled when the compiler is selected as Microsoft Visual Express. Once it gets compiled under Microsoft Visual Express, only then,it gets compiled under Borland C. Why is this happening?

A: 

what do you mean by

Blockquote Once it gets compiled under Microsoft Visual Express, only then,it gets compiled under Borland C

Thunderboltz
+1  A: 

I wonder if they use an interchangable object format?

If so, maybe you're using a Microsoft specific extension. You can compile under MS, this generates a bunch of object files. You then compile under Borland, which doesn't actually compile (and so doesn't barf on the MS specific extension) - it just links, because the object files are there already.

Blank Xavier
A: 

What is the compiler exactly telling you? And could you also post a bit of your Sourcecode where the error happens? Without these info it will be almost impossible to tell why this happens!

mw88