Solved

Internal compiler error

Posted on 1998-08-08
4
358 Views
Last Modified: 2010-04-04
When I do a "build all" of my Delphi3.02 project, it compiles all units, except 2, and gives a fatal error "Internal Error L1086". This occurs with both IDE and command line compiling.
I cannot trace what I changed in the code since last succesful "build all".
Deleting all .dcu files, and doing a build all (which doesn't generate the .exe, due to this error above) followed by a normal "compile" generates the .exe and it seems to be OK, but, for example, the version isn't auto-incremented, etc.

Does anybody have any experiences with internal compiler errors, does there exist explanations ?
0
Comment
Question by:bome
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 7

Expert Comment

by:BlackMan
ID: 1361726
This error seems to come every time a lot of units has been compiled. It's a linker error. Just do a Compile after the error and everything is Ok.
This error is gone in D4, now it's L 511 :-) (And I'm not kidding!)
0
 
LVL 1

Accepted Solution

by:
EmmDieh earned 100 total points
ID: 1361727
At:
http://www.inprise.com/devsupport/delphi/fixes/delphi4/compiler.html
this error has been described to occur because of lines like
  TInternalError = type TObject;
it is a compiler error that fixed or known.
If you don't update to D4 trace the error to the unit by commeting out part by part.
0
 

Author Comment

by:bome
ID: 1361728
Thank you for your answer. It wasn't really the "solution" for my problem, but I must admit that my actual question (last sentence)  doesn't cover my problem... So you did answer my question...

Nonetheless, your answer assured me that it was not my fault and I began to search: I moved all .pas files to another directory and one after another, copied them back, each time doing a build all.  Like that I found the unit which caused this compiler error.

In the end it was the third string in a "resourcestring" section:
----Before: (doesn't work)---
resourcestring
S_WantOverwrite= '%s already exists.'+#13#10
                +'Do you want to overwrite it ?';
S_WantSkip='Do want to skip all following existing files ?';
NoAssignmentName='(no assignment)';

----After: (does for build all)---
resourcestring
S_WantOverwrite=...
S_WantSkip=...
const
NoAssignmentName='(no assignment)';

I don't have the time to explore this, and at the moment it doesn't matter whether it's resourcestring or not.

bome
0
 
LVL 1

Expert Comment

by:EmmDieh
ID: 1361729
Hmmm. I hope you reported your findings to Inprise,
so that at least the work was of some use.
I once was lucky(?) to report a previously unknown
small "issue" to interbase and yes I got a mail back
asking for a test case.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question