[Bug 42350] New: Compiler warning in include/debug.h
https://bugs.winehq.org/show_bug.cgi?id=42350 Bug ID: 42350 Summary: Compiler warning in include/debug.h Product: Wine Version: 2.0 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs(a)winehq.org Reporter: fjfrackiewicz(a)gmail.com Distribution: --- Created attachment 57117 --> https://bugs.winehq.org/attachment.cgi?id=57117 Compiler warnings for debug.h Just wanted to let anyone interested know that when compiling Wine 64-bit, debug.h throws a few compiler warnings. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=42350 fjfrackiewicz(a)gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #57117|0 |1 is obsolete| | -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=42350 --- Comment #1 from fjfrackiewicz(a)gmail.com --- Created attachment 57118 --> https://bugs.winehq.org/attachment.cgi?id=57118 Compiler warnings for debug.h Missed a line or two in the previous attachment. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=42350 Matteo Bruni <matteo.mystral(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |oleaut32 Summary|Compiler warning in |Suspicious compiler |include/debug.h |warnings about pointer | |casts in | |oleaut32/tmarshal.c on 64 | |bit Ever confirmed|0 |1 Status|UNCONFIRMED |NEW --- Comment #2 from Matteo Bruni <matteo.mystral(a)gmail.com> --- (In reply to fjfrackiewicz from comment #1)
Created attachment 57118 [details] Compiler warnings for debug.h
Missed a line or two in the previous attachment.
Actually the new attachment is shorter than the previous one :) Either one is missing the actual error message, but it mentions this line: http://source.winehq.org/git/wine.git/blob/36bb9d905ae10713bcd197958fb71aa86... The error I get (unsurpisingly) is: /home/matteo/wine-git/dlls/oleaut32/tmarshal.c:810:279: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] There are a bunch more of those in the same file (including some affecting more important code i.e. not just a TRACE). I thought we already had a bug for this but I can't find one matching at the moment so I'm keeping this bug open. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=42350 --- Comment #3 from fjfrackiewicz(a)gmail.com --- (In reply to Matteo Bruni from comment #2)
(In reply to fjfrackiewicz from comment #1)
Created attachment 57118 [details] Compiler warnings for debug.h
Missed a line or two in the previous attachment.
Actually the new attachment is shorter than the previous one :) Either one is missing the actual error message, but it mentions this line:
http://source.winehq.org/git/wine.git/blob/ 36bb9d905ae10713bcd197958fb71aa86930a505:/dlls/oleaut32/tmarshal.c#l810
The error I get (unsurpisingly) is:
/home/matteo/wine-git/dlls/oleaut32/tmarshal.c:810:279: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
There are a bunch more of those in the same file (including some affecting more important code i.e. not just a TRACE).
I thought we already had a bug for this but I can't find one matching at the moment so I'm keeping this bug open.
Weird. I thought I had only the debug.h compiler warnings in the last attachment. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=42350 --- Comment #4 from fjfrackiewicz(a)gmail.com --- Also, the oleaut32/tmarshal.c bug you may be thinking of would be bug 16746 but I am not sure... -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=42350 Matteo Bruni <matteo.mystral(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |DUPLICATE Status|NEW |RESOLVED --- Comment #5 from Matteo Bruni <matteo.mystral(a)gmail.com> --- (In reply to fjfrackiewicz from comment #4)
Also, the oleaut32/tmarshal.c bug you may be thinking of would be bug 16746 but I am not sure...
Actually it's bug 26768 which is mentioned there. Good enough :) *** This bug has been marked as a duplicate of bug 26768 *** -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=42350 Alistair Leslie-Hughes <leslie_alistair(a)hotmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #6 from Alistair Leslie-Hughes <leslie_alistair(a)hotmail.com> --- Closing Duplicate -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (1)
-
wine-bugs@winehq.org