Thread overview
[Issue 4143] New: fix warnings in dmd build
May 02, 2010
Brad Roberts
May 02, 2010
Brad Roberts
May 15, 2010
Walter Bright
May 02, 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4143

           Summary: fix warnings in dmd build
           Product: D
           Version: unspecified
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: P2
         Component: DMD
        AssignedTo: nobody@puremagic.com
        ReportedBy: braddr@puremagic.com


--- Comment #0 from Brad Roberts <braddr@puremagic.com> 2010-05-02 01:09:38 PDT ---
Created an attachment (id=619)
Fix dmd warnings produced when building with g++

There are a bunch of warnings produced when building dmd with gcc.  The majority are printf format specifier vs argument type mismatches.  A couple are char* vs const char* with string literal related.

The attached patch allows dmd to build with no warnings with gcc 4.4.3.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
May 02, 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4143


Brad Roberts <braddr@puremagic.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
    Attachment #619|application/octet-stream    |text/plain
          mime type|                            |
 Attachment #619 is|0                           |1
              patch|                            |


-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
May 15, 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4143


Walter Bright <bugzilla@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |bugzilla@digitalmars.com
         Resolution|                            |FIXED


--- Comment #1 from Walter Bright <bugzilla@digitalmars.com> 2010-05-14 19:57:50 PDT ---
Some of these date back to when gcc didn't support %p, so I used %lx instead. Time to fix them.

Changeset 487

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