void buffer
Manfred Hansen
m.hansen at kielnet.net
Sat Nov 3 04:04:05 PDT 2007
Hello,
the prorgramm under linux dmd 2.007
import std.file;
import std.stdio;
int main() {
string str1 = "Zeile 1\n", str2 = "Zeile 2 \n";
const(void)[] buf;
buf ~= str1; buf ~= str2;
write("test_neu.txt",buf);
return 0;
}
gives an error:
~/dd/dmd/src/phobos/std/format.d(1983): variable std.format.formatGeneric
(FileWriter!(char),const( void)[]).formatGeneric.e voids have no
value
Have someone an idea to fix this.
manni
More information about the Digitalmars-d-learn
mailing list