I found some older include files dating from July in /usr/include and
/usr/lib so I moved the newest ones in from November and went to rebuild
libpqxx. When I did the rebuild I ended up having it fail (like it always
has since the FC6 upgrade) with:
if /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H
-I../include -I../include -I/usr/include -g -O2 -Werror -MT
prepared_statement.lo -MD -MP -MF ".deps/prepared_statement.Tpo" -c -o
prepared_statement.lo prepared_statement.cxx; \
then mv -f ".deps/prepared_statement.Tpo"
".deps/prepared_statement.Plo"; else rm -f ".deps/prepared_statement.Tpo";
exit 1; fi
g++ -DHAVE_CONFIG_H -I../include -I../include -I/usr/include -g -O2 -Werror
-MT prepared_statement.lo -MD -MP -MF .deps/prepared_statement.Tpo -c
prepared_statement.cxx -o prepared_statement.o
cc1plus: warnings being treated as errors
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../../include/c++/4.1.1/bits/stl_
algobase.h: In function '_BI2 std::copy_backward(_BI1, _BI1, _BI2) [with
_BI1 =
__gnu_cxx::__normal_iterator<pqxx::prepare::internal::prepared_def::param*,
std::vector<pqxx::prepare::internal::prepared_def::param,
std::allocator<pqxx::prepare::internal::prepared_def::param> > >, _BI2 =
__gnu_cxx::__normal_iterator<pqxx::prepare::internal::prepared_def::param*,
std::vector<pqxx::prepare::internal::prepared_def::param,
std::allocator<pqxx::prepare::internal::prepared_def::param> > >]':
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../../include/c++/4.1.1/bits/vect
or.tcc:257: instantiated from 'void std::vector<_Tp,
_Alloc>::_M_insert_aux(__gnu_cxx::__normal_iterator<typename
std::_Vector_base<_Tp, _Alloc>::_Tp_alloc_type::pointer, std::vector<_Tp,
_Alloc> >, const _Tp&) [with _Tp =
pqxx::prepare::internal::prepared_def::param, _Alloc =
std::allocator<pqxx::prepare::internal::prepared_def::param>]'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../../include/c++/4.1.1/bits/stl_
vector.h:610: instantiated from 'void std::vector<_Tp,
_Alloc>::push_back(const _Tp&) [with _Tp =
pqxx::prepare::internal::prepared_def::param, _Alloc =
std::allocator<pqxx::prepare::internal::prepared_def::param>]'
prepared_statement.cxx:139: instantiated from here
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../../include/c++/4.1.1/bits/stl_
algobase.h:480: warning: lowering visibility of 'static _BI2
std::__copy_backward_normal<true, true>::copy_b_n(_BI1, _BI1, _BI2) [with
_BI1 =
__gnu_cxx::__normal_iterator<pqxx::prepare::internal::prepared_def::param*,
std::vector<pqxx::prepare::internal::prepared_def::param,
std::allocator<pqxx::prepare::internal::prepared_def::param> > >, _BI2 =
__gnu_cxx::__normal_iterator<pqxx::prepare::internal::prepared_def::param*,
std::vector<pqxx::prepare::internal::prepared_def::param,
std::allocator<pqxx::prepare::internal::prepared_def::param> > >]' to match
its type
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../../include/c++/4.1.1/bits/stl_
algobase.h: In static member function 'static _BI2
std::__copy_backward_normal<true, true>::copy_b_n(_BI1, _BI1, _BI2) [with
_BI1 =
__gnu_cxx::__normal_iterator<pqxx::prepare::internal::prepared_def::param*,
std::vector<pqxx::prepare::internal::prepared_def::param,
std::allocator<pqxx::prepare::internal::prepared_def::param> > >, _BI2 =
__gnu_cxx::__normal_iterator<pqxx::prepare::internal::prepared_def::param*,
std::vector<pqxx::prepare::internal::prepared_def::param,
std::allocator<pqxx::prepare::internal::prepared_def::param> > >]':
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../../include/c++/4.1.1/bits/stl_
algobase.h:517: instantiated from '_BI2 std::copy_backward(_BI1, _BI1,
_BI2) [with _BI1 =
__gnu_cxx::__normal_iterator<pqxx::prepare::internal::prepared_def::param*,
std::vector<pqxx::prepare::internal::prepared_def::param,
std::allocator<pqxx::prepare::internal::prepared_def::param> > >, _BI2 =
__gnu_cxx::__normal_iterator<pqxx::prepare::internal::prepared_def::param*,
std::vector<pqxx::prepare::internal::prepared_def::param,
std::allocator<pqxx::prepare::internal::prepared_def::param> > >]'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../../include/c++/4.1.1/bits/vect
or.tcc:257: instantiated from 'void std::vector<_Tp,
_Alloc>::_M_insert_aux(__gnu_cxx::__normal_iterator<typename
std::_Vector_base<_Tp, _Alloc>::_Tp_alloc_type::pointer, std::vector<_Tp,
_Alloc> >, const _Tp&) [with _Tp =
pqxx::prepare::internal::prepared_def::param, _Alloc =
std::allocator<pqxx::prepare::internal::prepared_def::param>]'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../../include/c++/4.1.1/bits/stl_
vector.h:610: instantiated from 'void std::vector<_Tp,
_Alloc>::push_back(const _Tp&) [with _Tp =
pqxx::prepare::internal::prepared_def::param, _Alloc =
std::allocator<pqxx::prepare::internal::prepared_def::param>]'
prepared_statement.cxx:139: instantiated from here
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../../include/c++/4.1.1/bits/stl_
algobase.h:480: warning: lowering visibility of 'static _BI2
std::__copy_backward_normal<true, true>::copy_b_n(_BI1, _BI1, _BI2) [with
_BI1 =
__gnu_cxx::__normal_iterator<pqxx::prepare::internal::prepared_def::param*,
std::vector<pqxx::prepare::internal::prepared_def::param,
std::allocator<pqxx::prepare::internal::prepared_def::param> > >, _BI2 =
__gnu_cxx::__normal_iterator<pqxx::prepare::internal::prepared_def::param*,
std::vector<pqxx::prepare::internal::prepared_def::param,
std::allocator<pqxx::prepare::internal::prepared_def::param> > >]' to match
its type
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../../include/c++/4.1.1/bits/stl_
algobase.h: In function '_BI2 std::__copy_backward_aux(_BI1, _BI1, _BI2)
[with _BI1 = pqxx::prepare::internal::prepared_def::param*, _BI2 =
pqxx::prepare::internal::prepared_def::param*]':
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../../include/c++/4.1.1/bits/stl_
algobase.h:482: instantiated from 'static _BI2
std::__copy_backward_normal<true, true>::copy_b_n(_BI1, _BI1, _BI2) [with
_BI1 =
__gnu_cxx::__normal_iterator<pqxx::prepare::internal::prepared_def::param*,
std::vector<pqxx::prepare::internal::prepared_def::param,
std::allocator<pqxx::prepare::internal::prepared_def::param> > >, _BI2 =
__gnu_cxx::__normal_iterator<pqxx::prepare::internal::prepared_def::param*,
std::vector<pqxx::prepare::internal::prepared_def::param,
std::allocator<pqxx::prepare::internal::prepared_def::param> > >]'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../../include/c++/4.1.1/bits/stl_
algobase.h:517: instantiated from '_BI2 std::copy_backward(_BI1, _BI1,
_BI2) [with _BI1 =
__gnu_cxx::__normal_iterator<pqxx::prepare::internal::prepared_def::param*,
std::vector<pqxx::prepare::internal::prepared_def::param,
std::allocator<pqxx::prepare::internal::prepared_def::param> > >, _BI2 =
__gnu_cxx::__normal_iterator<pqxx::prepare::internal::prepared_def::param*,
std::vector<pqxx::prepare::internal::prepared_def::param,
std::allocator<pqxx::prepare::internal::prepared_def::param> > >]'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../../include/c++/4.1.1/bits/vect
or.tcc:257: instantiated from 'void std::vector<_Tp,
_Alloc>::_M_insert_aux(__gnu_cxx::__normal_iterator<typename
std::_Vector_base<_Tp, _Alloc>::_Tp_alloc_type::pointer, std::vector<_Tp,
_Alloc> >, const _Tp&) [with _Tp =
pqxx::prepare::internal::prepared_def::param, _Alloc =
std::allocator<pqxx::prepare::internal::prepared_def::param>]'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../../include/c++/4.1.1/bits/stl_
vector.h:610: instantiated from 'void std::vector<_Tp,
_Alloc>::push_back(const _Tp&) [with _Tp =
pqxx::prepare::internal::prepared_def::param, _Alloc =
std::allocator<pqxx::prepare::internal::prepared_def::param>]'
prepared_statement.cxx:139: instantiated from here
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../../include/c++/4.1.1/bits/stl_
algobase.h:408: warning: lowering visibility of 'static _BI2
std::__copy_backward<_BoolType,
std::random_access_iterator_tag>::copy_b(_BI1, _BI1, _BI2) [with _BI1 =
pqxx::prepare::internal::prepared_def::param*, _BI2 =
pqxx::prepare::internal::prepared_def::param*, bool _BoolType = false]' to
match its type
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../../include/c++/4.1.1/bits/stl_
algobase.h: In static member function 'static _BI2
std::__copy_backward<_BoolType,
std::random_access_iterator_tag>::copy_b(_BI1, _BI1, _BI2) [with _BI1 =
pqxx::prepare::internal::prepared_def::param*, _BI2 =
pqxx::prepare::internal::prepared_def::param*, bool _BoolType = false]':
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../../include/c++/4.1.1/bits/stl_
algobase.h:443: instantiated from '_BI2 std::__copy_backward_aux(_BI1,
_BI1, _BI2) [with _BI1 = pqxx::prepare::internal::prepared_def::param*, _BI2
= pqxx::prepare::internal::prepared_def::param*]'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../../include/c++/4.1.1/bits/stl_
algobase.h:482: instantiated from 'static _BI2
std::__copy_backward_normal<true, true>::copy_b_n(_BI1, _BI1, _BI2) [with
_BI1 =
__gnu_cxx::__normal_iterator<pqxx::prepare::internal::prepared_def::param*,
std::vector<pqxx::prepare::internal::prepared_def::param,
std::allocator<pqxx::prepare::internal::prepared_def::param> > >, _BI2 =
__gnu_cxx::__normal_iterator<pqxx::prepare::internal::prepared_def::param*,
std::vector<pqxx::prepare::internal::prepared_def::param,
std::allocator<pqxx::prepare::internal::prepared_def::param> > >]'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../../include/c++/4.1.1/bits/stl_
algobase.h:517: instantiated from '_BI2 std::copy_backward(_BI1, _BI1,
_BI2) [with _BI1 =
__gnu_cxx::__normal_iterator<pqxx::prepare::internal::prepared_def::param*,
std::vector<pqxx::prepare::internal::prepared_def::param,
std::allocator<pqxx::prepare::internal::prepared_def::param> > >, _BI2 =
__gnu_cxx::__normal_iterator<pqxx::prepare::internal::prepared_def::param*,
std::vector<pqxx::prepare::internal::prepared_def::param,
std::allocator<pqxx::prepare::internal::prepared_def::param> > >]'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../../include/c++/4.1.1/bits/vect
or.tcc:257: instantiated from 'void std::vector<_Tp,
_Alloc>::_M_insert_aux(__gnu_cxx::__normal_iterator<typename
std::_Vector_base<_Tp, _Alloc>::_Tp_alloc_type::pointer, std::vector<_Tp,
_Alloc> >, const _Tp&) [with _Tp =
pqxx::prepare::internal::prepared_def::param, _Alloc =
std::allocator<pqxx::prepare::internal::prepared_def::param>]'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../../include/c++/4.1.1/bits/stl_
vector.h:610: instantiated from 'void std::vector<_Tp,
_Alloc>::push_back(const _Tp&) [with _Tp =
pqxx::prepare::internal::prepared_def::param, _Alloc =
std::allocator<pqxx::prepare::internal::prepared_def::param>]'
prepared_statement.cxx:139: instantiated from here
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../../include/c++/4.1.1/bits/stl_
algobase.h:408: warning: lowering visibility of 'static _BI2
std::__copy_backward<_BoolType,
std::random_access_iterator_tag>::copy_b(_BI1, _BI1, _BI2) [with _BI1 =
pqxx::prepare::internal::prepared_def::param*, _BI2 =
pqxx::prepare::internal::prepared_def::param*, bool _BoolType = false]' to
match its type
make[1]: *** [prepared_statement.lo] Error 1
make[1]: Leaving directory `/root/Desktop/libpqxx-2.6.8/src'
make: *** [all-recursive] Error 1
_______________________________________________
Libpqxx-general mailing list
[email protected]
http://gborg.postgresql.org/mailman/listinfo/libpqxx-general