I suspect some of these problems are caused by pull #93. To check, compile with:

    -transition=field

and add "static" to those declarations.


On 5/23/2013 1:08 AM, Jacob Carlborg wrote:
On May 21, 2013, at 10:35 PM, Walter Bright <walter@digitalmars.com> wrote:

 
There are a couple of errors in Tango. Tango compiled perfectly fine with the previous release, 2.062, without any warnings or deprecation messages.

* tango/io/device/File.d(290): Error: cannot make expression out of initializer for ReadExisting

https://github.com/SiegeLord/Tango-D2/blob/d2port/tango/io/device/File.d#L290

* tango/core/tools/StackTrace.d(186): Error: class tango.core.tools.StackTrace.BasicTraceInfo interface function 'string toString() const' is not implemented

https://github.com/SiegeLord/Tango-D2/blob/d2port/tango/core/tools/StackTrace.d#L186

* tango/io/selector/SelectSelector.d(156): Error: function tango.io.selector.SelectSelector.HandleSet.opAssign is not callable because it is annotated with @disable

https://github.com/SiegeLord/Tango-D2/blob/d2port/tango/io/selector/SelectSelector.d#L156

Tango doesn't use @disable at all. "opAssign" is not overloaded.

This message can happen if opAssign is generated, but the generated function failed to compile.


* Error: cannot modify struct this HandleSet with immutable members

No file or line information. Ok, I would the actual problem, but the error message is very unclear. There was a "const" member in HandleSet, it should have been static.

https://github.com/SiegeLord/Tango-D2/blob/d2port/tango/io/selector/SelectSelector.d#L783

* tango/text/Regex.d(1779): Error: variable tango.text.Regex.TNFA!(dchar).TNFA.pca final cannot be applied to variable, perhaps you meant const?
tango/text/Regex.d(2528): Error: template instance tango.text.Regex.TNFA!(dchar) error instantiating
tango/text/Regex.d(3668):        instantiated from here: TDFA!(dchar)
tango/text/Regex.d(4412):        instantiated from here: RegExpT!(char)
tango/text/Regex.d(3668): Error: template instance tango.text.Regex.TDFA!(dchar) error instantiating
tango/text/Regex.d(4412):        instantiated from here: RegExpT!(char)
tango/text/Regex.d(4399): Error: tdfa_t.Command is used as a type
tango/text/Regex.d(4412): Error: template instance tango.text.Regex.RegExpT!(char) error instantiatin

https://github.com/SiegeLord/Tango-D2/blob/d2port/tango/text/Regex.d#L1779

There are no final variables in that file as far as I can see. The error message is pointing to an enum.

I stopped here because I don't know how to fix the error in Regex.

--
/Jacob Carlborg


_______________________________________________
dmd-beta mailing list
dmd-beta@puremagic.com
http://lists.puremagic.com/mailman/listinfo/dmd-beta