fbpx
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Compiler assertion failed

Compiler assertion failed 6 months 3 weeks ago #1

Hello,

while compiling one of our biggest projects I get a funny assertion failed message "How did we manage to get two methods in the overload resolution results that were both better than every other method?" (see attachment). Any hint how I can narrow down the code that causes this?

Regards,
Mathias
Attachments:

Please Log in or Create an account to join the conversation.

Last edit: by Kromi.

Compiler assertion failed 6 months 3 weeks ago #2

Mathias,
The image is hard to read, but from what I see then the compiler has a problem deciding which of 2 methods or functions with the same name to choose.
I think it should have produced a normal compiler error here in stead of an assertion. Most likely it does produce a normal compiler error in the release version of the compiler, but the free/public version of the compiler is compiled in DEBUG mode and contains lots of assertions.
To narrow down:
- look for method overloads, function overloads, or the same function name in 2 external DLLs
- or send us the source
Robert
XSharp Development Team
The Netherlands
This email address is being protected from spambots. You need JavaScript enabled to view it.

Please Log in or Create an account to join the conversation.

Last edit: by robert.
  • Page:
  • 1