Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: Delphi compiler error code



Permlink Replies: 5 - Last Post: Jan 26, 2018 4:45 AM Last Post By: Lajos Juhasz Threads: [ Previous | Next ]
Alex OBLETTE

Posts: 3
Registered: 10/16/15
Delphi compiler error code
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jan 25, 2018 2:16 AM
Hello,

Can you provide us with a exhaustive and descriptive list of compiler error code ?

As a example, I get this error right now:
F2084 Internal Error: C28078


What does F2084 stand for ?
What does C28078 stand for ?

Same question with the AV-00000xxxxxx error format ?

These error code are useless to help us understand why a piece of code is not compiling, especially when the same piece of code is working in another unit...
Lajos Juhasz

Posts: 801
Registered: 3/14/14
Re: Delphi compiler error code
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jan 25, 2018 7:27 AM   in response to: Alex OBLETTE in response to: Alex OBLETTE
Alex OBLETTE wrote:

Hello,

Can you provide us with a exhaustive and descriptive list of compiler
error code ?

As a example, I get this error right now:
F2084 Internal Error: C28078


What does F2084 stand for ?

F2084 stands for Internal Error - for more information visit:

http://docwiki.embarcadero.com/RADStudio/Tokyo/en/F2084_Internal_Error_-_%25s%25d_(Delphi)

http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Resolving_Internal_Errors_(Delphi)

What does C28078 stand for ?

This is the location of a file and line number where the internal error
accoured.


Same question with the AV-00000xxxxxx error format ?

These error code are useless to help us understand why a piece of
code is not compiling, especially when the same piece of code is
working in another unit...

'access violation at 0x005b4741: read of address 0x00000009'.

This message is clear. The program at address 0x005b4741 tried to
Access the address 0x00000009. In this case the number close to zero
shows that most probably it was an access of a nil object.

Alex OBLETTE

Posts: 3
Registered: 10/16/15
Re: Delphi compiler error code
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jan 25, 2018 11:10 AM   in response to: Lajos Juhasz in response to: Lajos Juhasz
Hi and thank you for your answer.


What does F2084 stand for ?

F2084 stands for Internal Error - for more information visit:

http://docwiki.embarcadero.com/RADStudio/Tokyo/en/F2084_Internal_Error_-_%25s%25d_(Delphi)

http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Resolving_Internal_Errors_(Delphi)

I know of these pages, however not all error codes seams to be listed.


What does C28078 stand for ?

This is the location of a file and line number where the internal error
accoured.


How am I supposed to know that ? where is it documented ?
Also, which file ?



Same question with the AV-00000xxxxxx error format ?

These error code are useless to help us understand why a piece of
code is not compiling, especially when the same piece of code is
working in another unit...

'access violation at 0x005b4741: read of address 0x00000009'.

This message is clear. The program at address 0x005b4741 tried to
Access the address 0x00000009. In this case the number close to zero
shows that most probably it was an access of a nil object.


No I was talking about compilation error only. I know about access violation.
The format I gave might be slightly off as I haven't the error on hand right know.

I was not asking the meaning of these error codes specifically, I'm looking for a exhaustive list of all these error codes, since Delphi is throwing them more and more in recent releases...
Lajos Juhasz

Posts: 801
Registered: 3/14/14
Re: Delphi compiler error code
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jan 25, 2018 11:55 PM   in response to: Alex OBLETTE in response to: Alex OBLETTE
Alex OBLETTE wrote:

[snip]

How am I supposed to know that ? where is it documented ?
Also, which file ?

Unfotunately the source files for the compilers are not public. So it
doesn't matter for you where the compiler failed. This information is
only important for the person who will look at your problem in case you
are able to create a short test case and open a ticket.

For you this is only information that the compiler is unable to compile
your source for an unpredicted reason that is the reason while you
didn't get a more meaningful error message. I know it's frustrating in
XE5 I was unable to use generic classes in a unit as the compiler
generated a faulty code.

Same question with the AV-00000xxxxxx error format ?

I believe this is also some kind of information for EMB personals to
easily locate where to compiler crashed.
Alex OBLETTE

Posts: 3
Registered: 10/16/15
Re: Delphi compiler error code
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jan 26, 2018 1:33 AM   in response to: Lajos Juhasz in response to: Lajos Juhasz
Thanks you for answer.

I admit yesterday I was a litttle on edge after loosing a entire day on that error.. sorry about that.

Here the related issue, with test case :
https://quality.embarcadero.com/browse/RSP-19827

It wasn't easy to find out the root case of the compiler error (the real error case was in a 1200 lines files) :)
Lajos Juhasz

Posts: 801
Registered: 3/14/14
Re: Delphi compiler error code
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jan 26, 2018 4:45 AM   in response to: Alex OBLETTE in response to: Alex OBLETTE
Alex OBLETTE wrote:

Thanks you for answer.

I admit yesterday I was a litttle on edge after loosing a entire day
on that error.. sorry about that.

Here the related issue, with test case :
https://quality.embarcadero.com/browse/RSP-19827

It wasn't easy to find out the root case of the compiler error (the
real error case was in a 1200 lines files) :)

Come on this was really easy. Rename the method SetLength to for
example SetLength1 and it compiles!
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02