View previous topic :: View next topic |
Author |
Message |
Derek Parnell
Joined: 22 Apr 2004 Posts: 408 Location: Melbourne, Australia
|
Posted: Thu Apr 07, 2005 1:49 am Post subject: Compiling the mango library |
|
|
I've just download the latest mango source and decided to rebuild the library file using DMD v0.120. Anyhow, I got some errors you might like to know about.
Code: |
mango\icu\USearch.d(99): invalid UTF-8 sequence
mango\icu\USearch.d(117): invalid UTF-8 sequence
mango\icu\USearch.d(119): invalid UTF-8 sequence
|
The comments had some non-ASCII characters.
FIX: Save the file in UTF-8 BOM format.
Code: |
mango\cluster\qos\socket\ClusterEvent.d(124): no property 'Message' for type 'int'
mango\cluster\NetworkAlert.d(68): no property 'Bulletin' for type 'int'
mango\cluster\CacheInvalidatee.d(95): no property 'Bulletin' for type 'int'
mango\cluster\qos\socket\Cluster.d(190): no property 'Bulletin' for type 'int'
mango\cluster\qos\socket\Cluster.d(313): no property 'Message' for type 'int'
mango\cluster\qos\socket\Cluster.d(316): no property 'Bulletin' for type 'int'
mango\cluster\qos\socket\Cluster.d(316): duplicate case 1 in switch statement
mango\cluster\qos\socket\ClusterServer.d(115): no property 'Bulletin' for type 'int'
mango\cluster\NetworkQueue.d(76): no property 'Message' for type 'int'
mango\cluster\NetworkQueue.d(137): no property 'Message' for type 'int'
mango\cluster\TaskServer.d(191): no property 'Message' for type 'int'
|
This seems to be a scoping issue and maybe its a DMD bug.
FIX: Add "alias mango.cluster.model.IEvent.IEvent.Style EStyle;" after
the imports, and replace "IEvent.Style" with "EStyle" _________________ --
Derek
skype name: derek.j.parnell |
|
Back to top |
|
|
kris
Joined: 27 Mar 2004 Posts: 1494 Location: South Pacific
|
Posted: Thu Apr 07, 2005 10:47 am Post subject: |
|
|
Thanks, Derek.
The latter stuff looks like a DMD bug (I haven't been able to download 1.20 yet, from IE or from Firefox). |
|
Back to top |
|
|
sean
Joined: 24 Jun 2004 Posts: 609 Location: Bay Area, CA
|
Posted: Thu Apr 07, 2005 11:33 am Post subject: |
|
|
I couldn't even connect to the DM FTP site using a bona fide FTP client, but the command-line FTP tool in Windows works just fine (don't ask me why). Try that if you still haven't gotten the 120 release. |
|
Back to top |
|
|
kris
Joined: 27 Mar 2004 Posts: 1494 Location: South Pacific
|
Posted: Thu Apr 07, 2005 8:45 pm Post subject: |
|
|
sean wrote: | I couldn't even connect to the DM FTP site using a bona fide FTP client, but the command-line FTP tool in Windows works just fine (don't ask me why). Try that if you still haven't gotten the 120 release. |
I could only get it tonight with IE after fussing with the passive-settings ... even the cmd-line ftp wouldn't work from here ~ hope there's a remedy in store |
|
Back to top |
|
|
kris
Joined: 27 Mar 2004 Posts: 1494 Location: South Pacific
|
Posted: Fri Apr 08, 2005 12:05 pm Post subject: Re: Compiling the mango library |
|
|
Derek Parnell wrote: | I've just download the latest mango source and decided to rebuild the library file using DMD v0.120. Anyhow, I got some errors you might like to know about.
Code: |
mango\icu\USearch.d(99): invalid UTF-8 sequence
mango\icu\USearch.d(117): invalid UTF-8 sequence
mango\icu\USearch.d(119): invalid UTF-8 sequence
|
The comments had some non-ASCII characters.
FIX: Save the file in UTF-8 BOM format.
Code: |
mango\cluster\qos\socket\ClusterEvent.d(124): no property 'Message' for type 'int'
mango\cluster\NetworkAlert.d(68): no property 'Bulletin' for type 'int'
mango\cluster\CacheInvalidatee.d(95): no property 'Bulletin' for type 'int'
mango\cluster\qos\socket\Cluster.d(190): no property 'Bulletin' for type 'int'
mango\cluster\qos\socket\Cluster.d(313): no property 'Message' for type 'int'
mango\cluster\qos\socket\Cluster.d(316): no property 'Bulletin' for type 'int'
mango\cluster\qos\socket\Cluster.d(316): duplicate case 1 in switch statement
mango\cluster\qos\socket\ClusterServer.d(115): no property 'Bulletin' for type 'int'
mango\cluster\NetworkQueue.d(76): no property 'Message' for type 'int'
mango\cluster\NetworkQueue.d(137): no property 'Message' for type 'int'
mango\cluster\TaskServer.d(191): no property 'Message' for type 'int'
|
This seems to be a scoping issue and maybe its a DMD bug.
FIX: Add "alias mango.cluster.model.IEvent.IEvent.Style EStyle;" after
the imports, and replace "IEvent.Style" with "EStyle" |
Thanks for the heads' up, Derek;
The USearch thing is fixed and checked-in, but I couldn't replicate the issue with mango.cluster ~ which is most odd. I build the whole thing, then erased all the libs and tried again (!), checked the source against the repository etc. etc. No problem. Did you get the code from the repository, Derek, or from the download zip-files?
- Kris |
|
Back to top |
|
|
Derek Parnell
Joined: 22 Apr 2004 Posts: 408 Location: Melbourne, Australia
|
Posted: Fri Apr 08, 2005 3:47 pm Post subject: Re: Compiling the mango library |
|
|
kris wrote: |
Did you get the code from the repository, Derek, or from the download zip-files?
|
mango_release_1-2a.zip
Maybe it has to do with the order I compiled them in? I'll do some more checking later. I'm just about to go on a week's vacation _________________ --
Derek
skype name: derek.j.parnell |
|
Back to top |
|
|
kris
Joined: 27 Mar 2004 Posts: 1494 Location: South Pacific
|
Posted: Fri Apr 08, 2005 5:20 pm Post subject: Re: Compiling the mango library |
|
|
Derek Parnell wrote: | I'm just about to go on a week's vacation |
Sweet! |
|
Back to top |
|
|
|