This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Blitz on cygwin: tests pass but example random.cpp fails


Finally managed to build and test blitz with 3.1 on cygwin.

All the tests pass, which is great.

One example, random.cpp, fails.  The compiler output is below.
I will provide further details if required.  I may even be able
to produce a smaller test case, but not tonight.

g++ -ftemplate-depth-30 -g -DBZ_DEBUG -I./.. -c ./random.cpp
In file included from ../random/default.h:4,
                 from ../random/uniform.h:4,
                 from random.cpp:5:
../random/mt.h: In member function `void 
   ranlib::MersenneTwister::initialize()':
../random/mt.h:98: no match for `__gnu_cxx::__normal_iterator<unsigned int*, 
   std::vector<unsigned int, std::allocator<unsigned int> > >& = unsigned int*' 
   operator
/usr/local/include/g++-v3/bits/stl_iterator.h:571: candidates are: 
   __gnu_cxx::__normal_iterator<unsigned int*, std::vector<unsigned int, 
   std::allocator<unsigned int> > >& __gnu_cxx::__normal_iterator<unsigned 
   int*, std::vector<unsigned int, std::allocator<unsigned int> > 
   >::operator=(const __gnu_cxx::__normal_iterator<unsigned int*, 
   std::vector<unsigned int, std::allocator<unsigned int> > >&)
../random/mt.h: In member function `void ranlib::MersenneTwister::seed(unsigned 
   int)':
../random/mt.h:135: conversion from `unsigned int*' to non-scalar type `
   __gnu_cxx::__normal_iterator<unsigned int*, std::vector<unsigned int, 
   std::allocator<unsigned int> > >' requested
../random/mt.h: In member function `void ranlib::MersenneTwister::reload()':
../random/mt.h:153: conversion from `unsigned int*' to non-scalar type `
   __gnu_cxx::__normal_iterator<unsigned int*, std::vector<unsigned int, 
   std::allocator<unsigned int> > >' requested
../random/mt.h:157: conversion from `unsigned int*' to non-scalar type `
   __gnu_cxx::__normal_iterator<unsigned int*, std::vector<unsigned int, 
   std::allocator<unsigned int> > >' requested
../random/mt.h:160: conversion from `unsigned int*' to non-scalar type `
   __gnu_cxx::__normal_iterator<unsigned int*, std::vector<unsigned int, 
   std::allocator<unsigned int> > >' requested
../random/mt.h:164: no match for `__gnu_cxx::__normal_iterator<unsigned int*, 
   std::vector<unsigned int, std::allocator<unsigned int> > >& = unsigned int*' 
   operator
/usr/local/include/g++-v3/bits/stl_iterator.h:571: candidates are: 
   __gnu_cxx::__normal_iterator<unsigned int*, std::vector<unsigned int, 
   std::allocator<unsigned int> > >& __gnu_cxx::__normal_iterator<unsigned 
   int*, std::vector<unsigned int, std::allocator<unsigned int> > 
   >::operator=(const __gnu_cxx::__normal_iterator<unsigned int*, 
   std::vector<unsigned int, std::allocator<unsigned int> > >&)
make[1]: *** [random.o] Error 1
make[1]: Leaving directory `/usr/local/regtest/blitz-20001213/examples'


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]