[Issue 7971] New: Cannot compile druntime with -debug=PRINTF

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Apr 22 18:27:49 PDT 2012


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: nobody at puremagic.com
        ReportedBy: andrej.mitrovich at gmail.com


--- Comment #0 from Andrej Mitrovic <andrej.mitrovich at 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: -------


More information about the Digitalmars-d-bugs mailing list