Hi I encountered a problem compiling the program on OS X 10.9.1.
The error message:
In file included from /Users/user/Documents/temp/cppcms-1.0.4/src/cache_storage.cpp:34:
/Users/user/Documents/temp/cppcms-1.0.4/cppcms_boost/cppcms_boost/unordered/unordered_map.hpp:207:28: error: no type named 'initializer_list' in namespace 'std'
unordered_map(std::initializer_list<value_type> list,</value_type>
according to this StackOverflow post: http://stackoverflow.com/questions/10991274/initializer-list-in-clang, it's because I needed to supply -std=c++0x to the compiler flags.
After I added the flag to the compiler flags, the compilation proceeded to work.
Maybe we need a fix for this?
my clang --version output:
$ clang --version
Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
Target: x86_64-apple-darwin13.0.0
Thread model: posix
Anonymous
The cppcms_boost::unordered_map isn't in use any more for the future version - so in trunk it isn't a problem.
So I need to think how to fix it - because it is the code of the older boost version
Already fixed in v1.0.x branch