www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.ldc - LDC and format iterators

reply Russel Winder <russel winder.org.uk> writes:
Hi,

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

--=20
Russel.
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
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
Oct 15 2017
parent reply kinke <noone nowhere.com> writes:
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.
Oct 15 2017
parent Russel Winder <russel winder.org.uk> writes:
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,
=20
 Using integer format specifiers such as %,d seems to work fine=20
 with rdmd, but causes an exception if ldc2 is used to compile=20
 the code. Is this a known bug or something worthy of a bug=20
 report?
=20 Hey Russel, =20 I take it you checked the corresponding DMD/Phobos version=20 [probably 2.074]? If so, diverging behavior there is clearly a=20 bug.
--=20 Russel. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D Dr Russel Winder t: +44 20 7585 2200 voip: sip:russel.winder ekiga.n= et 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
Oct 16 2017