Hello,
I have a segfault with this code :
#include <iostream>
#include <vector>
#include <cxxtools/utf8codec.h>
#include <cxxtools/jsonserializer.h>
int main()
{
// std::ostringstream o;
cxxtools::Utf8Codec codec;
// cxxtools::JsonSerializer serializer(o);
cxxtools::String s;
// s = codec.decode("Advances in Engineering Software");
// serializer.serialize(s, "s");
s = codec.decode("AI and Society: The Journal of Human-Centred
Systems and Machine Intelligence");
// serializer.finish();
// std::cout << o.str() << std::endl;
}
# g++ rt.cpp -lcxxtools
# ./a.out
Segmentation fault
Any idea ?
Thank,
Jean-Michel
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Tntnet-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tntnet-general