[dmd-beta] dmd 2.063 beta 5

Walter Bright walter at digitalmars.com
Thu May 23 12:14:00 PDT 2013


On 5/23/2013 2:57 AM, Jacob Carlborg wrote:
> On May 23, 2013, at 11:24 AM, Walter Bright <walter at digitalmars.com> wrote:
>
>> I suspect some of these problems are caused by pull #93. To check, compile with:
>>
>>     -transition=field
>>
>> and add "static" to those declarations.
>
> 1. The initial message was still very bad
> 2. I need to know about the -translation flag
> 3. I fixed a couple of errors this flag found but the error message is still bad:
>
> tango/io/selector/SelectSelector.d(115): 
> tango.io.selector.SelectSelector.SelectSelector.DefaultSize is const field
>
> https://github.com/SiegeLord/Tango-D2/blob/d2port/tango/io/selector/PollSelector.d#L115
>
> That is pointing to a commented line.
>
>> On May 21, 2013, at 10:35 PM, Walter Bright <walter at digitalmars.com> wrote:
>> This message can happen if opAssign is generated, but the generated function 
>> failed to compile.
>
> Since the function doesn't exist in the source file it's quite hard to find 
> the actual error.

I agree. But did adding 'static' to eliminate the -transition=field issues make 
the message go away?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/dmd-beta/attachments/20130523/b54add86/attachment.html>


More information about the dmd-beta mailing list