D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 4143 - fix warnings in dmd build
Summary: fix warnings in dmd build
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D2
Hardware: Other All
: P2 minor
Assignee: No Owner
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-02 01:09 UTC by Brad Roberts
Modified: 2015-06-09 05:15 UTC (History)
1 user (show)

See Also:


Attachments
Fix dmd warnings produced when building with g++ (16.48 KB, patch)
2010-05-02 01:09 UTC, Brad Roberts
Details | Diff

Note You need to log in before you can comment on or make changes to this issue.
Description Brad Roberts 2010-05-02 01:09:38 UTC
Created attachment 619 [details]
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 Walter Bright 2010-05-14 19:57:50 UTC
Some of these date back to when gcc didn't support %p, so I used %lx instead. Time to fix them.

Changeset 487