c++11 - an error "undefined reference to 'log4cplus::Logger::operator=(log4cplus::Logger&&)'" -


now there problem when want compile project needs ld liblog4cplus.a when use compile option -std=c++11 ,then there's error

undefined reference 'log4cplus::logger::operator=(log4cplus::logger&&)'

but whole project needs option -std=c++11
how can solve problem?

ps : compiled on ubuntu 12.04 ,which gcc version:4.8.2 , liblog4cplus version:1.1.3

you have compile both code , log4cplus library or without -std=c++11 flag. mixed compilations not supported.


Comments

Popular posts from this blog

java - Date formats difference between yyyy-MM-dd'T'HH:mm:ss and yyyy-MM-dd'T'HH:mm:ssXXX -

c# - Get rid of xmlns attribute when adding node to existing xml -