On 2/6/11 10:48 AM, David Nadlinger wrote:
I have always been pleased to see improvements in compile time code
execution possibilities, but today I hit what must be the weirdest DMD
error message I've ever seen:

/usr/local/bin/../include/d2/std/format.d(434): Error: can only
Applications Desktop Documents Downloads Library Movies Music Pictures
Public Sites test.d a pointer, not a 'int'

To be honest, I have no idea how this happens, but somehow DMD picked up
the contents of the directory the source file, test.d, resides in. It
looks like this (note the missing ampersand):
———
import std.stdio;
void main() {
int e;
readf( "%d", e );
}
———

Any idea what on earth could be going on here?

David

This is a major bug because it impacts privacy. Please file to bugzilla.

Andrei

Reply via email to