Bug 4143 – fix warnings in dmd build

Status
RESOLVED
Resolution
FIXED
Severity
minor
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
Other
OS
All
Creation time
2010-05-02T01:09:00Z
Last change time
2015-06-09T05:15:22Z
Assigned to
nobody
Creator
braddr

Attachments

IDFilenameSummaryContent-TypeSize
619warnings.diffFix dmd warnings produced when building with g++text/plain16872

Comments

Comment #0 by braddr — 2010-05-02T01:09:38Z
Created attachment 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.
Comment #1 by bugzilla — 2010-05-14T19:57:50Z
Some of these date back to when gcc didn't support %p, so I used %lx instead. Time to fix them. Changeset 487