fbpx

Compiler assertion failed

More
4 months 4 weeks ago - 4 months 4 weeks ago #1 by Mathias Koch
Compiler assertion failed was created by Mathias Koch
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:
Last edit: 4 months 4 weeks ago by Mathias Koch.

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

More
4 months 4 weeks ago - 4 months 4 weeks ago #2 by Robert van der Hulst
Replied by Robert van der Hulst on topic Compiler assertion failed
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.
Last edit: 4 months 4 weeks ago by Robert van der Hulst.

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