Page 1 of 1
Xsharp 2.8 compilation
Posted: Mon Apr 26, 2021 10:08 am
by softdevo@tiscali.it
Hello everyone, compiling my old application I have this warning, I don't understand.
Everything worked with previous versions.
See Attachment.
Thank you
Danilo
Xsharp 2.8 compilation
Posted: Mon Apr 26, 2021 11:22 am
by Chris
Hi Danilo,
That's a compiler bug, with so many changes it was inevitable that some problem would slip through. Can you please zip your project which causes this and send it to me to have a look? Unless Robert can already tell what the problem is, by looking at the callstack..
Xsharp 2.8 compilation
Posted: Mon Apr 26, 2021 11:46 am
by robert
Chris,
No I have no idea what the problem is. Need to see an example.
Robert
Xsharp 2.8 compilation
Posted: Mon Apr 26, 2021 12:11 pm
by softdevo@tiscali.it
I sent Chris the application and necessary dlls.
Danilo
Xsharp 2.8 compilation
Posted: Mon Apr 26, 2021 2:41 pm
by Chris
Danilo, thanks, it's because of this code:
Code: Select all
BEGIN NAMESPACE xsharp.BackupService // compiler crash here
CLASS Anything
END CLASS
END NAMESPACE
Apparently Robert has added a hidden bomb in the compiler which crashes everything when a programmer hijacks the "XSharp" namespace and misspells it on top (incorrect casing)!
I am joking of course, it is just a compiler bug. In order to fix this problem please use a different name for the xsharp.BackupService namespace. Or type it as XSharp.BackupService, it seems that this works as well, if you still want to use "XSharp" as the first part.
Xsharp 2.8 compilation
Posted: Mon Apr 26, 2021 2:50 pm
by robert
Chris, Danilo,
You can't use that namespace. It's mine.
https://www.youtube.com/watch?v=Iz-8CSa9xj8
Robert
PS Just kidding
Xsharp 2.8 compilation
Posted: Mon Apr 26, 2021 3:01 pm
by softdevo@tiscali.it
Thanks to all
Danilo