c++ Programming Glossary: first.cpp
Linux Allocator Does Not Release Small Chunks of Memory http://stackoverflow.com/questions/10943907/linux-allocator-does-not-release-small-chunks-of-memory some light on this. Here is the source file that I have first.cpp #include unistd.h #include stdlib.h #include list #include vector.. i delete ptrs sleep 100 return 0 I compile both g o first first.cpp g o second second.cpp I run first and after it's sleeping I.. sleeping I see the resident memory size When I compile first.cpp and run it I look at memory with ps . first ps aux grep first..
Why can't clang with libc++ in c++0x mode link this boost::program_options example? http://stackoverflow.com/questions/8454329/why-cant-clang-with-libc-in-c0x-mode-link-this-boostprogram-options-examp svn.boost.org svn boost trunk libs program_options example first.cpp ...on MacOS Lion 10.7.2 using boost 1.48.0 installed with MacPorts.. I opt local include L opt local lib lboost_program_options first.cpp o first Undefined symbols for architecture x86_64 boost program_options.. include L opt local lib lboost_program_options o first first.cpp ... works fine. As does using clang without libc clang std c..
|