[Log4cplus-devel] [ log4cplus-Support Requests-3563229 ] Compiling with C++11 support
Logging Framework for C++
Brought to you by:
wilx
From: SourceForge.net <no...@so...> - 2012-08-30 10:15:35
|
Support Requests item #3563229, was opened at 2012-08-30 03:15 Message generated for change (Tracker Item Submitted) made by gorpknalp You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=429074&aid=3563229&group_id=40830 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Priority: 5 Private: No Submitted By: gorpknalp (gorpknalp) Assigned to: Nobody/Anonymous (nobody) Summary: Compiling with C++11 support Initial Comment: Hi, I was trying to compile a program against log4cplus 1.1.0-rc8 on a new system (for the record, a Raspberry Pi), and had this error message: Linking CXX executable cachip CMakeFiles/cachip.dir/ServeClient.cpp.o: In function `ServeClient': /home/pi/prog/cachip/cachip/ServeClient.cpp:40: undefined reference to `log4cplus::Logger::operator=(log4cplus::Logger&&)' collect2: ld returned 1 exit status This happens because I compiled log4cplus with CMake and no special CXXFLAG, while on the other hand my own program is compiled with -std=c++0x (on GCC 4.6). I'm not sure whether it is a bug or not as I'm not a package maintainer. I guess the library should be compiled unconditionally with C++11 support when the platform's compiler supports it. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=429074&aid=3563229&group_id=40830 |