Patch for mtl4-alpha-1-r6398, gcc 4.1.2
"Michael Smolsky" <[email protected]> Sat, 22 Dec 2007 00:13:54 -0500
| Newsgroups | gmane.comp.lib.mtl.devel |
|---|---|
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format.
--_----------=_119830043471305
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="iso-8859-1"
Hi,
I'm trying to compile mtl4-alpha-1-r6398.tar.gz using gcc 4.1.2=20
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 d=
oesn't like any more.
I've created a patch file, that I'm attaching. To apply the patch, go to mt=
l4 directory and execute
patch -p1 < /path/to/patch/file.txt
Thank you for supporting MTL,
Michael
--=20
Want an e-mail address like mine?
Get a free e-mail account today at www.mail.com!
--_----------=_119830043471305
Content-Disposition: attachment;
filename="patch-alpha-1-r6398-remove-semicolons.txt"
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="iso-8859-1";
name="patch-alpha-1-r6398-remove-semicolons.txt"
diff -ru mtl4/boost/numeric/mtl/operation/conj.hpp mtl4-fixed/boost/numeric=
/mtl/operation/conj.hpp
--- mtl4/boost/numeric/mtl/operation/conj.hpp 2007-10-26 05:33:04.000000000=
-0400
+++ mtl4-fixed/boost/numeric/mtl/operation/conj.hpp 2007-12-21 23:50:35.000=
000000 -0500
@@ -97,7 +97,7 @@
inline conj(const Value& v)
{
return sfunctor::conj<Value, typename traits::algebraic_category<Value=
>::type>::apply(v);
-};
+}
=20
=20
namespace sfunctor {
@@ -129,7 +129,7 @@
inline typename sfunctor::real<Value>::result_type real(const Value& v)
{
return sfunctor::real<Value>::apply(v);
-};
+}
=20
=20
namespace sfunctor {
@@ -163,7 +163,7 @@
inline typename sfunctor::imag<Value>::result_type imag(const Value& v)
{
return sfunctor::imag<Value>::apply(v);
-};
+}
=20
=20
} // namespace mtl
diff -ru mtl4/boost/numeric/mtl/operation/trans.hpp mtl4-fixed/boost/numeri=
c/mtl/operation/trans.hpp
--- mtl4/boost/numeric/mtl/operation/trans.hpp 2007-10-26 05:33:04.00000000=
0 -0400
+++ mtl4-fixed/boost/numeric/mtl/operation/trans.hpp 2007-12-21 23:50:51.00=
0000000 -0500
@@ -49,7 +49,7 @@
inline trans(const Value& v)
{
return sfunctor::trans<Value, typename traits::algebraic_category<Valu=
e>::type>::apply(v);
-};
+}
=20
=20
} // namespace mtl
--_----------=_119830043471305
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/
--_----------=_119830043471305--