Bug 323912 - valgrind.h header isn't compatible for mingw64
Summary: valgrind.h header isn't compatible for mingw64
Status: RESOLVED FIXED
Alias: None
Product: valgrind
Classification: Developer tools
Component: general (show other bugs)
Version: 3.9.0.SVN
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Julian Seward
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-23 07:47 UTC by Makoto Kato
Modified: 2013-09-12 14:30 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
a patch to fix this. (1.98 KB, patch)
2013-08-23 07:57 UTC, Makoto Kato
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Makoto Kato 2013-08-23 07:47:57 UTC
if including this header, some macros aren't compatible on mingw64 compiler

Reproducible: Always
Comment 1 Makoto Kato 2013-08-23 07:57:11 UTC
Created attachment 81868 [details]
a patch to fix this.

Since Win64 is LLP64 model, don't cast to unsigned long.
Comment 2 Bart Van Assche 2013-08-25 06:11:11 UTC
Thanks for the patch. A (slightly modified) version has been applied as r13513. Please verify whether the new version of valgrind.h works fine for you.
Comment 3 Julian Seward 2013-09-12 14:30:26 UTC
I'm assuming that r13513 is OK, and closing.