Phobos and older DMD versions

qznc qznc at web.de
Tue Aug 6 11:34:24 PDT 2013


On Tuesday, 6 August 2013 at 16:02:31 UTC, Jesse Phillips wrote:
> On Tuesday, 6 August 2013 at 14:51:35 UTC, qznc wrote:
>> My recent pull request [0] triggered some issue, which should 
>> get a bigger discussion:
>>
>> Should Phobos version N also compile with DMD N-1?
>>
>> In my opinion it should, because it makes Phobos development 
>> simpler. You don't need a self compiled dmd to fix bugs.
>>
>> However, reality sometimes requires exceptions. I understand 
>> that sometimes Phobos uses a feature of dmd HEAD. That is why 
>> I said "should", but not "must". ;)
>>
>>
>> [0] 
>> https://github.com/D-Programming-Language/phobos/pull/1454/files#r5601514
>
> This doesn't sound related to the problem discussed. Phobos N 
> must compile with DMD N, that is a primary requirement. If 
> Phobos N compiles with DMD N-1, great but it can't fail in DMD 
> N.

Correct, Phobos N with DMD N is a "must". The question is, 
whether Phobos N with DMD N-1 is a "should".

For the pull request, the question is what goes into the 
guidelines. That should be discussed there, instead of here in 
the forums. ;)



More information about the Digitalmars-d mailing list