Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Internal compiler error F1004

Status
Not open for further replies.

biot023

Programmer
Nov 8, 2001
403
GB
Hallo.
Does anybody have any hints to dealing with this monster?
F1004 Internal compiler error at //etc.

All the help file says is that the internal logic of the compiler has messed up & that this error shouldn't occus in practice.

Ugh!

Cheers,
Douglas JL Common sense is what tells you the world is flat.
 
Is this occuring on a certain program or for every compile. My guess is you will have to re-install.
James P. Cottingham

When a man sits with a pretty girl for an hour, it seems like a minute. But let him sit on a hot stove for a minute and it's longer than any hour. That's relativity.
[tab][tab]Albert Einstein explaining his Theory of Relativity to a group of journalists.
 
Fortunately only on a certain program - looks like I've done something wrong that the compiler wasn't prepared for (it's a gift - I expect to crash unix at some point).
I got around it with some very dodgy #includes, on the firm promise to myself that I'd never do it again.
It's very ugly & I can hardly bear to look at it, but it worked on this one occasion. Common sense is what tells you the world is flat.
 
Ok,
This happens to me every once in a while, reinstalling does not correct this probelm.

It usually happens after I have made a change that I see no problem with but which for some reason the compiler cant handle, usually in a header file, but not always.

If i go and undo my changes and compile it works fine. If I then redo my changes, it again works fine from there on out.

It is apparently just a borland quirk
 
Yeah - it happenned to me again & that's pretty much the way it went. Common sense is what tells you the world is flat.
 
UPDATE - I keep getting this damn' message!
I've tried undo-ing any changes (manually, cuz this is after an attempted compile), but nothing seems to work.
I've even deleted all files from the project folder (apart from .cpp, .h, and .dfm), and nothing there seems to be the cause.
Has anyone ever solved this or figured out what causes it?

Cheers,
Douglas JL Common sense is what tells you the world is flat.
 
Hey, did you resolve this peculiar problem ? I have the same problem with source code of a collegue. Problem is that this code is compiling on his PC and not mine (we have the same Dell laptop, and I had the same problem with my older laptop)
Reinstalling Borland (which happend to me more than once) isnt effective. and the error message.. doesnt give enough information.
 
Hi Subghul.
The answer Wings gave is pretty much bang on.
This is a bug in Builder, and undoing your last couple of changes then retyping them should solve it.
Unless, like me, you have autosave on compile set, in which case it's more of a drag - you have to remember what you last did & get rid of it manually.
This sometimes means a fair bit of mucking about, but as far as I know is the only solution.

Cheers,
Douglas JL

Common sense is what tells you the world is flat.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top