Summary: @Safe functions not working
           Product: D
           Version: D2
          Platform: All
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD

--- Comment #0 from 2011-01-05 09:08:13 PST ---
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

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:
------- You are receiving this mail because: -------

Reply via email to