Thread overview | ||||||
---|---|---|---|---|---|---|
|
January 18, 2009 [Issue 2592] New: Cast in std.stdio disallowed in safe mode | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=2592 Summary: Cast in std.stdio disallowed in safe mode Product: D Version: 2.022 Platform: PC OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: Phobos AssignedTo: bugzilla@digitalmars.com ReportedBy: andrew.talbot@talbotville.com When the following program is compiled using dmd with the "safe" switch set, it produces the error message: "/usr/local/src/phobos/std/c/linux/linux.d(280): Error: cast from int to void* not allowed in safe mode" import std.stdio; void main() { } This bug persists for dmd version 2.023. -- |
May 12, 2009 [Issue 2592] Cast in std.stdio disallowed in safe mode | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=2592 --- Comment #1 from Andrew Talbot <andrew.talbot@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: ------- |
October 11, 2009 [Issue 2592] Cast in std.stdio disallowed in safe mode | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=2592 Andrei Alexandrescu <andrei@metalanguage.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED CC| |andrei@metalanguage.com AssignedTo|nobody@puremagic.com |andrei@metalanguage.com -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
September 26, 2010 [Issue 2592] Cast in std.stdio disallowed in safe mode | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=2592 Andrei Alexandrescu <andrei@metalanguage.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #2 from Andrei Alexandrescu <andrei@metalanguage.com> 2010-09-26 12:09:38 PDT --- Fixed a while ago. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation