http://bugs.winehq.org/show_bug.cgi?id=18164
Summary: dlls/iphlpapi/ifenum.c: compiler warnings Product: Wine Version: 1.1.19 Platform: PC OS/Version: NetBSD Status: NEW Keywords: source Severity: minor Priority: P2 Component: build-env AssignedTo: wine-bugs@winehq.org ReportedBy: austinenglish@gmail.com
gcc -c -I. -I. -I../../include -I../../include -D__WINESRC__ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include/freetype2 -I/usr/X11R7/include -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include/freetype2 -I/usr/X11R7/include -o ./ifenum.o ./ifenum.c ./ifenum.c: In function 'enumIPAddresses': ./ifenum.c:693: warning: pointer of type 'void *' used in arithmetic ./ifenum.c:693: warning: comparison of distinct pointer types lacks a cast ./ifenum.c: In function 'getIPAddrTable': ./ifenum.c:754: warning: pointer of type 'void *' used in arithmetic ./ifenum.c:754: warning: comparison of distinct pointer types lacks a cast
No patch for this one yet. Won't complain if someone beats me to it ;-).
http://bugs.winehq.org/show_bug.cgi?id=18164
--- Comment #1 from Austin English austinenglish@gmail.com 2009-05-28 22:07:08 --- Still present in git.
http://bugs.winehq.org/show_bug.cgi?id=18164
Jerome Leclanche adys.wh@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |adys.wh@gmail.com
--- Comment #2 from Jerome Leclanche adys.wh@gmail.com 2011-09-01 03:28:58 CDT --- Is this still an issue?
http://bugs.winehq.org/show_bug.cgi?id=18164
Christian Costa titan.costa@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |titan.costa@gmail.com
--- Comment #3 from Christian Costa titan.costa@gmail.com 2012-10-13 10:33:28 CDT --- I don't have such warnings int current wine. Likely fixed...
http://bugs.winehq.org/show_bug.cgi?id=18164
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|dlls/iphlpapi/ifenum.c: |dlls/iphlpapi/ifenum.c: |compiler warnings |compiler warnings on NetBSD
--- Comment #4 from Austin English austinenglish@gmail.com 2012-10-15 18:32:22 CDT --- (In reply to comment #3)
I don't have such warnings int current wine. Likely fixed...
Check the platform ;).
https://bugs.winehq.org/show_bug.cgi?id=18164
--- Comment #5 from Bruno Jesus 00cpxxx@gmail.com --- The code just shifted a few hundred lines.
693 jumped to 1012: while (ifPtr && ifPtr < ifc->ifc_buf + ifc->ifc_len)
754 jumped to 1073: while (!ret && ifPtr && ifPtr < ifc.ifc_buf + ifc.ifc_len) {
ifPtr is caddr_t which is void *.
https://bugs.winehq.org/show_bug.cgi?id=18164
Alex Henrie alexhenrie24@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |alexhenrie24@gmail.com Fixed by SHA1| |9b626f512037a8ca615b0ef4d21 | |0096df11d3663 Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #6 from Alex Henrie alexhenrie24@gmail.com --- Fixed by https://source.winehq.org/git/wine.git/commitdiff/9b626f512037a8ca615b0ef4d2...
https://bugs.winehq.org/show_bug.cgi?id=18164
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #7 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 3.12.
https://bugs.winehq.org/show_bug.cgi?id=18164
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |3.0.x
https://bugs.winehq.org/show_bug.cgi?id=18164
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|3.0.x |---
--- Comment #8 from Michael Stefaniuc mstefani@winehq.org --- Removing the 3.0.x milestone from bugs included in 3.0.3.