| Newsgroups |
gmane.comp.lib.mtl.devel |
| Message-ID |
<[email protected]> |
I get this warning when compiling some code that uses the MTL (it's the
-pedantic option which throws it). I think the code itself is not
important, as he problem seems to be in the header files
g++ -o bin/gamatrix -pedantic -Wall -ftemplate-depth-50
m_gamatrix.cpp lib/gamatrix.o
In file included from
/usr/lib/gcc-lib/i386-linux/2.95.4/../../../../include/g++-3/complex:7,
from /usr/include/mtl/mtl_complex.h:1,
from /usr/include/mtl/matrix_traits.h:4,
from /usr/include/mtl/matrix.h:44,
from m_gamatrix.cpp:15:
/usr/lib/gcc-lib/i386-linux/2.95.4/../../../../include/g++-3/std/complext.h:314:
warning: declaration of `hypot(double, double)' throws different exceptions
/usr/include/bits/mathcalls.h:150: warning: previous declaration here
I don't know how to fix it, I'm sorry.
Regards,
Ramón.
--
----------------------------------------------------
Ramón Casero Cañas
[email protected]
Ing. de Telecomunicación.
Universidad Carlos III de Madrid
----------------------------------------------------
_______________________________________________
This list is archived at http://www.osl.iu.edu/MailArchives/mtl-devel/