www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 7971] New: Cannot compile druntime with -debug=PRINTF

reply d-bugmail puremagic.com writes:
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 puremagic.com
        ReportedBy: andrej.mitrovich gmail.com



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: -------
Apr 22 2012
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=7971




Commit pushed to master at https://github.com/D-Programming-Language/druntime

https://github.com/D-Programming-Language/druntime/commit/0cb46c5212cb9c05f2977200e449a6d7f21cb4ff


Fix Issue 7971

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Oct 06 2012
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=7971


Alex Rønne Petersen <alex lycus.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |alex lycus.org
         Resolution|                            |FIXED


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