views:

494

answers:

5

Internal Error URW1111 on delphi 2010 compiler. Where is the problem?

+1  A: 

Maybe http://qc.embarcadero.com/wc/qcmain.aspx?d=77575 is helpful. But a code sample would be nice.

When encountering internal errors, it is almost always a good idea to search the QC database. And if it is not listed yet, find the smalest possible sample that gives the error and file a bug report at QC.

Gamecat
Hi. I have left some reports on QC. But most of them have the open status. As for my code. The line of my code ( the pascal compiler project :) ) that exposes delphi 2010 compiler problems is TTokenSequence<TnonterminalSymbol>.create(PASCAL_GRAMMAR.NonTerminals['START'],[PSN_STMTLIST]);
oxffff
Thank you, gamecat for.http://www.dragonkiller.nl/Delphi/delphi2009.htmlThank you very much.
oxffff
Ok, I;m busy with the 2010 version, if you have any remarks or mistakes, please don't hesitate to mail me.
Gamecat
A: 

I just have found a reported bug on QC. So I am waiting for normal generics support in the next delphi version. May be in 2012? :)

oxffff
Still bugs in D2010 generics? That's very bad news :(
Smasher
Delphi 2010 isn't bug-free, but its generics support is solid. Certainly much beter than Delphi 2009.
Jan Goyvaerts
A: 

I have found a solution to pass through the bug. In my case I move the parametrized class from shared unit to unit where all of instantiations of that type occur.

oxffff
A: 

I was getting the same internal error with Delphi 2010, and this page came up first in my Google results. To resolve it I removed the inline declaration from a function. Hope that helps others with this problem.

Mick
A: 

I had the same error using "inline" on a function that uses set variables from another classes.

s1oan