digitalmars.D.bugs - [Issue 5415] New: Safe functions not working
- d-bugmail puremagic.com (30/30) Jan 05 2011 http://d.puremagic.com/issues/show_bug.cgi?id=5415
- d-bugmail puremagic.com (11/11) Jun 11 2011 http://d.puremagic.com/issues/show_bug.cgi?id=5415
- d-bugmail puremagic.com (12/12) Jun 26 2011 http://d.puremagic.com/issues/show_bug.cgi?id=5415
http://d.puremagic.com/issues/show_bug.cgi?id=5415 Summary: Safe functions not working Product: D Version: D2 Platform: All URL: http://www.digitalmars.com/d/2.0/function.html#functio n-safety OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: eatingstaples gmail.com Created an attachment (id=860) Code showing features not working This is either a compiler bug, or outdated language documentation, but I'm having some freedom with safe functions: * No casting from a pointer type to any type other than void*. * No modification of pointer values. * No taking the address of a local variable or function parameter. I've attached code which does all three of these things, which compiles and runs. Inline assembler was an error, as well as casting from integer to a pointer type, but I didn't test anything else. I'm using dmd2.exe as my compiler. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jan 05 2011
http://d.puremagic.com/issues/show_bug.cgi?id=5415 yebblies <yebblies gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |accepts-invalid, patch CC| |yebblies gmail.com https://github.com/D-Programming-Language/dmd/pull/109 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jun 11 2011
http://d.puremagic.com/issues/show_bug.cgi?id=5415 Walter Bright <bugzilla digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |bugzilla digitalmars.com Resolution| |FIXED 16:26:53 PDT --- https://github.com/D-Programming-Language/dmd/commit/952795ec69ad7d704c0848bb160521a435749c42 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jun 26 2011