<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to 2: Sim::get does not work with "unsigned long" values</title><link>https://sourceforge.net/p/simkernel/bugs/2/</link><description>Recent changes to 2: Sim::get does not work with "unsigned long" values</description><atom:link href="https://sourceforge.net/p/simkernel/bugs/2/feed.rss" rel="self"/><language>en</language><lastBuildDate>Wed, 27 Oct 2010 14:00:47 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/simkernel/bugs/2/feed.rss" rel="self" type="application/rss+xml"/><item><title>Sim::get does not work with "unsigned long" values</title><link>https://sourceforge.net/p/simkernel/bugs/2/</link><description>&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;</description><pubDate>Wed, 27 Oct 2010 14:00:47 -0000</pubDate><guid>https://sourceforge.net2df9978d857725dd74ffbd8a8e3cb423c83970c0</guid></item></channel></rss>