Hi: OS X 10.8.5 SVN 609 apl Group /Volumes/Data/Development/MyProjects/GNUAPL/apl-svn/src/PostgresArgListBuilder.cc /Volumes/Data/Development/MyProjects/GNUAPL/apl-svn/src/PostgresArgListBuilder.cc:187:31: 'operator new' is a protected member of 'Value' /Volumes/Data/Development/MyProjects/GNUAPL/apl-svn/src/PostgresArgListBuilder.cc:191:61: No matching constructor for initialization of 'PointerCell' /Volumes/Data/Development/MyProjects/GNUAPL/apl-svn/src/PostgresArgListBuilder.cc:211:69: No matching constructor for initialization of 'PointerCell' /Volumes/Data/Development/MyProjects/GNUAPL/apl-svn/src/PostgresArgListBuilder.cc:214:69: No matching constructor for initialization of 'PointerCell'
On 2015-04-18, at 1:55 PM, Juergen Sauermann <juergen.sauerm...@t-online.de> wrote: > Hi Blake, > > yes, I have inforrmed Elias already. > > I do not have PostgreSQL installed (so that I can better test the ./configure > script regarding > whether or not SQLite and PostgreSQL packages are are installed on my > machine). > > /// Jürgen > > > On 04/18/2015 05:57 PM, Blake McBride wrote: >> Getting a build error on 64 bit Linux as follows: >> >> ... >> libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I .. -I ../.. >> -I/usr/include -I/usr/include/postgresql -g -O2 -MT >> PostgresArgListBuilder.lo -MD -MP -MF .deps/PostgresArgListBuilder.Tpo -c >> PostgresArgListBuilder.cc -fPIC -DPIC -o .libs/PostgresArgListBuilder.o >> libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I .. -I ../.. >> -I/usr/include -I/usr/include/postgresql -g -O2 -MT SqliteProvider.lo -MD >> -MP -MF .deps/SqliteProvider.Tpo -c SqliteProvider.cc -o SqliteProvider.o >> >/dev/null 2>&1 >> In file included from ../Value.icc:24:0, >> from ../NamedObject.hh:25, >> from ../Function.hh:27, >> from ../Native_interface.hh:45, >> from apl-sqlite.hh:34, >> from PostgresArgListBuilder.hh:24, >> from PostgresArgListBuilder.cc:21: >> ../Value.hh: In member function 'virtual Value_P >> PostgresArgListBuilder::run_query(bool)': >> ../Value.hh:552:18: error: 'static void* Value::operator new(size_t)' is >> protected >> static void * operator new(size_t sz) >> ^ >> PostgresArgListBuilder.cc:187:53: error: within this context >> db_result_value = new Value( shape, LOC ); >> ^ >> In file included from ../Value.icc:24:0, >> from ../NamedObject.hh:25, >> from ../Function.hh:27, >> from ../Native_interface.hh:45, >> from apl-sqlite.hh:34, >> from PostgresArgListBuilder.hh:24, >> from PostgresArgListBuilder.cc:21: >> ../Value.hh:70:4: error: 'Value::Value(const Shape&, const char*)' is >> protected >> Value(const Shape & sh, const char * loc); >> ^ >> PostgresArgListBuilder.cc:187:53: error: within this context >> db_result_value = new Value( shape, LOC ); >> ^ >> In file included from ../Value.icc:24:0, >> from ../NamedObject.hh:25, >> from ../Function.hh:27, >> from ../Native_interface.hh:45, >> from apl-sqlite.hh:34, >> from PostgresArgListBuilder.hh:24, >> from PostgresArgListBuilder.cc:21: >> ../Value.hh:566:16: error: 'static void Value::operator delete(void*)' is >> protected >> static void operator delete(void * ptr) >> ^ >> PostgresArgListBuilder.cc:187:53: error: within this context >> db_result_value = new Value( shape, LOC ); >> ^ >> In file included from ../Value.icc:24:0, >> from ../NamedObject.hh:25, >> from ../Function.hh:27, >> from ../Native_interface.hh:45, >> from apl-sqlite.hh:34, >> from PostgresArgListBuilder.hh:24, >> from PostgresArgListBuilder.cc:21: >> ../Value.hh:566:16: error: 'static void Value::operator delete(void*)' is >> protected >> static void operator delete(void * ptr) >> ^ >> PostgresArgListBuilder.cc:187:53: error: within this context >> db_result_value = new Value( shape, LOC ); >> ^ >> PostgresArgListBuilder.cc:187:29: error: no match for 'operator=' (operand >> types are 'Value_P' and 'Value*') >> db_result_value = new Value( shape, LOC ); >> ^ >> PostgresArgListBuilder.cc:187:29: note: candidate is: >> In file included from ../NamedObject.hh:25:0, >> from ../Function.hh:27, >> from ../Native_interface.hh:45, >> from apl-sqlite.hh:34, >> from PostgresArgListBuilder.hh:24, >> from PostgresArgListBuilder.cc:21: >> ../Value.icc:118:18: note: Value_P& Value_P::operator=(const Value_P&) >> inline Value_P & Value_P::operator =(const Value_P & other) >> ^ >> ../Value.icc:118:18: note: no known conversion for argument 1 from >> 'Value*' to 'const Value_P&' >> PostgresArgListBuilder.cc:191:86: error: no matching function for call to >> 'PointerCell::PointerCell(Value_P)' >> new (db_result_value->next_ravel()) PointerCell( >> Idx0( LOC ) ); >> >> ^ >> PostgresArgListBuilder.cc:191:86: note: candidates are: >> In file included from ../Native_interface.hh:36:0, >> from apl-sqlite.hh:34, >> from PostgresArgListBuilder.hh:24, >> from PostgresArgListBuilder.cc:21: >> ../PointerCell.hh:36:4: note: PointerCell::PointerCell(Value_P, Value&) >> PointerCell(Value_P val, Value & cell_owner); >> ^ >> ../PointerCell.hh:36:4: note: candidate expects 2 arguments, 1 provided >> ../PointerCell.hh:32:7: note: PointerCell::PointerCell(const PointerCell&) >> class PointerCell : public Cell >> ^ >> ../PointerCell.hh:32:7: note: no known conversion for argument 1 from >> 'Value_P' to 'const PointerCell&' >> PostgresArgListBuilder.cc:211:94: error: no matching function for call to >> 'PointerCell::PointerCell(Value_P)' >> new (db_result_value->next_ravel()) >> PointerCell( Str0( LOC ) ); >> >> ^ >> PostgresArgListBuilder.cc:211:94: note: candidates are: >> In file included from ../Native_interface.hh:36:0, >> from apl-sqlite.hh:34, >> from PostgresArgListBuilder.hh:24, >> from PostgresArgListBuilder.cc:21: >> ../PointerCell.hh:36:4: note: PointerCell::PointerCell(Value_P, Value&) >> PointerCell(Value_P val, Value & cell_owner); >> ^ >> ../PointerCell.hh:36:4: note: candidate expects 2 arguments, 1 provided >> ../PointerCell.hh:32:7: note: PointerCell::PointerCell(const PointerCell&) >> class PointerCell : public Cell >> ^ >> ../PointerCell.hh:32:7: note: no known conversion for argument 1 from >> 'Value_P' to 'const PointerCell&' >> PostgresArgListBuilder.cc:214:113: error: no matching function for call to >> 'PointerCell::PointerCell(Value_P)' >> new (db_result_value->next_ravel()) >> PointerCell( make_string_cell( value, LOC ) ); >> >> ^ >> PostgresArgListBuilder.cc:214:113: note: candidates are: >> In file included from ../Native_interface.hh:36:0, >> from apl-sqlite.hh:34, >> from PostgresArgListBuilder.hh:24, >> from PostgresArgListBuilder.cc:21: >> ../PointerCell.hh:36:4: note: PointerCell::PointerCell(Value_P, Value&) >> PointerCell(Value_P val, Value & cell_owner); >> ^ >> ../PointerCell.hh:36:4: note: candidate expects 2 arguments, 1 provided >> ../PointerCell.hh:32:7: note: PointerCell::PointerCell(const PointerCell&) >> class PointerCell : public Cell >> ^ >> ../PointerCell.hh:32:7: note: no known conversion for argument 1 from >> 'Value_P' to 'const PointerCell&' >> make[3]: *** [PostgresArgListBuilder.lo] Error 1 >> make[3]: *** Waiting for unfinished jobs.... >> make[3]: Leaving directory `/home/blake/Backup/apl/src/sql' >> make[2]: *** [all-recursive] Error 1 >> make[2]: Leaving directory `/home/blake/Backup/apl/src' >> make[1]: *** [all-recursive] Error 1 >> make[1]: Leaving directory `/home/blake/Backup/apl' >> make: *** [all] Error 2 >> [ >