[odb-users] internal compiler error: cult:compiler::context::no_entry

Boris Kolpackov boris at codesynthesis.com
Thu Oct 4 02:40:23 EDT 2018

MM <finjulhich at gmail.com> writes:

> I have traced where this exception:
> > terminate called after throwing an instance of
> > 'cutl::compiler::context::no_entry'
> is thrown from:
> cutl/compiler/context.txx from
> template <typename X> X& context::get (std::string const& key);

Can you send the complete stack trace?

> key = "compiler-id-type"
> internal compiler error: Aborted
>  using nstring = odb::nullable<std::string>;
>  #pragma db member(prtfelt::strat) virtual(mynamespace::nstring)
> Is this any indication at all that the data member is missing a id_type
> pragma?

No, I don't see anything wrong with it. What's strange thought is this
'compiler' word in the key. Do you have anything (e.g., a class) in your
source code called 'compiler'?

More information about the odb-users mailing list