rpclib
rpclib copied to clipboard
conflicting macros with syslog.h
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