范德萨发而为
全部博文(392)
分类: C/C++
2013-01-24 16:27:37
1. how to enable log
./configure --enable-log=yes
add environment: XAPIAN_DEBUG_LOG=- and XAPIAN_DEBUG_FLAGS=-
more detail, see HACKING doc in source code root directory
and also, default log fd=2, so change fd=1 in debuglog.cc->initialise_categories_mask() function
c++ pimpl,解耦合以及减少编译时间的方法
http://www.gamedev.net/page/resources/_/technical/general-programming/the-c-pimpl-r1794
智能指针:
http://3140618.blog.163.com/blog/static/7451797201151494440368/
http://rkusanagi.blog.sohu.com/168824404.html
http://www.cnblogs.com/rocketfan/archive/2010/08/09/1796054.html