for the main.cpp
int main (int argc, char* argv[] )
{
bson::BSONObjBuilder b;
b.append("x","y");
std::cout << b.obj().toString() << std::endl;
return 0;
}
thanks in advanced
i'm out of ideas without digging in and debugging fullysorryrun in debugger?dump the byte output and see if it matches what non-arm generates?
hi,
here is the output:
0assertion failure in bson library: 10330 Element extends past end of object
terminate called after throwing an instance of 'bson::assertion'what(): BsonAssertion id: 10330 Element extends past end of object
Aborted
for the main.cpp
int main (int argc, char* argv[] )
{
bson::BSONObjBuilder b;
b.append("x","y");std::cout << b.obj().toString() << std::endl;
return 0;
}
thanks in advanced
On 24/apr/2012, at 18:54, Dwight Merriman wrote:
> cout << b.obj().toString() << endl;
>
> post that here?
>