[Libpqxx-general] libpqxx svn1511 fails to build

Eugene V. Lyubimkin jackyf.devel at gmail.com
Sat Jan 31 15:43:42 UTC 2009


Hello Jeroen and others!

Current svn revision (1511) fails to build with message:

-8<-
 x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I../../../include -I../include
-I/usr/include/postgresql -g -O2 -D_REENTRANT -Werror -Wno-div-by-zero -ffor-scope
-fstrict-aliasing -Wstrict-aliasing -funit-at-a-time -pedantic -fno-nonansi-builtins -Wall
-Wmultichar -W -Wextra -Wfloat-equal -Wundef -Wshadow -Wpointer-arith -Wcast-qual
-Wcast-align -Wconversion -Wctor-dtor-privacy -Wendif-labels -Wlogical-op
-Woverlength-strings -Wredundant-decls -Wsign-compare -Wwrite-strings -Wnon-virtual-dtor
-Wreorder -Wold-style-cast -Woverloaded-virtual -Wsign-promo -Wstrict-null-sentinel
-Wformat-security -Winit-self -Wswitch -Wmissing-field-initializers -Wmissing-include-dirs
-Wunused -funit-at-a-time -Werror -MT binarystring.lo -MD -MP -MF .deps/binarystring.Tpo
-c ../../../src/binarystring.cxx  -fPIC -DPIC -o .libs/binarystring.o
In file included from ../../../include/pqxx/util:18,
                 from ../../../include/pqxx/except.hxx:27,
                 from ../../../include/pqxx/except:19,
                 from ../../../include/pqxx/result.hxx:31,
                 from ../../../include/pqxx/result:19,
                 from ../../../include/pqxx/binarystring.hxx:26,
                 from ../../../include/pqxx/binarystring:18,
                 from ../../../src/binarystring.cxx:27:
