rpclib icon indicating copy to clipboard operation
rpclib copied to clipboard

conflicting macros with syslog.h

Open abhisheksaksena opened this issue 7 years ago • 0 comments

I am integrating RPClib with my code where I need to include syslog.h too, I get warning due to conflicting macro definitions:

include/rpc/detail/log.h:149:0: warning: "LOG_INFO" redefined [enabled by default] #define LOG_INFO(...) ^ In file included from /usr/include/syslog.h:1:0,

LOG_* conflict with names in syslog.h. I would like to suggest a change the macros to RPCLIB_LOG_* to avoid any potential conflicts.

Thanks Abhishek

abhisheksaksena avatar Nov 20 '18 20:11 abhisheksaksena