www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - gdc: Compile error with normalize from std.uni

reply "slycelote" <a a.com> writes:
I'm using gdc on Ubuntu 14.04. Is this ubuntu packaging issue?


bash:~/tmp$ cat test2.d
import std.uni, std.stdio;

void main() {
       writeln(normalize("Hello"));
}


bash:~/tmp$ gdc test2.d
/usr/include/d/4.8/std/uni.d:6301: error: undefined identifier
tuple
/usr/include/d/4.8/std/uni.d:6262: error: template instance
std.uni.seekStable!(cast(NormalizationForm)0, char) error
instantiating
/usr/include/d/4.8/std/uni.d:6087: note: instantiated from here:
splitNormalized!(cast(NormalizationForm)0, char)
test2.d:4: note: instantiated from here:
normalize!(cast(NormalizationForm)0, char)
/usr/include/d/4.8/std/uni.d:6271: error: undefined identifier
tuple
/usr/include/d/4.8/std/uni.d:6087: error: template instance
std.uni.splitNormalized!(cast(NormalizationForm)0, char) error
instantiating
test2.d:4: note: instantiated from here:
normalize!(cast(NormalizationForm)0, char)
test2.d:4: error: template instance
std.uni.normalize!(cast(NormalizationForm)0, char) error
instantiating
bash:~/tmp$ gdc --version
gdc (Ubuntu 4.8.2-19ubuntu1) 4.8.2
Copyright (C) 2013 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Oct 18 2014
parent ketmar via Digitalmars-d-learn <digitalmars-d-learn puremagic.com> writes:
On Sat, 18 Oct 2014 10:01:51 +0000
slycelote via Digitalmars-d-learn <digitalmars-d-learn puremagic.com>
wrote:

 I'm using gdc on Ubuntu 14.04. Is this ubuntu packaging issue?
yes. current gdc works fine.
Oct 18 2014