- Code: Select all
cef\include/base/cef_logging.h(180): warning C4091: '' : ignored on left of 'const int' when no variable is declared
1>cef\include/base/cef_logging.h(180): error C2143: syntax error : missing ';' before 'if'
1>cef\include/base/cef_logging.h(180): error C2059: syntax error : 'if'
1>cef\include/base/cef_logging.h(180): error C2059: syntax error : 'else'
1>cef\include/base/cef_logging.h(180): error C2059: syntax error : 'else'
1>cef\include/base/cef_logging.h(181): warning C4091: '' : ignored on left of 'const int' when no variable is declared
1>cef\include/base/cef_logging.h(181): error C2143: syntax error : missing ';' before 'if'
1>cef\include/base/cef_logging.h(181): error C2059: syntax error : 'if'
1>cef\include/base/cef_logging.h(181): error C2059: syntax error : 'else'
1>cef\include/base/cef_logging.h(181): error C2059: syntax error : 'else'
1>cef\include/base/cef_logging.h(182): warning C4091: '' : ignored on left of 'const int' when no variable is declared
1>cef\include/base/cef_logging.h(182): error C2143: syntax error : missing ';' before 'if'
1>cef\include/base/cef_logging.h(182): error C2059: syntax error : 'if'
1>cef\include/base/cef_logging.h(182): error C2059: syntax error : 'else'
1>cef\include/base/cef_logging.h(182): error C2059: syntax error : 'else'
1>cef\include/base/cef_logging.h(188): error C2059: syntax error : 'if'
1>cef\include/base/cef_logging.h(188): error C2059: syntax error : 'else'
1>cef\include/base/cef_logging.h(188): error C2059: syntax error : 'else'
1>cef\include/base/cef_logging.h(234): error C2059: syntax error : 'if'
1>cef\include/base/cef_logging.h(234): error C2059: syntax error : 'else'
1>cef\include/base/cef_logging.h(234): error C2059: syntax error : 'else'
1>cef\include/base/cef_logging.h(265): warning C4005: 'LOG' : macro redefinition
1> c:\phpdesktop\phpdesktop-chrome-cef2171\log.h(144) : see previous definition of 'LOG'
1>cef\include/base/cef_logging.h(491): error C2039: 'LOG_logINFO' : is not a member of 'cef::logging'
1>cef\include/base/cef_logging.h(491): error C2065: 'LOG_logINFO' : undeclared identifier
1>cef\include/base/cef_logging.h(491): error C2039: 'LogMessageVoidify' : is not a member of 'cef::logging'
1>cef\include/base/cef_logging.h(491): error C2065: 'COMPACT_GOOGLE_LOG_logINFO' : undeclared identifier
1>cef\include/base/cef_logging.h(491): error C2228: left of '.stream' must have class/struct/union
1> type is ''unknown-type''
1>cef\include/base/cef_logging.h(491): error C3861: 'LogMessageVoidify': identifier not found
I already have LOG_INFO (LOG_WARNING, etc) defines in my logging library and it conflicts with CEF. How about changing it to CEF_LOG_INFO to avoid conflicts? Changing its name in my app probably not a good idea, as it already occurs in hundreds of places.
UPDATE.
"LOG" macro conflicts as well:
- Code: Select all
cef\include/base/cef_logging.h(265): warning C4005: 'LOG' : macro redefinition