Project

General

Profile

Actions

Bug #950

closed
BN KD

dbo: natural ins seem to cause linkage errors when the model is used by QueryModel

Bug #950: dbo: natural ins seem to cause linkage errors when the model is used by QueryModel

Added by Boris Nagaev about 15 years ago. Updated almost 15 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
08/12/2011
Due date:
% Done:

0%

Estimated time:

Description

Error message:

In function
    `void Wt::Dbo::id<Wt::Dbo::FromAnyAction, facts::CommentId>(Wt::Dbo::FromAnyAction&,
    facts::CommentId&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int)':
/usr/include/Wt/Dbo/Field_impl.h:128: undefined reference to
    `void Wt::Dbo::FromAnyAction::actId<facts::CommentId>(facts::CommentId&,
    std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int)'

Possible work around:

namespace Wt {
namespace Dbo {

template<>
void id(FromAnyAction&, facts::CommentId&, const std::string&, int) {
    throw std::logic_error("Can't set CommentId from any");
}

}
}

KD Updated by Koen Deforche about 15 years ago Actions #1

  • Status changed from New to Resolved
  • Assignee set to Koen Deforche
  • Target version set to 3.1.11

Hey Starius,

Indeed these were missing. I've implemented them now.
I'll push to the public git repo later today.

Regards,
koen

KD Updated by Koen Deforche almost 15 years ago Actions #2

  • Status changed from Resolved to Closed

Resolved in Wt 3.1.11

Actions

Also available in: PDF Atom