And preference on how to handle the following:
'gethostbyaddr': Use getnameinfo() or GetNameInfoW() instead or define
_WINSOCK_DEPRECATED_NO_WARNINGS
Moving to getnameinfo restricts to Windows XP ot later
GetVersionEx (deprecated ) used to test for a function at xp or higher
in osdMutex, if we only support XP or higher versions then the test
could be removed
epicsSocketAccept should return SOCKET rather than int - on most systems
SOCKET is a typedef to int, but not on Windows. There it is UINT_PTR so
64bit size on win64. However i believe only the lower 32 bits are
currently used (like for HANDLE) so there may be more risk in breaking
an existing API by fixing the data type
--
You received this bug notification because you are a member of EPICS
Core Developers, which is subscribed to EPICS Base.
Matching subscriptions: epics-core-list-subscription
https://bugs.launchpad.net/bugs/1905159
Title:
Fix warnings from recent compiler versions
Status in EPICS Base:
Triaged
Bug description:
Builds of EPICS Base using recent versions of gcc, clang and MSVC
generate compiler warnings, which we try to minimize if possible. Some
of these warnings can be prevented with suitable code modifications,
although the code must still build on the older compilers and other
architectures that we support.
Both the 3.15 and 7.0 branches can be examined for warnings; fixes
made on the 3.15 branch get propagated to the 7.0 branch during
periodic up-merges, so there is no need to make the same changes to
both branches. Some code only exists on one branch; for example the
gdd module was unbundled after 3.15, and there are many new modules in
7.0.
To manage notifications about this bug go to:
https://bugs.launchpad.net/epics-base/+bug/1905159/+subscriptions
- Navigate by Date:
- Prev:
[Bug 1905159] Re: Fix warnings from recent compiler versions Freddie Akeroyd via Core-talk
- Next:
[Bug 1905159] Re: Fix warnings from recent compiler versions Freddie Akeroyd via Core-talk
- Index:
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
<2021>
2022
2023
2024
- Navigate by Thread:
- Prev:
[Bug 1905159] Re: Fix warnings from recent compiler versions Freddie Akeroyd via Core-talk
- Next:
[Bug 1905159] Re: Fix warnings from recent compiler versions Freddie Akeroyd via Core-talk
- Index:
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
<2021>
2022
2023
2024
|