log4cpp를 컴파일 하다 보면 아래와 같이 BasicLayout.cpp에서 오류가 날 때가 있습니다
이럴 때는 아래와 같이 2군데에 수정을 해주면 컴파일이 되네요
출처 : http://bugs.gentoo.org/217755
BasicLayout.cpp:37: error: expected constructor, destructor, or type conversion
before ‘<’ token
이럴 때는 아래와 같이 2군데에 수정을 해주면 컴파일이 되네요
BasicLayout.cpp:17
#include <memory> 추가
PatternLayout.cpp:373
component = new FormatModifierComponent(component, std::abs((float)minWidth), maxWidth, minWidth < 0); 변경
출처 : http://bugs.gentoo.org/217755