gdc: Compile error with normalize from std.uni

slycelote via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat Oct 18 03:01:51 PDT 2014


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.


More information about the Digitalmars-d-learn mailing list