- summary: sim.get does not work with "unsigned long" values --> Sim::get does not work with "unsigned long" values
long is okay, unsigned int is okay, but unsigned int is no good for the linker. blow is an example:
g++ -c -O3 -g te-global.cpp -o maketemp/te-global.o
../../../Sonstiges/SimKernel/expression_basic.h: In function ‘void ExprToValue(const ExprPtrT&, T&) [with T = long unsigned int]’:
../../../Sonstiges/SimKernel/sim.hpp:22: instantiated from ‘bool Sim::get(const ExprNameT&, T&, const SimSignal&) [with T = long unsigned int]’
te-global.cpp:124: instantiated from here
../../../Sonstiges/SimKernel/expression_basic.h:2503: error: conversion from ‘Expression’ to ‘long unsigned int’ is ambiguous
../../../Sonstiges/SimKernel/expression.h:210: note: candidates are: virtual Expression::operator bool() const
../../../Sonstiges/SimKernel/expression.h:208: note: virtual Expression::operator int() const
../../../Sonstiges/SimKernel/expression.h:207: note: virtual Expression::operator double() const
make: *** [maketemp/te-global.o] Error 1