[Issue 3406] New: [tdpl] Cannot compile "Hello, world" or even less with -safe
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Oct 15 17:23:55 PDT 2009
http://d.puremagic.com/issues/show_bug.cgi?id=3406
Summary: [tdpl] Cannot compile "Hello, world" or even less with
-safe
Product: D
Version: unspecified
Platform: Other
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: andrei at metalanguage.com
--- Comment #0 from Andrei Alexandrescu <andrei at metalanguage.com> 2009-10-15 17:23:52 PDT ---
This program:
import std.stdio;
void main() {
}
fails to compile if the -safe switch is used with the error:
/home/andrei/code/dmd/druntime/import/core/stdc/signal.d(25): Error: cast from
int to void C function(int) not allowed in safe mode
/home/andrei/code/dmd/druntime/import/core/stdc/signal.d(26): Error: cast from
int to void C function(int) not allowed in safe mode
/home/andrei/code/dmd/druntime/import/core/stdc/signal.d(27): Error: cast from
int to void C function(int) not allowed in safe mode
We must define and implement the Trusted Computing Base model for druntime and
phobos.
--
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