<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Thank you Lou,<br>
<br>
you have the right idea. But it is a gcc error.<br>
<br>
CoinModel is using bool, quite correctly:<br>
<br>
inline void CoinModel::setInteger(int whichColumn) <br>
{ setColumnIsInteger( whichColumn, true);} <br>
void <br>
CoinModel::setColumnIsInteger(int whichColumn,bool columnIsInteger)<br>
{ .....<br>
<br>
But why is gcc trying to link it as (int, int) while it is declared and
compiled as (int, bool)? Is there an option to change that or should I
change the Coin source or ... ?<br>
<br>
Gleb<br>
<br>
<br>
Lou Hafer schrieb:
<blockquote cite="mid:200802221749.m1MHn8cA004091@cs.sfu.ca" type="cite">
<pre wrap="">Gleb,
</pre>
<blockquote type="cite">
<pre wrap="">[ Report of linking problems, for example, can't find
CoinModel::setColumnIsInteger(int, int)
]
</pre>
</blockquote>
<pre wrap=""><!---->
        At a glance, it looks to me like you're trying to use int where you
should be using bool.
                                                        Lou
_______________________________________________
Cbc mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Cbc@list.coin-or.org">Cbc@list.coin-or.org</a>
<a class="moz-txt-link-freetext" href="http://list.coin-or.org/mailman/listinfo/cbc">http://list.coin-or.org/mailman/listinfo/cbc</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Mit freundlichen Gruessen
G. Belov
----------------------------------------------------------------------
Dr. Gleb Belov <a class="moz-txt-link-abbreviated" href="mailto:Gleb.Belov@tu-dresden.de">Gleb.Belov@tu-dresden.de</a>
Wiss. Assistent <a class="moz-txt-link-freetext" href="http://www.math.tu-dresden.de/~belov">http://www.math.tu-dresden.de/~belov</a>
Technische Universitaet Dresden Tel: +49 351 463 34186
Institut fuer Numerische Mathematik Fax: +49 351 463 34268
Mommsenstr. 13 Tel. priv.:+49 351 3743754
01062 Dresden
</pre>
</body>
</html>