[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Internal compiler error

Posted on 1998-08-08
4
Medium Priority
?
372 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
  • 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

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

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

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…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
this video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .
With just a little bit of  SQL and VBA, many doors open to cool things like synchronize a list box to display data relevant to other information on a form.  If you have never written code or looked at an SQL statement before, no problem! ...  give i…
Suggested Courses
Course of the Month19 days, 6 hours left to enroll

834 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