Skip to content

Commit 67a563b

Browse files
committed
Fix warning MSVC C4390
';' : empty controlled statement found; is this the intent? In this case, it is indeed the intent.
1 parent 1492b3d commit 67a563b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/rpcClient/rpcClient.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@
2424
# define TRACE(msg) std::cerr<<"TRACE: "<<CURRENT_FUNCTION<<" : "<< msg <<"\n"
2525
#else
2626
# define TRACE(msg)
27+
# ifdef _MSC_VER
28+
# pragma warning(disable:4390)
29+
# endif
2730
#endif
2831

2932
namespace pvd = epics::pvData;

0 commit comments

Comments
 (0)