[Cppcms-users] Small issues in cppcms 1.x.x
Brought to you by:
artyom-beilis
|
From: Daniel V. <dan...@du...> - 2010-03-15 07:05:10
|
Hello!
I test successfully cppcms 1.0.0.
I know that is a pre-release version, but I write this report for help.
My environment is g++ (Ubuntu 4.4.3-3ubuntu1).
But I get the following small issues.
1) I need add #include <stdint.h> in "session_posix_file_storage.cpp"
for build the framework.
2) Is function request().http_authrization() correct spelled (whitout
"a")?
3) Json parser. The json parser fail to parse a simple string. I expect
that the following code snippet print "ok", but I get "err".
string json_str("\"Hello World\");
cppcms::json::value v;
stringstream ss;
ss << json_str;
v.load(ss,true);
if( v.type() == cppcms::json::is_string ) {
cout << "ok" << endl;
}
else if (v.type() == cppcms::json::is_undefined ) {
cout << "err" << endl;
}
Thanks.
|