Xsharp 2.8 compilation

We encourage new members to introduce themselves here. Get to know one another and share your interests.
Post Reply
User avatar
softdevo@tiscali.it
Posts: 191
Joined: Wed Sep 30, 2015 1:30 pm

Xsharp 2.8 compilation

Post 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
Attachments
Cattura.JPG
Cattura.JPG (67.68 KiB) Viewed 732 times
User avatar
Chris
Posts: 4922
Joined: Thu Oct 08, 2015 7:48 am
Location: Greece

Xsharp 2.8 compilation

Post 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..
Chris Pyrgas

XSharp Development Team
chris(at)xsharp.eu
User avatar
robert
Posts: 4529
Joined: Fri Aug 21, 2015 10:57 am
Location: Netherlands

Xsharp 2.8 compilation

Post by robert »

Chris,
No I have no idea what the problem is. Need to see an example.
Robert
XSharp Development Team
The Netherlands
robert@xsharp.eu
User avatar
softdevo@tiscali.it
Posts: 191
Joined: Wed Sep 30, 2015 1:30 pm

Xsharp 2.8 compilation

Post by softdevo@tiscali.it »

I sent Chris the application and necessary dlls.

Danilo
User avatar
Chris
Posts: 4922
Joined: Thu Oct 08, 2015 7:48 am
Location: Greece

Xsharp 2.8 compilation

Post 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.
Chris Pyrgas

XSharp Development Team
chris(at)xsharp.eu
User avatar
robert
Posts: 4529
Joined: Fri Aug 21, 2015 10:57 am
Location: Netherlands

Xsharp 2.8 compilation

Post 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 Development Team
The Netherlands
robert@xsharp.eu
User avatar
softdevo@tiscali.it
Posts: 191
Joined: Wed Sep 30, 2015 1:30 pm

Xsharp 2.8 compilation

Post by softdevo@tiscali.it »

Thanks to all

Danilo
Post Reply