<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi,<br>
<br>
This looks like a mistake in your reatvOptSolver.cpp file (related
to "min" having only one argument).<br>
<br>
Andreas<br>
<br>
On 12/30/2011 02:18 AM, Lqc wrote:
<blockquote
cite="mid:54746e10.1baca.1348e0cbdb9.Coremail.lqc234@126.com"
type="cite">
<div
style="line-height:1.7;color:#000000;font-size:14px;font-family:arial">
<div style="LINE-HEIGHT: 1.7; FONT-FAMILY: arial; COLOR:
#000000; FONT-SIZE: 14px">
<div>
<div style="LINE-HEIGHT: 1.7; FONT-FAMILY: arial; COLOR:
#000000; FONT-SIZE: 14px">
<div>I used ipopt-3.8.1 in my applications. However there
are some gcc compile errors which from linux c++ library
when I compile my application in RedHat Linux.I think
these errors should be from my c++ files, I have no idea
about these errors because they seemed be from linux c++
libray.</div>
<div> The errors are as followings:</div>
<div>
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/locale_facets.tcc:569:34:
error:macro "min" need 2 parameters,but only given 1.</div>
<div>/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/locale_facets.tcc:569:67:
error:macro "max" need 2 parameters,but only given 1.</div>
<div> 在包含自
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2
/istream:819 的文件中,<br>
从
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2
/iostream:45,<br>
从
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2
/backward/iostream.h:32,<br>
从 reatvOptSolver.cpp:2:<br>
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/istream.tcc:151:36:
error:macro "min" need 2 parameters,but only given 1.</div>
<div> </div>
<div>/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/istream.tcc:152:46:
error:macro "max" need 2 parameters,but only given 1.</div>
<div> ....</div>
<div> </div>
<div>and so on.</div>
<div> </div>
<div> I attached the erros in the attachment, also my c++
files. Appreciate for any suggestions and help! Thank
you very much!</div>
<div>
LinuQuanchang</div>
<div>
YanTai City,China</div>
</div>
<br>
</div>
</div>
<br>
<br>
<span title="neteasefooter"><span id="netease_mail_footer"></span></span></div>
<br>
<br>
<span title="neteasefooter"><span id="netease_mail_footer"></span></span><br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Ipopt mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Ipopt@list.coin-or.org">Ipopt@list.coin-or.org</a>
<a class="moz-txt-link-freetext" href="http://list.coin-or.org/mailman/listinfo/ipopt">http://list.coin-or.org/mailman/listinfo/ipopt</a>
</pre>
</blockquote>
<br>
</body>
</html>