Re: Patch for mtl4-alpha-1-r6398, gcc 4.1.2

Peter Gottschling <[email protected]> Sat, 22 Dec 2007 16:58:45 +0100
Newsgroups gmane.comp.lib.mtl.devel
Message-ID <[email protected]>
--===============1525323069==
Content-Type: multipart/alternative; boundary=Apple-Mail-1-988593672


--Apple-Mail-1-988593672
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
	charset=US-ASCII;
	delsp=yes;
	format=flowed

Hi Michael,

Thank you for the patch.  I'll apply it eventually.

I'm kind of surprised that a C++ compiler complains about this, esp.  
as I already tried gcc 4.1.2 on.  It's also surprising that I put  
semicolons after function definitions so often.

Cheers,

Peter

On Dec 22, 2007, at 6:13 AM, Michael Smolsky wrote:

> Hi,
>
> I'm trying to compile mtl4-alpha-1-r6398.tar.gz using gcc 4.1.2
> 20070925 (Red Hat 4.1.2-27), and it fails on a bunch of files.  
> Essentially, there're extra semicolons after definitions of some  
> functions, which gcc doesn't like any more.
>
> I've created a patch file, that I'm attaching. To apply the patch,  
> go to mtl4 directory and execute
>
> patch -p1 < /path/to/patch/file.txt
>
> Thank you for supporting MTL,
>
> Michael
>
> -- 
> Want an e-mail address like mine?
> Get a free e-mail account today at www.mail.com!
>
> <patch-alpha-1-r6398-remove- 
> semicolons.txt>_______________________________________________
> This list is archived at http://www.osl.iu.edu/MailArchives/mtl-devel/

------------
Peter Gottschling
Research Associate
Open Systems Laboratory
Indiana University
135 Lindley Hall
Bloomington, IN 47405
Tel.: +1-812-855-3608   Fax: +1-812-856-0853
http://www.osl.iu.edu/~pgottsch



--Apple-Mail-1-988593672
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=ISO-8859-1

<html><body style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; =
-webkit-line-break: after-white-space; ">
Hi Michael,<div><br class=3D"webkit-block-placeholder"></div><div>Thank =
you for the patch. =A0I'll apply it eventually.</div><div><br =
class=3D"webkit-block-placeholder"></div><div>I'm kind of surprised that =
a C++ compiler complains about this, esp. as I already tried gcc 4.1.2 =
on. =A0It's also surprising that I put semicolons after function =
definitions so often.</div><div><br =
class=3D"webkit-block-placeholder"></div><div>Cheers,</div><div><br =
class=3D"webkit-block-placeholder"></div><div>Peter</div><div><br =
class=3D"webkit-block-placeholder"></div><div><div><div>On Dec 22, 2007, =
at 6:13 AM, Michael Smolsky wrote:</div><br =
class=3D"Apple-interchange-newline"><blockquote type=3D"cite"><div =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; ">Hi,</div><div style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: =
14px; "><br></div><div style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; ">I'm trying to compile =
mtl4-alpha-1-r6398.tar.gz using gcc 4.1.2<span =
class=3D"Apple-converted-space">=A0</span></div><div style=3D"margin-top: =
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">20070925 =
(Red Hat 4.1.2-27), and it fails on a bunch of files. Essentially, =
there're extra semicolons after definitions of some functions, which gcc =
doesn't like any more.</div><div style=3D"margin-top: 0px; margin-right: =
0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; =
"><br></div><div style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; ">I've created a patch file, that =
I'm attaching. To apply the patch, go to mtl4 directory and =
execute</div><div style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><br></div><div =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; ">patch -p1 &lt; /path/to/patch/file.txt</div><div =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; min-height: 14px; "><br></div><div style=3D"margin-top: =
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Thank =
you for supporting MTL,</div><div style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: =
14px; "><br></div><div style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; ">Michael</div><div =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; min-height: 14px; "><br></div><div style=3D"margin-top: =
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">--<span =
class=3D"Apple-converted-space">=A0</span></div><div style=3D"margin-top: =
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Want an =
e-mail address like mine?</div><div style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Get a free =
e-mail account today at <a =
href=3D"http://www.mail.com">www.mail.com</a>!</div><div =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; min-height: 14px; =
"><br><span>&lt;patch-alpha-1-r6398-remove-semicolons.txt&gt;</span>______=
_________________________________________</div><div style=3D"margin-top: =
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">This =
list is archived at <a =
href=3D"http://www.osl.iu.edu/MailArchives/mtl-devel/">http://www.osl.iu.e=
du/MailArchives/mtl-devel/</a></div> </blockquote></div><br><div> <span =
class=3D"Apple-style-span" style=3D"border-collapse: separate; =
border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; =
font-size: 12px; font-style: normal; font-variant: normal; font-weight: =
normal; letter-spacing: normal; line-height: normal; text-align: auto; =
-khtml-text-decorations-in-effect: none; text-indent: 0px; =
-apple-text-size-adjust: auto; text-transform: none; orphans: 2; =
white-space: normal; widows: 2; word-spacing: 0px; "><p style=3D"margin: =
0.0px 0.0px 0.0px 0.0px"><font face=3D"Helvetica" size=3D"3" =
style=3D"font: 12.0px Helvetica">------------</font></p><p =
style=3D"margin: 0.0px 0.0px 0.0px 0.0px"><font face=3D"Helvetica" =
size=3D"3" style=3D"font: 12.0px Helvetica">Peter =
Gottschling</font></p><p style=3D"margin: 0.0px 0.0px 0.0px 0.0px"><font =
face=3D"Helvetica" size=3D"3" style=3D"font: 12.0px Helvetica">Research =
Associate</font></p><p style=3D"margin: 0.0px 0.0px 0.0px 0.0px"><font =
face=3D"Helvetica" size=3D"3" style=3D"font: 12.0px Helvetica">Open =
Systems Laboratory</font></p><p style=3D"margin: 0.0px 0.0px 0.0px =
0.0px"><font face=3D"Helvetica" size=3D"3" style=3D"font: 12.0px =
Helvetica">Indiana University</font></p><p style=3D"margin: 0.0px 0.0px =
0.0px 0.0px"><font face=3D"Helvetica" size=3D"3" style=3D"font: 12.0px =
Helvetica">135 Lindley Hall</font></p><p style=3D"margin: 0.0px 0.0px =
0.0px 0.0px"><font face=3D"Helvetica" size=3D"3" style=3D"font: 12.0px =
Helvetica">Bloomington, IN 47405</font></p><p style=3D"margin: 0.0px =
0.0px 0.0px 0.0px"><font face=3D"Helvetica" size=3D"3" style=3D"font: =
12.0px Helvetica">Tel.: +1-812-855-3608<span =
class=3D"Apple-converted-space">=A0</span><span =
class=3D"Apple-converted-space">=A0<span =
class=3D"Apple-converted-space">=A0</span></span>Fax: =
+1-812-856-0853</font></p><p style=3D"margin: 0.0px 0.0px 0.0px =
0.0px"><font face=3D"Helvetica" size=3D"3" style=3D"font: 12.0px =
Helvetica"><a =
href=3D"http://www.osl.iu.edu/~pgottsch">http://www.osl.iu.edu/~pgottsch</=
a></font></p><br class=3D"Apple-interchange-newline"></span> =
</div><br></div></body></html>=

--Apple-Mail-1-988593672--

--===============1525323069==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
This list is archived at http://www.osl.iu.edu/MailArchives/mtl-devel/
--===============1525323069==--