diff --git a/configure/os/CONFIG.win32-x86.win32-x86 b/configure/os/CONFIG.win32-x86.win32-x86 index 29c15d3be..615332f19 100644 --- a/configure/os/CONFIG.win32-x86.win32-x86 +++ b/configure/os/CONFIG.win32-x86.win32-x86 @@ -136,6 +136,16 @@ STATIC_LDLIBS_NO= STATIC_LDFLAGS= RANLIB= +# +# option needed for parallel builds with Visual Studio 2015 onward +# +# -FS Force Synchronous PDB Writes +ifneq ($(VisualStudioVersion),) + OPT_CXXFLAGS_NO += -FS + OPT_CFLAGS_NO += -FS +endif + + # # add -profile here to run the ms profiler # -LTCG whole program optimization diff --git a/src/ioc/rsrv/online_notify.c b/src/ioc/rsrv/online_notify.c index b2547c464..6b6157370 100644 --- a/src/ioc/rsrv/online_notify.c +++ b/src/ioc/rsrv/online_notify.c @@ -45,7 +45,6 @@ void rsrv_online_notify_task(void *pParm) caHdr msg; int status; ca_uint32_t beaconCounter = 0; - char buf[16]; taskwdInsert (epicsThreadGetIdSelf(),NULL,NULL); @@ -85,10 +84,12 @@ void rsrv_online_notify_task(void *pParm) &pAddr->addr.sa, sizeof(pAddr->addr)); if (status < 0) { char sockErrBuf[64]; - epicsSocketConvertErrnoToString ( sockErrBuf, sizeof ( sockErrBuf ) ); - ipAddrToDottedIP (&pAddr->addr.ia, buf, sizeof(buf)); + char sockDipBuf[22]; + + epicsSocketConvertErrnoToString(sockErrBuf, sizeof(sockErrBuf)); + ipAddrToDottedIP(&pAddr->addr.ia, sockDipBuf, sizeof(sockDipBuf)); errlogPrintf ( "CAS: CA beacon send to %s error: %s\n", - buf, sockErrBuf); + sockDipBuf, sockErrBuf); } else { assert (status == sizeof(msg));