On 02/03/2011 08:56, Trass3r wrote:
Am 01.03.2011, 23:33 Uhr, schrieb bearophile <bearophileh...@lycos.com>:Do you know why DMD doesn't give a compilation error here? import core.stdc.stdio: sscanf; immutable int value = 5; void main() { sscanf("10".ptr, "%d".ptr, &value); }What's the D signature of sscanf?
void* after the format arg... -- My enormous talent is exceeded only by my outrageous laziness. http://www.ssTk.co.uk