Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compiler deprecation warnings #1

Open
14 of 19 tasks
harryyoud opened this issue Jul 29, 2017 · 0 comments
Open
14 of 19 tasks

Compiler deprecation warnings #1

harryyoud opened this issue Jul 29, 2017 · 0 comments

Comments

@harryyoud
Copy link
Member

harryyoud commented Jul 29, 2017

TODO:`

  • Warning C4473 'sscanf_s' : not enough arguments passed for format string libjpeg libjpeg\jmemmgr.c 1110
  • Warning C4996 'GetVersionExA': was declared deprecated miniWinVNC miniWinVNC\vncservice.cpp 160
  • Warning C4996 'GetVersionExA': was declared deprecated miniWinVNC miniWinVNC\winvnc.cpp 2374
  • Warning C4996 'GetVersionExA': was declared deprecated miniWinVNC miniWinVNC\winvnc.cpp 2446
  • Warning C4996 'GetVersionExA': was declared deprecated miniWinVNC miniWinVNC\winvnc.cpp 2513

Fixed in aad7cac:

  • Warning C4996 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. miniWinVNC miniWinVNC\winvnc.cpp 818

Fixed in 404354c:`

  • Warning C4996 'gethostbyname': Use getaddrinfo() or GetAddrInfoW() instead or define _WINSOCK_DEPRECATED_NO_WARNINGS to disable deprecated API warnings miniWinVNC miniWinVNC\vncclient.cpp 971
  • Warning C4996 'inet_addr': Use inet_pton() or InetPton() instead or define _WINSOCK_DEPRECATED_NO_WARNINGS to disable deprecated API warnings miniWinVNC miniWinVNC\vsocket.cpp 306
  • Warning C4996 'gethostbyname': Use getaddrinfo() or GetAddrInfoW() instead or define _WINSOCK_DEPRECATED_NO_WARNINGS to disable deprecated API warnings miniWinVNC miniWinVNC\vsocket.cpp 313
  • Warning C4996 'inet_ntoa': Use inet_ntop() or InetNtop() instead or define _WINSOCK_DEPRECATED_NO_WARNINGS to disable deprecated API warnings miniWinVNC miniWinVNC\vsocket.cpp 400
  • Warning C4996 'inet_ntoa': Use inet_ntop() or InetNtop() instead or define _WINSOCK_DEPRECATED_NO_WARNINGS to disable deprecated API warnings miniWinVNC miniWinVNC\vsocket.cpp 421
  • Warning C4996 'inet_addr': Use inet_pton() or InetPton() instead or define _WINSOCK_DEPRECATED_NO_WARNINGS to disable deprecated API warnings miniWinVNC miniWinVNC\vsocket.cpp 436
  • Warning C4996 'gethostbyname': Use getaddrinfo() or GetAddrInfoW() instead or define _WINSOCK_DEPRECATED_NO_WARNINGS to disable deprecated API warnings miniWinVNC miniWinVNC\vsocket.cpp 443

Fixed in 27c4a68:`

  • Warning C4996 'GetVersionExA': was declared deprecated miniWinVNC miniWinVNC\ElevatePrivilege.cpp 35
  • Warning C4996 'GetVersionExA': was declared deprecated AskParameter InstantVNC\CommonBase.cpp 511
  • Warning C4996 'GetVersionExA': was declared deprecated miniWinVNC miniWinVNC\vncOSVersion.cpp 34
  • Warning C4996 'GetVersionExA': was declared deprecated miniWinVNC miniWinVNC\vncdesktop.cpp 636
  • Warning C4996 'GetVersionExA': was declared deprecated miniWinVNC miniWinVNC\vncmenu.cpp 195
  • Warning C4996 'GetVersionExA': was declared deprecated miniWinVNC miniWinVNC\vncmenu.cpp 321
harryyoud added a commit that referenced this issue Jul 29, 2017
harryyoud added a commit that referenced this issue Jul 29, 2017
harryyoud added a commit that referenced this issue Jul 29, 2017
@harryyoud harryyoud changed the title Deprecation warnings Compiler deprecation warnings Jul 31, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant