hypot function throw specification mismatch

Gaetano Mendola gmendola at mbigroup.it
Fri Dec 12 15:53:17 UTC 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi all,
I'm evaluating the use of vsip and until today I have used the version 1.4.

Today I did an upgrade to version 2.0 but I'm obtaining the following error at compile time:


g++ -DHAVE_CONFIG_H -I. -I/home/kalman/svn_store/FastConvolution/project/linux/kdevelop/Libraries -I.. -I/home/kalman/svn_store/FastConvolution/project/linux/kdevelop/Support -Weffc++ -Wall -pedantic -O2 -g0 -MT fftfactory.lo -MD -MP -MF .deps/fftfactory.Tpo -c /home/kalman/svn_store/FastConvolution/project/linux/kdevelop/Libraries/fftfactory.cpp -fPIC -DPIC -o .libs/fftfactory.o
In file included from /usr/local/include/vsip/core/fns_elementwise.hpp:20,
from /usr/local/include/vsip/opt/expr/lf_initfini.hpp:28,
from /usr/local/include/vsip/core/block_copy.hpp:20,
from /usr/local/include/vsip/core/extdata.hpp:23,
from /usr/local/include/vsip/core/fast_block.hpp:25,
from /usr/local/include/vsip/core/fft/util.hpp:19,
from /usr/local/include/vsip/core/fft/factory.hpp:23,
from /usr/local/include/vsip/core/fft.hpp:21,
from /usr/local/include/vsip/signal.hpp:18,
from /home/kalman/svn_store/FastConvolution/project/linux/kdevelop/Libraries/fouriertransformer.h:13,
from /home/kalman/svn_store/FastConvolution/project/linux/kdevelop/Libraries/fftfactory.h:11,
from /home/kalman/svn_store/FastConvolution/project/linux/kdevelop/Libraries/fftfactory.cpp:6:
/usr/local/include/vsip/core/fns_scalar.hpp:32: error: declaration of 'double hypot(double, double)' throws different exceptions
/usr/include/bits/mathcalls.h:163: error: from previous declaration 'double hypot(double, double) throw ()'

is this a known issue?

kalman at gmendola-nb:~$ g++ --version
g++ (GCC) 4.2.4 (Ubuntu 4.2.4-1ubuntu3)
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

kalman at gmendola-nb:~$ cat /etc/issue
Ubuntu 8.04.1 \n \l



Regards
Gaetano Mendola
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJQojt7UpzwH2SGd4RAp1LAKC2XpC8U2zYczMI24R/IXWg4Var5ACguOFW
yKpkelU8XopOmU52xROGTJg=
=tJRK
-----END PGP SIGNATURE-----



More information about the vsipl++ mailing list