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@winehq.org Reporter: fjfrackiewicz@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.
https://bugs.winehq.org/show_bug.cgi?id=42350
fjfrackiewicz@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #57117|0 |1 is obsolete| |
https://bugs.winehq.org/show_bug.cgi?id=42350
--- Comment #1 from fjfrackiewicz@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.
https://bugs.winehq.org/show_bug.cgi?id=42350
Matteo Bruni matteo.mystral@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@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.
https://bugs.winehq.org/show_bug.cgi?id=42350
--- Comment #3 from fjfrackiewicz@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.
https://bugs.winehq.org/show_bug.cgi?id=42350
--- Comment #4 from fjfrackiewicz@gmail.com --- Also, the oleaut32/tmarshal.c bug you may be thinking of would be bug 16746 but I am not sure...
https://bugs.winehq.org/show_bug.cgi?id=42350
Matteo Bruni matteo.mystral@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |DUPLICATE Status|NEW |RESOLVED
--- Comment #5 from Matteo Bruni matteo.mystral@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 ***
https://bugs.winehq.org/show_bug.cgi?id=42350
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #6 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- Closing Duplicate