Project

General

Profile

Actions

Bug #699

closed

"WAbstractItemModel: unsupported type N2Wt7WStringE"

Added by Anonymous about 13 years ago. Updated about 13 years ago.

Status:
Closed
Priority:
High
Assignee:
Target version:
-
Start date:
01/22/2011
Due date:
% Done:

0%

Estimated time:

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

Actions #1

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

Actions #2

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.

  1. mwc.pl -type gnuace

leads to the error above. Instead one should use

  1. mwc.pl -type make
Actions #3

Updated by Koen Deforche about 13 years ago

  • Status changed from New to Resolved
Actions #4

Updated by Koen Deforche about 13 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF