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: nob...@puremagic.com ReportedBy: and...@metalanguage.com --- Comment #0 from Andrei Alexandrescu <and...@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: -------