[installation on cygwin] copy_n undeclared in namespace `std'

Lemaitre Laurent-r29173 <[email protected]>
Newsgroups gmane.comp.gnu.gnucap.devel
Message-ID <E1E52DAD3F96D511AE4D00D0B77CF68A0BA1A332@zfr11exm02-bckp.sps.mot.com>
Hi All,

I tried to compile gnucap on cygwin (I downloaded
the latest version.)

I am getting the following message at compilation time:

g++ -DUNIX -O2 -DNDEBUG -I.. -I. -fno-exceptions -W -c ../m_matrix.cc
../m_matrix.cc: In member function `BSMATRIX<T>& BSMATRIX<T>::fbsub(T*, const
   T*, T*) [with T = double]':
../m_matrix.cc:438:   instantiated from here
../m_matrix.cc:410: error: `copy_n' undeclared in namespace `std'
../m_matrix.cc: In member function `BSMATRIX<T>& BSMATRIX<T>::fbsub(T*, const
   T*, T*) [with T = COMPLEX]':
../m_matrix.cc:439:   instantiated from here
../m_matrix.cc:410: error: `copy_n' undeclared in namespace `std'
make[1]: *** [m_matrix.o] Error 1

Where is copy_n defined?

Thanks,

Laurent Lemaitre
Motorola - Geneva
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.