Thread overview
LDC and format iterators
Oct 15, 2017
Russel Winder
Oct 15, 2017
kinke
Oct 16, 2017
Russel Winder
October 15, 2017
Hi,

Using integer format specifiers such as %,d seems to work fine with rdmd, but causes an exception if ldc2 is used to compile the code. Is this a known bug or something worthy of a bug report?

-- 
Russel.
==========================================
Dr Russel Winder      t: +44 20 7585 2200
41 Buckmaster Road    m: +44 7770 465 077
London SW11 1EN, UK   w: www.russel.org.uk


October 15, 2017
On Sunday, 15 October 2017 at 17:06:25 UTC, Russel Winder wrote:
> Hi,
>
> Using integer format specifiers such as %,d seems to work fine with rdmd, but causes an exception if ldc2 is used to compile the code. Is this a known bug or something worthy of a bug report?

Hey Russel,

I take it you checked the corresponding DMD/Phobos version [probably 2.074]? If so, diverging behavior there is clearly a bug.
October 16, 2017
I added Issue 2367.

https://github.com/ldc-developers/ldc/issues/2367


On Sun, 2017-10-15 at 18:53 +0000, kinke via digitalmars-d-ldc wrote:
> On Sunday, 15 October 2017 at 17:06:25 UTC, Russel Winder wrote:
> > Hi,
> > 
> > Using integer format specifiers such as %,d seems to work fine with rdmd, but causes an exception if ldc2 is used to compile the code. Is this a known bug or something worthy of a bug report?
> 
> Hey Russel,
> 
> I take it you checked the corresponding DMD/Phobos version [probably 2.074]? If so, diverging behavior there is clearly a bug.
-- 
Russel. ============================================================================= Dr Russel Winder      t: +44 20 7585 2200   voip: sip:russel.winder@ekiga.net 41 Buckmaster Road    m: +44 7770 465 077   xmpp: russel@winder.org.uk London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder