[Issue 2592] Cast in std.stdio disallowed in safe mode

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue May 12 13:32:18 PDT 2009


http://d.puremagic.com/issues/show_bug.cgi?id=2592





--- Comment #1 from Andrew Talbot <andrew.talbot at talbotville.com>  2009-05-12 13:32:17 PDT ---
In the current version of D2 (version 2.030) the casts that cause safe mode
compilation to fail when std.stdio is imported are now to be found in
.../druntime/import/core/stdc/signal.d, the following error messages being
produced.

/usr/local/src/druntime/import/core/stdc/signal.d(25): Error: cast from int to
voidC  function(int) not allowed in safe mode
/usr/local/src/druntime/import/core/stdc/signal.d(26): Error: cast from int to
voidC  function(int) not allowed in safe mode
/usr/local/src/druntime/import/core/stdc/signal.d(27): Error: cast from int to
voidC  function(int) not allowed in safe mode

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list