http://d.puremagic.com/issues/show_bug.cgi?id=7971

           Summary: Cannot compile druntime with -debug=PRINTF
           Product: D
           Version: D2
          Platform: All
        OS/Version: Windows
            Status: NEW
          Severity: major
          Priority: P2
         Component: druntime
        AssignedTo: nob...@puremagic.com
        ReportedBy: andrej.mitrov...@gmail.com


--- Comment #0 from Andrej Mitrovic <andrej.mitrov...@gmail.com> 2012-04-22 
18:28:49 PDT ---
In 2.059, trying to add -debug=PRINTF to DFLAGS in win32.mak for druntime:

src\object_.d(983): Error: safe function 'getHash' cannot call system
function 'printf'
src\object_.d(988): Error: safe function 'getHash' cannot call system
function 'printf'
src\rt\lifetime.d(412): Error: undefined identifier tls, did you mean
function abs?

The same is true for druntime in git. For those that don't know, compiling with
this flag enables printf-style debugging of the GC since it tells you when it
allocates/deallocates/finalizes things.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to