<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META content="MSHTML 6.00.2900.3268" name=GENERATOR>
<STYLE>@font-face {
        font-family: 宋体;
}
@font-face {
        font-family: Verdana;
}
@font-face {
        font-family: @宋体;
}
@page Section1 {size: 595.3pt 841.9pt; margin: 72.0pt 90.0pt 72.0pt 90.0pt; layout-grid: 15.6pt; }
P.MsoNormal {
        TEXT-JUSTIFY: inter-ideograph; FONT-SIZE: 10.5pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; TEXT-ALIGN: justify
}
LI.MsoNormal {
        TEXT-JUSTIFY: inter-ideograph; FONT-SIZE: 10.5pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; TEXT-ALIGN: justify
}
DIV.MsoNormal {
        TEXT-JUSTIFY: inter-ideograph; FONT-SIZE: 10.5pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; TEXT-ALIGN: justify
}
A:link {
        COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
        COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
        COLOR: purple; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
        COLOR: purple; TEXT-DECORATION: underline
}
SPAN.EmailStyle17 {
        FONT-WEIGHT: normal; COLOR: windowtext; FONT-STYLE: normal; FONT-FAMILY: Verdana; TEXT-DECORATION: none; mso-style-type: personal-compose
}
DIV.Section1 {
        page: Section1
}
UNKNOWN {
        FONT-SIZE: 10pt
}
BLOCKQUOTE {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px; MARGIN-LEFT: 2em
}
OL {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
UL {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
</STYLE>
</HEAD>
<BODY style="FONT-SIZE: 10pt; FONT-FAMILY: verdana">
<DIV><FONT face=Verdana color=#000080 size=2>Hello,</FONT></DIV>
<DIV> <FONT color=#000080></FONT></DIV>
<DIV><FONT color=#000080> Thanks.</FONT></DIV>
<DIV><FONT color=#000080> I wrote that letter in
order to discuss this problem.And in CLN-1.2.0,I find many "bugs" like
this.</FONT><FONT color=#000080> </FONT></DIV>
<DIV><FONT color=#000080> </FONT></DIV>
<DIV><FONT color=#000080> <FONT color=#000000>Alexei
Sheplyakov wrote:</FONT> </FONT></DIV>
<DIV><FONT
color=#000080> >It *is* wrong, but [sometimes] it happens to work.</DIV></FONT>
<DIV><FONT face=Verdana color=#000080 size=2>
</FONT></DIV>
<DIV><FONT face=Verdana color=#000080 size=2> I </FONT><FONT
face=Verdana color=#000080 size=2>think so. In my opinion,CLN will be modified
with the development of compiler GCC.So I suggest that CLN be updated
in <FONT color=#000000>standard C++.</FONT></FONT> And this will also
improve the possibility of migration from GCC to other Compilers.</DIV>
<DIV> </DIV>
<DIV> Best
wishes,
</DIV>
<DIV>
XinJian Zhao</DIV>
<DIV>
</DIV>
<DIV><FONT color=#000080></FONT> </DIV>
<DIV><FONT face=Verdana color=#000080 size=2></FONT> </DIV>
<DIV><FONT face=Verdana color=#c0c0c0 size=2>2008-04-02 </FONT></DIV><FONT
face=Verdana color=#000080 size=2>
<HR style="WIDTH: 122px; HEIGHT: 2px" align=left SIZE=2>
</FONT>
<DIV><FONT face=Verdana color=#c0c0c0 size=2><SPAN>zhaoxinjian</SPAN>
</FONT></DIV><FONT face=Verdana color=#000080 size=2>
<HR>
</FONT>
<DIV><FONT face=Verdana size=2><STRONG>发件人:</STRONG> Alexei Sheplyakov
</FONT></DIV>
<DIV><FONT face=Verdana size=2><STRONG>发送时间:</STRONG> 2008-04-01 15:49:56
</FONT></DIV>
<DIV><FONT face=Verdana size=2><STRONG>收件人:</STRONG> CLN discussion list
</FONT></DIV>
<DIV><FONT face=Verdana size=2><STRONG>抄送:</STRONG> </FONT></DIV>
<DIV><FONT face=Verdana size=2><STRONG>主题:</STRONG> Re: [CLN-list] const cl_LF
operator- (const cl_LF& x,const cl_LF& y) </FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV>
<DIV><FONT face=Verdana size=2>
<DIV>Hello!</DIV>
<DIV> </DIV>
<DIV>On Sat, Mar 29, 2008 at 10:20:00PM +0100, Richard B. Kreckel wrote:</DIV>
<DIV> </DIV>
<DIV>> zhaoxinjian wrote:</DIV>
<DIV>>
> I find that the function ( const cl_LF operator- (const cl_LF& x, const cl_LF& y) ) in cl_LF.h and in cl_LF_2mimus.cc is different!</DIV>
<DIV>> > In cl_LF.h:</DIV>
<DIV>>
> inline const cl_LF operator- (const cl_LF& x, const cl_LF& y) \</DIV>
<DIV>>
> { \</DIV>
<DIV>>
> return LF_LF_minus_LF(x,y); \</DIV>
<DIV>> > } </DIV>
<DIV>> > In cl_LF_2mimus.cc :</DIV>
<DIV>>
> const cl_LF operator- (const cl_LF& x1, const cl_LF& x2)</DIV>
<DIV>>
> { GEN_LF_OP2(x1,x2,LF_LF_minus_LF,return) }</DIV>
<DIV>> > </DIV>
<DIV>> > } // namespace cln </DIV>
<DIV>> > Is it wrong?</DIV>
<DIV> </DIV>
<DIV>It is wrong.</DIV>
<DIV> </DIV>
<DIV>> And Why?</DIV>
<DIV> </DIV>
<DIV>Because it declares the same function to be inline and non-inline, </DIV>
<DIV>which violates the standard (7.1.2.4).</DIV>
<DIV> </DIV>
<DIV>> It's not wrong.</DIV>
<DIV> </DIV>
<DIV>It *is* wrong, but [sometimes] it happens to work.</DIV>
<DIV> </DIV>
<DIV>Best regards,</DIV>
<DIV>Alexei</DIV>
<DIV> </DIV>
<DIV>-- </DIV>
<DIV>All science is either physics or stamp collecting.</DIV>
<DIV>_______________________________________________</DIV>
<DIV>CLN-list mailing list</DIV>
<DIV>CLN-list@ginac.de</DIV>
<DIV>https://www.cebix.net/mailman/listinfo/cln-list</DIV>
<DIV> </DIV></FONT></DIV></BODY></HTML>