<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to 2: Sim::get does not work with "unsigned long" values</title><link href="https://sourceforge.net/p/simkernel/bugs/2/" rel="alternate"/><link href="https://sourceforge.net/p/simkernel/bugs/2/feed.atom" rel="self"/><id>https://sourceforge.net/p/simkernel/bugs/2/</id><updated>2010-10-27T14:00:47Z</updated><subtitle>Recent changes to 2: Sim::get does not work with "unsigned long" values</subtitle><entry><title>Sim::get does not work with "unsigned long" values</title><link href="https://sourceforge.net/p/simkernel/bugs/2/" rel="alternate"/><published>2010-10-27T14:00:47Z</published><updated>2010-10-27T14:00:47Z</updated><author><name/><uri>https://sourceforge.net</uri></author><id>https://sourceforge.net2df9978d857725dd74ffbd8a8e3cb423c83970c0</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;long is okay, unsigned int is okay, but unsigned int is no good for the linker. blow is an example:&lt;/p&gt;
&lt;p&gt;g++ -c -O3 -g te-global.cpp -o maketemp/te-global.o&lt;br /&gt;
../../../Sonstiges/SimKernel/expression_basic.h: In function ‘void ExprToValue(const ExprPtrT&amp;amp;, T&amp;amp;) [with T = long unsigned int]’:&lt;br /&gt;
../../../Sonstiges/SimKernel/sim.hpp:22:   instantiated from ‘bool Sim::get(const ExprNameT&amp;amp;, T&amp;amp;, const SimSignal&amp;amp;) [with T = long unsigned int]’&lt;br /&gt;
te-global.cpp:124:   instantiated from here&lt;br /&gt;
../../../Sonstiges/SimKernel/expression_basic.h:2503: error: conversion from ‘Expression’ to ‘long unsigned int’ is ambiguous&lt;br /&gt;
../../../Sonstiges/SimKernel/expression.h:210: note: candidates are: virtual Expression::operator bool() const&lt;br /&gt;
../../../Sonstiges/SimKernel/expression.h:208: note:                 virtual Expression::operator int() const&lt;br /&gt;
../../../Sonstiges/SimKernel/expression.h:207: note:                 virtual Expression::operator double() const&lt;br /&gt;
make: *** [maketemp/te-global.o] Error 1&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>