../../../include/pqxx/util.hxx:460: error: ‘std::tr1’ has not been declared
../../../include/pqxx/util.hxx:460: error: expected `{' before ‘shared_ptr’
../../../include/pqxx/util.hxx:460: error: expected initializer before ‘<’ token
../../../include/pqxx/util.hxx:477: error: extra ‘;’
../../../include/pqxx/util.hxx:603: error: invalid use of incomplete type ‘class
pqxx::internal::PQAlloc<const pgNotify>’
../../../include/pqxx/util.hxx:460: error: declaration of ‘class
pqxx::internal::PQAlloc<const pgNotify>’
In file included from ../../../include/pqxx/result:19,
                 from ../../../include/pqxx/binarystring.hxx:26,
                 from ../../../include/pqxx/binarystring:18,
                 from ../../../src/binarystring.cxx:27:
../../../include/pqxx/result.hxx:77: error: invalid use of incomplete type ‘class
pqxx::internal::PQAlloc<pqxx::internal::result_data>’
../../../include/pqxx/util.hxx:460: error: declaration of ‘class
pqxx::internal::PQAlloc<pqxx::internal::result_data>’
../../../include/pqxx/result.hxx:105: error: invalid use of incomplete type ‘class
pqxx::internal::PQAlloc<const pqxx::internal::result_data>’
../../../include/pqxx/util.hxx:460: error: declaration of ‘class
pqxx::internal::PQAlloc<const pqxx::internal::result_data>’
../../../include/pqxx/result.hxx: In constructor ‘pqxx::result::result()’:
../../../include/pqxx/result.hxx:774: error: type ‘pqxx::internal::PQAlloc<const
pqxx::internal::result_data>’ is not a direct base of ‘pqxx::result’
../../../include/pqxx/result.hxx: In copy constructor ‘pqxx::result::result(const
pqxx::result&)’:
../../../include/pqxx/result.hxx:776: error: type ‘pqxx::internal::PQAlloc<const
pqxx::internal::result_data>’ is not a direct base of ‘pqxx::result’
../../../include/pqxx/result.hxx: In member function ‘pqxx::result&
pqxx::result::operator=(const pqxx::result&)’:
../../../include/pqxx/result.hxx:779: error: incomplete type
‘pqxx::internal::PQAlloc<const pqxx::internal::result_data>’ used in nested name specifier
../../../include/pqxx/result.hxx: In member function ‘void pqxx::result::clear()’:
../../../include/pqxx/result.hxx:812: error: incomplete type
‘pqxx::internal::PQAlloc<const pqxx::internal::result_data>’ used in nested name specifier
In file included from ../../../include/pqxx/binarystring:18,
                 from ../../../src/binarystring.cxx:27:
../../../include/pqxx/binarystring.hxx: At global scope:
../../../include/pqxx/binarystring.hxx:61: error: invalid use of incomplete type ‘class
pqxx::internal::PQAlloc<const unsigned char>’
../../../include/pqxx/util.hxx:460: error: declaration of ‘class
pqxx::internal::PQAlloc<const unsigned char>’
../../../include/pqxx/binarystring.hxx:64: error: ‘content_type’ does not name a type
../../../include/pqxx/binarystring.hxx:65: error: ‘char_type’ was not declared in this scope
../../../include/pqxx/binarystring.hxx:65: error: template argument 1 is invalid
../../../include/pqxx/binarystring.hxx:65: error: expected ‘;’ before ‘value_type’
../../../include/pqxx/binarystring.hxx:68: error: ISO C++ forbids declaration of
‘value_type’ with no type
../../../include/pqxx/binarystring.hxx:68: error: expected ‘;’ before ‘&’ token
../../../include/pqxx/binarystring.hxx:69: error: ISO C++ forbids declaration of
‘value_type’ with no type
../../../include/pqxx/binarystring.hxx:69: error: expected ‘;’ before ‘*’ token
../../../include/pqxx/binarystring.hxx:70: error: ‘const_pointer’ does not name a type
../../../include/pqxx/binarystring.hxx:73: error: ‘const_iterator’ was not declared in
this scope
../../../include/pqxx/binarystring.hxx:73: error: template argument 1 is invalid
../../../include/pqxx/binarystring.hxx:77: error: ‘value_type’ was not declared in this scope
../../../include/pqxx/binarystring.hxx:77: error: template argument 1 is invalid
../../../include/pqxx/binarystring.hxx:92: error: ‘const_iterator’ does not name a type
../../../include/pqxx/binarystring.hxx:93: error: ‘const_iterator’ does not name a type
../../../include/pqxx/binarystring.hxx:95: error: ‘const_reference’ does not name a type
../../../include/pqxx/binarystring.hxx:96: error: ‘const_reference’ does not name a type
../../../include/pqxx/binarystring.hxx:106: error: ISO C++ forbids declaration of
‘value_type’ with no type
../../../include/pqxx/binarystring.hxx:106: error: expected ‘;’ before ‘*’ token
../../../include/pqxx/binarystring.hxx:108: error: expected `;' before ‘const_reference’
../../../include/pqxx/binarystring.hxx:108: error: ISO C++ forbids declaration of
‘const_reference’ with no type
../../../include/pqxx/binarystring.hxx:108: error: expected ‘;’ before ‘operator’
../../../include/pqxx/binarystring.hxx:111: error: expected `;' before ‘bool’
../../../include/pqxx/binarystring.hxx:116: error: ‘const_reference’ does not name a type
../../../include/pqxx/binarystring.hxx: In member function ‘int
pqxx::binarystring::rbegin() const’:
../../../include/pqxx/binarystring.hxx:100: error: ‘end’ was not declared in this scope
../../../include/pqxx/binarystring.hxx: In member function ‘int pqxx::binarystring::rend()
const’:
../../../include/pqxx/binarystring.hxx:102: error: ‘begin’ was not declared in this scope
../../../include/pqxx/binarystring.hxx: In member function ‘const char*
pqxx::binarystring::get() const’:
../../../include/pqxx/binarystring.hxx:127: error: ‘super’ is not a class or namespace
../../../src/binarystring.cxx: In constructor ‘pqxx::binarystring::binarystring(const
pqxx::result::field&)’:
../../../src/binarystring.cxx:45: error: ‘typedef int pqxx::binarystring::super’ is not a
non-static data member of ‘pqxx::binarystring’
../../../src/binarystring.cxx:48: error: expected type-specifier before ‘const_iterator’
../../../src/binarystring.cxx:48: error: expected `>' before ‘const_iterator’
../../../src/binarystring.cxx:48: error: expected `(' before ‘const_iterator’
../../../src/binarystring.cxx:48: error: ‘const_iterator’ was not declared in this scope
../../../src/binarystring.cxx:54: error: invalid use of qualified-name ‘::operator=’
../../../src/binarystring.cxx:54: error: cast from ‘unsigned char*’ to ‘int’ loses precision
../../../src/binarystring.cxx: In member function ‘bool
pqxx::binarystring::operator==(const pqxx::binarystring&) const’:
../../../src/binarystring.cxx:91: error: no match for ‘operator[]’ in ‘rhs[i]’
../../../src/binarystring.cxx:91: error: ‘data’ was not declared in this scope
../../../src/binarystring.cxx: At global scope:
../../../src/binarystring.cxx:96: error: ‘const_reference’ in class ‘pqxx::binarystring’
does not name a type
../../../src/binarystring.cxx: In member function ‘void
pqxx::binarystring::swap(pqxx::binarystring&)’:
../../../src/binarystring.cxx:112: error: invalid use of qualified-name ‘::swap’
../../../src/binarystring.cxx: In function ‘std::string pqxx::escape_binary(const unsigned
char*, size_t)’:
../../../src/binarystring.cxx:132: error: variable ‘pqxx::internal::PQAlloc<unsigned char>
A’ has initializer but incomplete type
make[2]: *** [binarystring.lo] Error 1
->8-

-- 
Eugene V. Lyubimkin aka JackYF, JID: jackyf.devel(maildog)gmail.com
C++/Perl developer, Debian Maintainer

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: OpenPGP digital signature
Url : http://pgfoundry.org/pipermail/libpqxx-general/attachments/20090131/f4bb301d/attachment.bin 


More information about the Libpqxx-general mailing list