Bug #699
closed"WAbstractItemModel: unsupported type N2Wt7WStringE"
0%
Description
Why does
this~~model_~~>setHeaderData(0, Wt::Horizontal, Wt::WString::tr("extensions.table.header.extension"), Wt::DisplayRole);
lead to
[2011-Jan-22 22:06:55.459013] 3470 [/ NHzwjPsrnFtEEzdp] [fatal] "WAbstractItemModel: unsupported type N2Wt7WStringE"
I tried recompiling the library and the application... no luck.. :( It doesn't accept std::string either.
Kind regards,
Ben
Updated by Koen Deforche about 13 years ago
Hey,
I can't understand this error either, it seems like a compiler C ABI mismatch, but you said you just recompiled both library and application (using the same compiler) ?
Could you print the output of:
boost::any a(Wt::WString::tr("test"));
std::cerr << a.type() == typeid(Wt::WString)) << std::endl;
std::cerr << "'" << a.type().name() << "' =? '" << typeid(Wt::WString).name() << "'" << std::endl;
Regards,
koen
Updated by Benjamin Oldenburg about 13 years ago
I solved it... But I will leave a note here so the next one running into this doesn't have to waste time getting into this...
I used MPC to create the Make files, as it is common for ACE/TAO based projects.
- mwc.pl -type gnuace
leads to the error above. Instead one should use
- mwc.pl -type make
Updated by Koen Deforche about 13 years ago
- Status changed from Resolved to Closed