Merge ~info-martin-konrad/epics-base:fix-log-issues into epics-base:3.15
Status: | Merged |
---|---|
Approved by: | Andrew Johnson on 2020-04-14 |
Approved revision: | e6914f3b8089a417c9efc31940906854be182e6b |
Merged at revision: | 9df39475cd70ac8449cbc4406c08766fc8d9c0cc |
Proposed branch: | ~info-martin-konrad/epics-base:fix-log-issues |
Merge into: | epics-base:3.15 |
Diff against target: |
708 lines (+238/-153) 11 files modified
src/ioc/misc/dbCore.dbd (+3/-0) src/libCom/log/iocLog.c (+25/-0) src/libCom/log/logClient.c (+103/-152) src/libCom/log/logClient.h (+0/-1) src/libCom/osi/Makefile (+1/-0) src/libCom/osi/os/Darwin/osdSockUnsentCount.c (+19/-0) src/libCom/osi/os/Linux/osdSockUnsentCount.c (+19/-0) src/libCom/osi/os/WIN32/osdSockUnsentCount.c (+26/-0) src/libCom/osi/os/default/osdSockUnsentCount.c (+15/-0) src/libCom/osi/os/iOS/osdSockUnsentCount.c (+19/-0) src/libCom/osi/osiSock.h (+8/-0) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Andrew Johnson | 2019-11-13 | Approve on 2020-04-14 | |
mdavidsaver | Approve on 2020-04-14 | ||
Review via email:
|
Description of the change
Fix lp:1841608 + some other logging issues (cherry-picked from 7.0 branch).
mdavidsaver (mdavidsaver) wrote : | # |
mdavidsaver (mdavidsaver) wrote : | # |
appveyor test build fails, looks like a missing header. I recall seeing this before, so maybe a missing patch.
https:/
Freddie Akeroyd (freddie-akeroyd) wrote : | # |
I think the header is there, two possibilities:
The function wasn't available in original W10 so may need to check windows DDK version too i.e. add
#if NTDDI_VERSION >= NTDDI_WIN10_RS2
to the other macro checks.
The failed build is also an old Visual Studio, maybe the option isn't enabled in the MS header for that old a VC? If so then there would need to be a check on the value of the _MSC_VER macro too.
Freddie Akeroyd (freddie-akeroyd) wrote : | # |
Or maybe just
#ifdef SIO_TCP_INFO
which might cover MinGW too
Andrew Johnson (anj) wrote : | # |
My MinGW cross-build fails on RHEL-7.6, gcc version 4.9.3 20150626 (Fedora MinGW 4.9.3-1.el7):
../osi/
../osi/
TCP_INFO_v0 tcpInfo;
^
../osi/
if ((status = WSAIoctl(sock, SIO_TCP_INFO, &infoVersion, sizeof(
../osi/
../osi/
return tcpInfo.
../osi/
int status;
^
Freddie Akeroyd (freddie-akeroyd) wrote : | # |
I guess it gets compiled on MinGW as neither macro is defined and 0 >= 0 It may be simplest to use
#if defined(_WIN32) && defined(
mdavidsaver (mdavidsaver) wrote : | # |
Sorry for the vague comment. It was 10 min. before I left for the airport. I think it will be sufficient to pick 5e6226e59597575
Martin Konrad (info-martin-konrad) wrote : | # |
Thanks Michael for the hint, I added this commit to my branch.
Martin Konrad (info-martin-konrad) wrote : | # |
I need some help with AppVeyor. My builds keep failing due to some CI issue: https:/
mdavidsaver (mdavidsaver) wrote : | # |
Have you somehow changed the default image? It seems to be 2019, however the assumed default is 2015 (the default default).
Martin Konrad (info-martin-konrad) wrote : | # |
AppVeyor build succeeded: https:/
Backport of https:/ /code.launchpad .net/~dirk. zimoch/ epics-base/ +git/epics- base/+merge/ 372925