FreeBSD Bugzilla – Attachment 236458 Details for
Bug 266324
mail/archiveopteryx - compilation error
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
compilation log
make.log (text/plain), 289.07 KB, created by
Carlos Alberto
on 2022-09-09 16:55:55 UTC
(
hide
)
Description:
compilation log
Filename:
MIME Type:
Creator:
Carlos Alberto
Created:
2022-09-09 16:55:55 UTC
Size:
289.07 KB
patch
obsolete
>===> License MIT accepted by the user >===> archiveopteryx-3.2.0_8 depends on file: /usr/local/sbin/pkg - found >===> Fetching all distfiles required by archiveopteryx-3.2.0_8 for building >===> Extracting for archiveopteryx-3.2.0_8 >=> SHA256 Checksum OK for archiveopteryx-3.2.0.tar.bz2. >===> Patching for archiveopteryx-3.2.0_8 >===> Applying FreeBSD patches for archiveopteryx-3.2.0_8 from /usr/ports/mail/archiveopteryx/files >/usr/bin/sed -i.bak -e "s|\(C++FLAGS =\)|\1 -I/usr/local/include|g" -e"s|INSTALLROOT ?= \"\" ;|INSTALLROOT = \"/usr/ports/mail/archiveopteryx/work/stage\" ;|" /usr/ports/mail/archiveopteryx/work/archiveopteryx-3.2.0/Jamsettings >/usr/bin/sed -i.bak -e "s|\(-lcrypto\)|-L/usr/local/lib \1|g" /usr/ports/mail/archiveopteryx/work/archiveopteryx-3.2.0/server/Jamfile >===> archiveopteryx-3.2.0_8 depends on executable: jam - found >===> archiveopteryx-3.2.0_8 depends on file: /usr/local/lib/libcrypto.so.11 - found >===> archiveopteryx-3.2.0_8 depends on package: perl5>=5.32.r0<5.33 - found >===> Configuring for archiveopteryx-3.2.0_8 >===> Building for archiveopteryx-3.2.0_8 > >mkdir -p build > > >mkdir -p build/clang > > >mkdir -p build/clang/deliver > > >clang -c -o build/clang/deliver/aoxdeliver.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -pthread -O3 -Ideliver -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations deliver/aoxdeliver.cpp > > >mkdir -p build/clang/db > > >clang -c -o build/clang/db/database.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Idb -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb db/database.cpp > >In file included from db/database.cpp:10: >db/schema.h:14:14: error: base class has incomplete type > : public EventHandler > ~~~~~~~^~~~~~~~~~~~ >db/database.h:46:36: note: forward declaration of 'EventHandler' > static void checkSchema( class EventHandler * ); > ^ >db/database.cpp:544:10: error: member access into incomplete type 'EventHandler' > i->notify(); > ^ >db/database.h:46:36: note: forward declaration of 'EventHandler' > static void checkSchema( class EventHandler * ); > ^ >db/database.cpp:577:18: error: base class has incomplete type > : public EventHandler > ~~~~~~~^~~~~~~~~~~~ >db/database.h:46:36: note: forward declaration of 'EventHandler' > static void checkSchema( class EventHandler * ); > ^ >db/database.cpp:593:25: error: no matching constructor for initialization of 'Query' > q = new Query( "select not exists (select * from " > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >db/query.h:25:5: note: candidate constructor not viable: no known conversion from 'AccessChecker *' to 'EventHandler *' for 2nd argument > Query( const EString &, EventHandler * ); > ^ >db/query.h:26:5: note: candidate constructor not viable: no known conversion from 'const char[315]' to 'const PreparedStatement' for 1st argument > Query( const PreparedStatement &, EventHandler * ); > ^ >db/query.h:24:5: note: candidate constructor not viable: requires at most 1 argument, but 2 were provided > Query( EventHandler * = 0 ); > ^ >db/query.h:20:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided >class Query > ^ >4 errors generated. > >clang -c -o build/clang/db/postgres.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Idb -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb db/postgres.cpp > >In file included from db/postgres.cpp:14: >db/pgmessage.h:446:14: error: base class has incomplete type > : public EventHandler { > ~~~~~~~^~~~~~~~~~~~ >db/database.h:46:36: note: forward declaration of 'EventHandler' > static void checkSchema( class EventHandler * ); > ^ >db/postgres.cpp:73:18: error: base class has incomplete type > : public EventHandler { > ~~~~~~~^~~~~~~~~~~~ >db/database.h:46:36: note: forward declaration of 'EventHandler' > static void checkSchema( class EventHandler * ); > ^ >db/postgres.cpp:75:49: error: type 'EventHandler' is not a direct or virtual base of 'PgData::LockSpotter' > LockSpotter( uint p, Transaction * t ): EventHandler(), q( 0 ) { > ^~~~~~~~~~~~ >db/postgres.cpp:76:40: error: member access into incomplete type 'EventHandler' > setLog( new Log( t->owner()->log() ) ); > ^ >db/database.h:46:36: note: forward declaration of 'EventHandler' > static void checkSchema( class EventHandler * ); > ^ >db/postgres.cpp:76:13: error: use of undeclared identifier 'setLog' > setLog( new Log( t->owner()->log() ) ); > ^ >db/postgres.cpp:77:22: error: no matching function for call to 'log' > Scope x( log() ); > ^~~ >core/log.h:37:6: note: candidate function not viable: requires at least 1 argument, but 0 were provided >void log( const EString &, Log::Severity = Log::Info ); > ^ >db/postgres.cpp:77:19: error: no matching constructor for initialization of 'Scope' > Scope x( log() ); > ^ ~~~~~ >core/scope.h:11:7: note: candidate constructor (the implicit copy constructor) not viable: cannot convert argument of incomplete type 'void' to 'const Scope' for 1st argument >class Scope > ^ >core/scope.h:16:5: note: candidate constructor not viable: cannot convert argument of incomplete type 'void' to 'Log *' for 1st argument > Scope( Log * ); > ^ >core/scope.h:15:5: note: candidate constructor not viable: requires 0 arguments, but 1 was provided > Scope(); > ^ >db/postgres.cpp:100:21: error: no matching constructor for initialization of 'Query' > q = new Query( s, this ); > ^ ~~~~~~~ >db/query.h:25:5: note: candidate constructor not viable: no known conversion from 'PgData::LockSpotter *' to 'EventHandler *' for 2nd argument > Query( const EString &, EventHandler * ); > ^ >db/query.h:26:5: note: candidate constructor not viable: no known conversion from 'PgData::LockSpotter *' to 'EventHandler *' for 2nd argument > Query( const PreparedStatement &, EventHandler * ); > ^ >db/query.h:24:5: note: candidate constructor not viable: requires at most 1 argument, but 2 were provided > Query( EventHandler * = 0 ); > ^ >db/query.h:20:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided >class Query > ^ >8 errors generated. > >clang -c -o build/clang/db/pgmessage.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Idb -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb db/pgmessage.cpp > >In file included from db/pgmessage.cpp:3: >db/pgmessage.h:446:14: error: base class has incomplete type > : public EventHandler { > ~~~~~~~^~~~~~~~~~~~ >db/database.h:46:36: note: forward declaration of 'EventHandler' > static void checkSchema( class EventHandler * ); > ^ >db/pgmessage.cpp:15:32: error: type 'EventHandler' is not a direct or virtual base of 'CitextLookup' >CitextLookup::CitextLookup() : EventHandler() { > ^~~~~~~~~~~~ >db/pgmessage.cpp:17:13: error: no matching constructor for initialization of 'Query' > q = new Query( "select oid::int4 from pg_catalog.pg_type " > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >db/query.h:25:5: note: candidate constructor not viable: no known conversion from 'CitextLookup *' to 'EventHandler *' for 2nd argument > Query( const EString &, EventHandler * ); > ^ >db/query.h:26:5: note: candidate constructor not viable: no known conversion from 'const char[64]' to 'const PreparedStatement' for 1st argument > Query( const PreparedStatement &, EventHandler * ); > ^ >db/query.h:24:5: note: candidate constructor not viable: requires at most 1 argument, but 2 were provided > Query( EventHandler * = 0 ); > ^ >db/query.h:20:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided >class Query > ^ >3 errors generated. > >clang -c -o build/clang/db/query.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Idb -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb db/query.cpp > >In file included from db/query.cpp:13: >db/pgmessage.h:446:14: error: base class has incomplete type > : public EventHandler { > ~~~~~~~^~~~~~~~~~~~ >db/database.h:46:36: note: forward declaration of 'EventHandler' > static void checkSchema( class EventHandler * ); > ^ >db/query.cpp:561:22: error: member access into incomplete type 'EventHandler' > Scope s( d->owner->log() ); > ^ >db/database.h:46:36: note: forward declaration of 'EventHandler' > static void checkSchema( class EventHandler * ); > ^ >db/query.cpp:563:17: error: member access into incomplete type 'EventHandler' > d->owner->execute(); > ^ >db/database.h:46:36: note: forward declaration of 'EventHandler' > static void checkSchema( class EventHandler * ); > ^ >db/query.cpp:1029:21: error: member access into incomplete type 'EventHandler' > l = d->owner->log(); > ^ >db/database.h:46:36: note: forward declaration of 'EventHandler' > static void checkSchema( class EventHandler * ); > ^ >db/query.cpp:1031:36: error: member access into incomplete type 'EventHandler' > l = d->transaction->owner()->log(); > ^ >db/database.h:46:36: note: forward declaration of 'EventHandler' > static void checkSchema( class EventHandler * ); > ^ >5 errors generated. > >clang -c -o build/clang/db/transaction.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Idb -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb db/transaction.cpp > >db/transaction.cpp:42:18: error: base class has incomplete type > : public EventHandler > ~~~~~~~^~~~~~~~~~~~ >db/transaction.h:12:7: note: forward declaration of 'EventHandler' >class EventHandler; > ^ >db/transaction.cpp:58:18: error: base class has incomplete type > : public EventHandler > ~~~~~~~^~~~~~~~~~~~ >db/transaction.h:12:7: note: forward declaration of 'EventHandler' >class EventHandler; > ^ >db/transaction.cpp:167:22: error: member access into incomplete type 'EventHandler' > Scope x( d->owner->log() ); > ^ >db/transaction.h:12:7: note: forward declaration of 'EventHandler' >class EventHandler; > ^ >db/transaction.cpp:177:20: error: no matching constructor for initialization of 'Query' > b->q = new Query( "begin", b ); > ^ ~~~~~~~~~~ >db/query.h:25:5: note: candidate constructor not viable: no known conversion from 'TransactionData::BeginBouncer *' to 'EventHandler *' for 2nd argument > Query( const EString &, EventHandler * ); > ^ >db/query.h:26:5: note: candidate constructor not viable: no known conversion from 'const char[6]' to 'const PreparedStatement' for 1st argument > Query( const PreparedStatement &, EventHandler * ); > ^ >db/query.h:24:5: note: candidate constructor not viable: requires at most 1 argument, but 2 were provided > Query( EventHandler * = 0 ); > ^ >db/query.h:20:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided >class Query > ^ >db/transaction.cpp:248:22: error: member access into incomplete type 'EventHandler' > Scope x( d->owner->log() ); > ^ >db/transaction.h:12:7: note: forward declaration of 'EventHandler' >class EventHandler; > ^ >db/transaction.cpp:309:22: error: member access into incomplete type 'EventHandler' > Scope x( d->owner->log() ); > ^ >db/transaction.h:12:7: note: forward declaration of 'EventHandler' >class EventHandler; > ^ >db/transaction.cpp:373:25: error: no matching constructor for initialization of 'Query' > Query * q = new Query( "release savepoint " + d->savepoint, cb ); > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >db/query.h:25:5: note: candidate constructor not viable: no known conversion from 'TransactionData::CommitBouncer *' to 'EventHandler *' for 2nd argument > Query( const EString &, EventHandler * ); > ^ >db/query.h:26:5: note: candidate constructor not viable: no known conversion from 'TransactionData::CommitBouncer *' to 'EventHandler *' for 2nd argument > Query( const PreparedStatement &, EventHandler * ); > ^ >db/query.h:24:5: note: candidate constructor not viable: requires at most 1 argument, but 2 were provided > Query( EventHandler * = 0 ); > ^ >db/query.h:20:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided >class Query > ^ >db/transaction.cpp:381:25: error: no matching constructor for initialization of 'Query' > Query * q = new Query( "rollback", cb ); > ^ ~~~~~~~~~~~~~~ >db/query.h:25:5: note: candidate constructor not viable: no known conversion from 'TransactionData::CommitBouncer *' to 'EventHandler *' for 2nd argument > Query( const EString &, EventHandler * ); > ^ >db/query.h:26:5: note: candidate constructor not viable: no known conversion from 'const char[9]' to 'const PreparedStatement' for 1st argument > Query( const PreparedStatement &, EventHandler * ); > ^ >db/query.h:24:5: note: candidate constructor not viable: requires at most 1 argument, but 2 were provided > Query( EventHandler * = 0 ); > ^ >db/query.h:20:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided >class Query > ^ >db/transaction.cpp:513:25: error: no matching constructor for initialization of 'Query' > Query * q = new Query( "release savepoint " + d->savepoint, cb ); > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >db/query.h:25:5: note: candidate constructor not viable: no known conversion from 'TransactionData::CommitBouncer *' to 'EventHandler *' for 2nd argument > Query( const EString &, EventHandler * ); > ^ >db/query.h:26:5: note: candidate constructor not viable: no known conversion from 'TransactionData::CommitBouncer *' to 'EventHandler *' for 2nd argument > Query( const PreparedStatement &, EventHandler * ); > ^ >db/query.h:24:5: note: candidate constructor not viable: requires at most 1 argument, but 2 were provided > Query( EventHandler * = 0 ); > ^ >db/query.h:20:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided >class Query > ^ >db/transaction.cpp:520:25: error: no matching constructor for initialization of 'Query' > Query * q = new Query( "commit", cb ); > ^ ~~~~~~~~~~~~ >db/query.h:25:5: note: candidate constructor not viable: no known conversion from 'TransactionData::CommitBouncer *' to 'EventHandler *' for 2nd argument > Query( const EString &, EventHandler * ); > ^ >db/query.h:26:5: note: candidate constructor not viable: no known conversion from 'const char[7]' to 'const PreparedStatement' for 1st argument > Query( const PreparedStatement &, EventHandler * ); > ^ >db/query.h:24:5: note: candidate constructor not viable: requires at most 1 argument, but 2 were provided > Query( EventHandler * = 0 ); > ^ >db/query.h:20:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided >class Query > ^ >db/transaction.cpp:564:24: error: no matching constructor for initialization of 'Query' > b->q = new Query( "savepoint " + d->savepoint, b ); > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >db/query.h:25:5: note: candidate constructor not viable: no known conversion from 'TransactionData::BeginBouncer *' to 'EventHandler *' for 2nd argument > Query( const EString &, EventHandler * ); > ^ >db/query.h:26:5: note: candidate constructor not viable: no known conversion from 'TransactionData::BeginBouncer *' to 'EventHandler *' for 2nd argument > Query( const PreparedStatement &, EventHandler * ); > ^ >db/query.h:24:5: note: candidate constructor not viable: requires at most 1 argument, but 2 were provided > Query( EventHandler * = 0 ); > ^ >db/query.h:20:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided >class Query > ^ >db/transaction.cpp:574:24: error: no matching constructor for initialization of 'Query' > b->q = new Query( "begin", b ); > ^ ~~~~~~~~~~ >db/query.h:25:5: note: candidate constructor not viable: no known conversion from 'TransactionData::BeginBouncer *' to 'EventHandler *' for 2nd argument > Query( const EString &, EventHandler * ); > ^ >db/query.h:26:5: note: candidate constructor not viable: no known conversion from 'const char[6]' to 'const PreparedStatement' for 1st argument > Query( const PreparedStatement &, EventHandler * ); > ^ >db/query.h:24:5: note: candidate constructor not viable: requires at most 1 argument, but 2 were provided > Query( EventHandler * = 0 ); > ^ >db/query.h:20:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided >class Query > ^ >db/transaction.cpp:608:22: error: member access into incomplete type 'EventHandler' > Scope s( d->owner->log() ); > ^ >db/transaction.h:12:7: note: forward declaration of 'EventHandler' >class EventHandler; > ^ >db/transaction.cpp:610:17: error: member access into incomplete type 'EventHandler' > d->owner->execute(); > ^ >db/transaction.h:12:7: note: forward declaration of 'EventHandler' >class EventHandler; > ^ >14 errors generated. > > perl schema/list-downgrades > db/downgrades.inc < schema/downgrades ; > > >clang -c -o build/clang/db/schema.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Idb -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb db/schema.cpp > >In file included from db/schema.cpp:3: >db/schema.h:14:14: error: expected class name > : public EventHandler > ^ >db/schema.h:17:13: error: unknown type name 'EventHandler' > Schema( EventHandler *, bool = false, bool = true ); > ^ >db/schema.h:23:32: error: unknown type name 'EventHandler' > static void checkRevision( EventHandler * ); > ^ >In file included from db/schema.cpp:5: >db/schemachecker.h:10:14: error: expected class name > : public EventHandler > ^ >In file included from db/schema.cpp:12: >db/granter.h:10:14: error: base class has incomplete type > : public EventHandler > ~~~~~~~^~~~~~~~~~~~ >db/transaction.h:12:7: note: forward declaration of 'EventHandler' >class EventHandler; > ^ >db/schema.cpp:90:9: error: out-of-line definition of 'Schema' does not match any declaration in 'Schema' >Schema::Schema( EventHandler * owner, bool upgrade, bool commit ) > ^~~~~~ >db/schema.cpp:96:16: error: no matching constructor for initialization of 'Transaction' > d->t = new Transaction( this ); > ^ ~~~~ >db/transaction.h:15:7: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'Schema *' to 'const Transaction' for 1st argument >class Transaction > ^ >db/transaction.h:15:7: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'Schema *' to 'Transaction' for 1st argument >db/transaction.h:19:5: note: candidate constructor not viable: no known conversion from 'Schema *' to 'EventHandler *' for 1st argument > Transaction( EventHandler * ); > ^ >db/schema.cpp:121:14: error: out-of-line definition of 'checkRevision' does not match any declaration in 'Schema' >void Schema::checkRevision( EventHandler * owner ) > ^~~~~~~~~~~~~ >db/schema.cpp:123:22: error: no matching constructor for initialization of 'Schema' > Schema * s = new Schema( owner ); > ^ ~~~~~ >db/schema.h:13:7: note: candidate constructor (the implicit copy constructor) not viable: cannot convert argument of incomplete type 'EventHandler *' to 'const Schema' for 1st argument >class Schema > ^ >db/schema.h:13:7: note: candidate constructor (the implicit move constructor) not viable: cannot convert argument of incomplete type 'EventHandler *' to 'Schema' for 1st argument >db/schema.h:13:7: note: candidate constructor (the implicit default constructor) not viable: requires 0 arguments, but 1 was provided >db/schema.cpp:145:21: error: no matching constructor for initialization of 'Query' > new Query( "select version() as version, revision from " > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >db/query.h:25:5: note: candidate constructor not viable: no known conversion from 'Schema *' to 'EventHandler *' for 2nd argument > Query( const EString &, EventHandler * ); > ^ >db/query.h:26:5: note: candidate constructor not viable: no known conversion from 'const char[64]' to 'const PreparedStatement' for 1st argument > Query( const PreparedStatement &, EventHandler * ); > ^ >db/query.h:24:5: note: candidate constructor not viable: requires at most 1 argument, but 2 were provided > Query( EventHandler * = 0 ); > ^ >db/query.h:20:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided >class Query > ^ >db/schema.cpp:152:21: error: no matching constructor for initialization of 'Query' > new Query( "select version() as version, revision from " > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >db/query.h:25:5: note: candidate constructor not viable: no known conversion from 'Schema *' to 'EventHandler *' for 2nd argument > Query( const EString &, EventHandler * ); > ^ >db/query.h:26:5: note: candidate constructor not viable: no known conversion from 'const char[53]' to 'const PreparedStatement' for 1st argument > Query( const PreparedStatement &, EventHandler * ); > ^ >db/query.h:24:5: note: candidate constructor not viable: requires at most 1 argument, but 2 were provided > Query( EventHandler * = 0 ); > ^ >db/query.h:20:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided >class Query > ^ >db/schema.cpp:254:21: error: no matching constructor for initialization of 'Query' > new Query( "update mailstore set revision=revision+1", > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >db/query.h:25:5: note: candidate constructor not viable: no known conversion from 'Schema *' to 'EventHandler *' for 2nd argument > Query( const EString &, EventHandler * ); > ^ >db/query.h:26:5: note: candidate constructor not viable: no known conversion from 'const char[41]' to 'const PreparedStatement' for 1st argument > Query( const PreparedStatement &, EventHandler * ); > ^ >db/query.h:24:5: note: candidate constructor not viable: requires at most 1 argument, but 2 were provided > Query( EventHandler * = 0 ); > ^ >db/query.h:20:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided >class Query > ^ >db/schema.cpp:287:12: error: no member named 'notify' in 'Granter' > g->notify(); > ~ ^ >db/schema.cpp:304:31: error: no matching constructor for initialization of 'Query' > d->unparsed = new Query( "select count(*) as unparsed " > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >db/query.h:25:5: note: candidate constructor not viable: no known conversion from 'Schema *' to 'EventHandler *' for 2nd argument > Query( const EString &, EventHandler * ); > ^ >db/query.h:26:5: note: candidate constructor not viable: no known conversion from 'const char[51]' to 'const PreparedStatement' for 1st argument > Query( const PreparedStatement &, EventHandler * ); > ^ >db/query.h:24:5: note: candidate constructor not viable: requires at most 1 argument, but 2 were provided > Query( EventHandler * = 0 ); > ^ >db/query.h:20:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided >class Query > ^ >db/schema.cpp:616:20: error: no matching constructor for initialization of 'Query' > d->q = new Query( "alter table users add login2 text", this ); > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >db/query.h:25:5: note: candidate constructor not viable: no known conversion from 'Schema *' to 'EventHandler *' for 2nd argument > Query( const EString &, EventHandler * ); > ^ >db/query.h:26:5: note: candidate constructor not viable: no known conversion from 'const char[34]' to 'const PreparedStatement' for 1st argument > Query( const PreparedStatement &, EventHandler * ); > ^ >db/query.h:24:5: note: candidate constructor not viable: requires at most 1 argument, but 2 were provided > Query( EventHandler * = 0 ); > ^ >db/query.h:20:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided >class Query > ^ >db/schema.cpp:618:20: error: no matching constructor for initialization of 'Query' > d->q = new Query( "update users set login2=login", this ); > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >db/query.h:25:5: note: candidate constructor not viable: no known conversion from 'Schema *' to 'EventHandler *' for 2nd argument > Query( const EString &, EventHandler * ); > ^ >db/query.h:26:5: note: candidate constructor not viable: no known conversion from 'const char[30]' to 'const PreparedStatement' for 1st argument > Query( const PreparedStatement &, EventHandler * ); > ^ >db/query.h:24:5: note: candidate constructor not viable: requires at most 1 argument, but 2 were provided > Query( EventHandler * = 0 ); > ^ >db/query.h:20:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided >class Query > ^ >db/schema.cpp:620:20: error: no matching constructor for initialization of 'Query' > d->q = new Query( "alter table users drop login", this ); > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >db/query.h:25:5: note: candidate constructor not viable: no known conversion from 'Schema *' to 'EventHandler *' for 2nd argument > Query( const EString &, EventHandler * ); > ^ >db/query.h:26:5: note: candidate constructor not viable: no known conversion from 'const char[29]' to 'const PreparedStatement' for 1st argument > Query( const PreparedStatement &, EventHandler * ); > ^ >db/query.h:24:5: note: candidate constructor not viable: requires at most 1 argument, but 2 were provided > Query( EventHandler * = 0 ); > ^ >db/query.h:20:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided >class Query > ^ >db/schema.cpp:622:20: error: no matching constructor for initialization of 'Query' > d->q = new Query( "alter table users rename login2 to login", > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >db/query.h:25:5: note: candidate constructor not viable: no known conversion from 'Schema *' to 'EventHandler *' for 2nd argument > Query( const EString &, EventHandler * ); > ^ >db/query.h:26:5: note: candidate constructor not viable: no known conversion from 'const char[41]' to 'const PreparedStatement' for 1st argument > Query( const PreparedStatement &, EventHandler * ); > ^ >db/query.h:24:5: note: candidate constructor not viable: requires at most 1 argument, but 2 were provided > Query( EventHandler * = 0 ); > ^ >db/query.h:20:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided >class Query > ^ >db/schema.cpp:625:20: error: no matching constructor for initialization of 'Query' > d->q = new Query( "alter table users add unique(login)", > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >db/query.h:25:5: note: candidate constructor not viable: no known conversion from 'Schema *' to 'EventHandler *' for 2nd argument > Query( const EString &, EventHandler * ); > ^ >db/query.h:26:5: note: candidate constructor not viable: no known conversion from 'const char[36]' to 'const PreparedStatement' for 1st argument > Query( const PreparedStatement &, EventHandler * ); > ^ >db/query.h:24:5: note: candidate constructor not viable: requires at most 1 argument, but 2 were provided > Query( EventHandler * = 0 ); > ^ >db/query.h:20:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided >class Query > ^ >fatal error: too many errors emitted, stopping now [-ferror-limit=] >20 errors generated. > >clang -c -o build/clang/db/dbsignal.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Idb -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb db/dbsignal.cpp > >db/dbsignal.cpp:46:10: error: member access into incomplete type 'EventHandler' > owner->setLog( d->l ); > ^ >db/dbsignal.h:8:7: note: forward declaration of 'EventHandler' >class EventHandler; > ^ >db/dbsignal.cpp:70:20: error: member access into incomplete type 'EventHandler' > s->d->o->notify(); > ^ >db/dbsignal.h:8:7: note: forward declaration of 'EventHandler' >class EventHandler; > ^ >2 errors generated. > > perl schema/list-privileges > db/privileges.inc ; > > >clang -c -o build/clang/db/granter.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Idb -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb db/granter.cpp > >In file included from db/granter.cpp:3: >db/granter.h:10:14: error: expected class name > : public EventHandler > ^ >db/granter.h:13:20: error: unknown type name 'EString' > Granter( const EString &, class Transaction * ); > ^ >db/granter.cpp:44:10: error: out-of-line definition of 'Granter' does not match any declaration in 'Granter' >Granter::Granter( const EString & name, Transaction * t ) > ^~~~~~~ >db/granter.cpp:48:31: error: cannot initialize a parameter of type 'EventHandler *' with an rvalue of type 'Granter *' > d->t = t->subTransaction( this ); > ^~~~ >db/transaction.h:46:50: note: passing argument to parameter here > Transaction * subTransaction( EventHandler * ); > ^ >db/granter.cpp:55:20: error: no matching constructor for initialization of 'Query' > d->q = new Query( > ^ >db/query.h:25:5: note: candidate constructor not viable: no known conversion from 'Granter *' to 'EventHandler *' for 2nd argument > Query( const EString &, EventHandler * ); > ^ >db/query.h:26:5: note: candidate constructor not viable: no known conversion from 'const char[418]' to 'const PreparedStatement' for 1st argument > Query( const PreparedStatement &, EventHandler * ); > ^ >db/query.h:24:5: note: candidate constructor not viable: requires at most 1 argument, but 2 were provided > Query( EventHandler * = 0 ); > ^ >db/query.h:20:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided >class Query > ^ >5 errors generated. > >clang -c -o build/clang/db/schemachecker.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Idb -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb db/schemachecker.cpp > >In file included from db/schemachecker.cpp:3: >db/schemachecker.h:10:14: error: expected class name > : public EventHandler > ^ >db/schemachecker.cpp:41:7: error: type 'EventHandler' is not a direct or virtual base of 'SchemaChecker' > : EventHandler(), d( new SchemaCheckerData ) > ^~~~~~~~~~~~ >db/schemachecker.cpp:43:31: error: cannot initialize a parameter of type 'EventHandler *' with an rvalue of type 'SchemaChecker *' > d->t = t->subTransaction( this ); > ^~~~ >db/transaction.h:46:50: note: passing argument to parameter here > Transaction * subTransaction( EventHandler * ); > ^ >db/schemachecker.cpp:44:5: error: use of undeclared identifier 'setLog' > setLog( new Log ); > ^ >db/schemachecker.cpp:89:22: error: no matching constructor for initialization of 'Query' > d->columns = new Query( "select a.attname as column, " > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >db/query.h:25:5: note: candidate constructor not viable: no known conversion from 'SchemaChecker *' to 'EventHandler *' for 2nd argument > Query( const EString &, EventHandler * ); > ^ >db/query.h:26:5: note: candidate constructor not viable: no known conversion from 'const char[417]' to 'const PreparedStatement' for 1st argument > Query( const PreparedStatement &, EventHandler * ); > ^ >db/query.h:24:5: note: candidate constructor not viable: requires at most 1 argument, but 2 were provided > Query( EventHandler * = 0 ); > ^ >db/query.h:20:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided >class Query > ^ >5 errors generated. > >mkdir -p build/clang/message > > >clang -c -o build/clang/message/multipart.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Imessage -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations message/multipart.cpp > > >clang -c -o build/clang/message/message.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Imessage -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations message/message.cpp > >In file included from message/message.cpp:16: >message/flag.h:14:14: error: base class has incomplete type > : public EventHandler > ~~~~~~~^~~~~~~~~~~~ >message/message.h:11:7: note: forward declaration of 'EventHandler' >class EventHandler; > ^ >1 error generated. > >clang -c -o build/clang/message/bodypart.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Imessage -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations message/bodypart.cpp > > >clang -c -o build/clang/message/header.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Imessage -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations message/header.cpp > > >clang -c -o build/clang/message/parser.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Imessage -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations message/parser.cpp > > >clang -c -o build/clang/message/field.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Imessage -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations message/field.cpp > > >clang -c -o build/clang/message/mimefields.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Imessage -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations message/mimefields.cpp > > >clang -c -o build/clang/message/datefield.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Imessage -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations message/datefield.cpp > > >clang -c -o build/clang/message/addressfield.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Imessage -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations message/addressfield.cpp > > > sed -e 's/;.*//' < message/root.zone -e 's/\. / /' | \ > expand -8 | \ > tr '[A-Z]' '[a-z]' | \ > awk '/. ns / {print "{ " length($1) ", \"" $1 "\" },\n" }' | \ > sort -u | \ > sort -nrs -k2 > message/tld.inc > > >clang -c -o build/clang/message/address.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Imessage -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations message/address.cpp > > >clang -c -o build/clang/message/date.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Imessage -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations message/date.cpp > > >clang -c -o build/clang/message/flag.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Imessage -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations message/flag.cpp > >In file included from message/flag.cpp:3: >message/flag.h:14:14: error: expected class name > : public EventHandler > ^ >message/flag.cpp:48:7: error: type 'EventHandler' is not a direct or virtual base of 'Flag' > : EventHandler(), d( new FlagData( this ) ) > ^~~~~~~~~~~~ >message/flag.cpp:50:5: error: use of undeclared identifier 'setLog' > setLog( new Log ); > ^ >message/flag.cpp:61:20: error: no matching constructor for initialization of 'Query' > d->q = new Query( "select id, name from flag_names where id > $1", > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >db/query.h:25:5: note: candidate constructor not viable: no known conversion from 'Flag *' to 'EventHandler *' for 2nd argument > Query( const EString &, EventHandler * ); > ^ >db/query.h:26:5: note: candidate constructor not viable: no known conversion from 'const char[46]' to 'const PreparedStatement' for 1st argument > Query( const PreparedStatement &, EventHandler * ); > ^ >db/query.h:24:5: note: candidate constructor not viable: requires at most 1 argument, but 2 were provided > Query( EventHandler * = 0 ); > ^ >db/query.h:20:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided >class Query > ^ >4 errors generated. > >clang -c -o build/clang/message/injector.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Imessage -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations message/injector.cpp > >In file included from message/injector.cpp:3: >message/injector.h:49:14: error: base class has incomplete type > : public EventHandler > ~~~~~~~^~~~~~~~~~~~ >message/message.h:11:7: note: forward declaration of 'EventHandler' >class EventHandler; > ^ >In file included from message/injector.cpp:7: >message/flag.h:14:14: error: base class has incomplete type > : public EventHandler > ~~~~~~~^~~~~~~~~~~~ >message/message.h:11:7: note: forward declaration of 'EventHandler' >class EventHandler; > ^ >In file included from message/injector.cpp:18: >message/helperrowcreator.h:14:14: error: base class has incomplete type > : public EventHandler > ~~~~~~~^~~~~~~~~~~~ >message/message.h:11:7: note: forward declaration of 'EventHandler' >class EventHandler; > ^ >message/injector.cpp:315:45: error: cannot initialize a parameter of type 'EventHandler *' with an rvalue of type 'Injector *' > d->transaction = t->subTransaction( this ); > ^~~~ >db/transaction.h:46:50: note: passing argument to parameter here > Transaction * subTransaction( EventHandler * ); > ^ >message/injector.cpp:321:14: error: no matching function for call to 'log' > Scope x( log() ); > ^~~ >core/log.h:37:6: note: candidate function not viable: requires at least 1 argument, but 0 were provided >void log( const EString &, Log::Severity = Log::Info ); > ^ >message/injector.cpp:321:11: error: no matching constructor for initialization of 'Scope' > Scope x( log() ); > ^ ~~~~~ >core/scope.h:11:7: note: candidate constructor (the implicit copy constructor) not viable: cannot convert argument of incomplete type 'void' to 'const Scope' for 1st argument >class Scope > ^ >core/scope.h:16:5: note: candidate constructor not viable: cannot convert argument of incomplete type 'void' to 'Log *' for 1st argument > Scope( Log * ); > ^ >core/scope.h:15:5: note: candidate constructor not viable: requires 0 arguments, but 1 was provided > Scope(); > ^ >message/injector.cpp:343:42: error: no matching constructor for initialization of 'Transaction' > d->transaction = new Transaction( this ); > ^ ~~~~ >db/transaction.h:15:7: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'Injector *' to 'const Transaction' for 1st argument >class Transaction > ^ >db/transaction.h:15:7: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'Injector *' to 'Transaction' for 1st argument >db/transaction.h:19:5: note: candidate constructor not viable: no known conversion from 'Injector *' to 'EventHandler *' for 1st argument > Transaction( EventHandler * ); > ^ >message/injector.cpp:687:13: error: incompatible pointer types assigning to 'HelperRowCreator *' from 'FieldNameCreator *' > new FieldNameCreator( d->fields, d->transaction ); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >message/injector.cpp:692:26: error: incompatible pointer types assigning to 'HelperRowCreator *' from 'FlagCreator *' > d->flagCreator = new FlagCreator( d->flags, d->transaction ); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >message/injector.cpp:698:13: error: incompatible pointer types assigning to 'HelperRowCreator *' from 'AnnotationNameCreator *' > new AnnotationNameCreator( d->annotationNames, d->transaction ); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >message/injector.cpp:763:30: error: no matching constructor for initialization of 'Query' > d->findParents = new Query( "", this ); > ^ ~~~~~~~~ >db/query.h:25:5: note: candidate constructor not viable: no known conversion from 'Injector *' to 'EventHandler *' for 2nd argument > Query( const EString &, EventHandler * ); > ^ >db/query.h:26:5: note: candidate constructor not viable: no known conversion from 'const char[1]' to 'const PreparedStatement' for 1st argument > Query( const PreparedStatement &, EventHandler * ); > ^ >db/query.h:24:5: note: candidate constructor not viable: requires at most 1 argument, but 2 were provided > Query( EventHandler * = 0 ); > ^ >db/query.h:20:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided >class Query > ^ >message/injector.cpp:815:33: error: no matching constructor for initialization of 'Query' > d->findReferences = new Query( "select message, value " > ^ ~~~~~~~~~~~~~~~~~~~~~~~~ >db/query.h:25:5: note: candidate constructor not viable: no known conversion from 'Injector *' to 'EventHandler *' for 2nd argument > Query( const EString &, EventHandler * ); > ^ >db/query.h:26:5: note: candidate constructor not viable: no known conversion from 'Injector *' to 'EventHandler *' for 2nd argument > Query( const PreparedStatement &, EventHandler * ); > ^ >db/query.h:24:5: note: candidate constructor not viable: requires at most 1 argument, but 2 were provided > Query( EventHandler * = 0 ); > ^ >db/query.h:20:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided >class Query > ^ >message/injector.cpp:928:27: error: no matching constructor for initialization of 'Query' > d->findBlah = new Query( "select message " > ^ ~~~~~~~~~~~~~~~~~ >db/query.h:25:5: note: candidate constructor not viable: no known conversion from 'Injector *' to 'EventHandler *' for 2nd argument > Query( const EString &, EventHandler * ); > ^ >db/query.h:26:5: note: candidate constructor not viable: no known conversion from 'const char[70]' to 'const PreparedStatement' for 1st argument > Query( const PreparedStatement &, EventHandler * ); > ^ >db/query.h:24:5: note: candidate constructor not viable: requires at most 1 argument, but 2 were provided > Query( EventHandler * = 0 ); > ^ >db/query.h:20:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided >class Query > ^ >message/injector.cpp:947:19: error: no matching constructor for initialization of 'Query' > = new Query( "select message, field, value " > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >db/query.h:25:5: note: candidate constructor not viable: no known conversion from 'Injector *' to 'EventHandler *' for 2nd argument > Query( const EString &, EventHandler * ); > ^ >db/query.h:26:5: note: candidate constructor not viable: no known conversion from 'Injector *' to 'EventHandler *' for 2nd argument > Query( const PreparedStatement &, EventHandler * ); > ^ >db/query.h:24:5: note: candidate constructor not viable: requires at most 1 argument, but 2 were provided > Query( EventHandler * = 0 ); > ^ >db/query.h:20:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided >class Query > ^ >message/injector.cpp:1101:5: error: cannot initialize object parameter of type 'HelperRowCreator' with an expression of type 'ThreadRootCreator' > d->threads->execute(); > ^~~~~~~~~~ >message/injector.cpp:1142:21: error: no matching constructor for initialization of 'Query' > new Query( "copy bp (bytes,hash,text,data,i) " > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >db/query.h:25:5: note: candidate constructor not viable: no known conversion from 'Injector *' to 'EventHandler *' for 2nd argument > Query( const EString &, EventHandler * ); > ^ >db/query.h:26:5: note: candidate constructor not viable: no known conversion from 'const char[56]' to 'const PreparedStatement' for 1st argument > Query( const PreparedStatement &, EventHandler * ); > ^ >db/query.h:24:5: note: candidate constructor not viable: requires at most 1 argument, but 2 were provided > Query( EventHandler * = 0 ); > ^ >db/query.h:20:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided >class Query > ^ >message/injector.cpp:1168:65: error: cannot initialize a parameter of type 'EventHandler *' with an rvalue of type 'Injector *' > d->subtransaction = d->transaction->subTransaction( this ); > ^~~~ >db/transaction.h:46:50: note: passing argument to parameter here > Transaction * subTransaction( EventHandler * ); > ^ >message/injector.cpp:1185:21: error: no matching constructor for initialization of 'Query' > new Query( "insert into bodyparts " > ^ ~~~~~~~~~~~~~~~~~~~~~~~~ >db/query.h:25:5: note: candidate constructor not viable: no known conversion from 'Injector *' to 'EventHandler *' for 2nd argument > Query( const EString &, EventHandler * ); > ^ >db/query.h:26:5: note: candidate constructor not viable: no known conversion from 'const char[96]' to 'const PreparedStatement' for 1st argument > Query( const PreparedStatement &, EventHandler * ); > ^ >db/query.h:24:5: note: candidate constructor not viable: requires at most 1 argument, but 2 were provided > Query( EventHandler * = 0 ); > ^ >db/query.h:20:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided >class Query > ^ >message/injector.cpp:1212:25: error: no matching constructor for initialization of 'Query' > new Query( "select bid from bp order by i", this ); > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >db/query.h:25:5: note: candidate constructor not viable: no known conversion from 'Injector *' to 'EventHandler *' for 2nd argument > Query( const EString &, EventHandler * ); > ^ >db/query.h:26:5: note: candidate constructor not viable: no known conversion from 'const char[30]' to 'const PreparedStatement' for 1st argument > Query( const PreparedStatement &, EventHandler * ); > ^ >db/query.h:24:5: note: candidate constructor not viable: requires at most 1 argument, but 2 were provided > Query( EventHandler * = 0 ); > ^ >db/query.h:20:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided >class Query > ^ >fatal error: too many errors emitted, stopping now [-ferror-limit=] >20 errors generated. > >clang -c -o build/clang/message/fetcher.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Imessage -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations message/fetcher.cpp > >In file included from message/fetcher.cpp:3: >message/fetcher.h:20:14: error: expected class name > : public EventHandler > ^ >message/fetcher.h:23:31: error: unknown type name 'EventHandler' > Fetcher( List<Message> *, EventHandler *, Connection * ); > ^ >message/fetcher.h:25:25: error: unknown type name 'EventHandler' > Fetcher( Message *, EventHandler * ); > ^ >message/fetcher.cpp:160:10: error: out-of-line definition of 'Fetcher' does not match any declaration in 'Fetcher' >Fetcher::Fetcher( List<Message> * messages, EventHandler * e, > ^~~~~~~ >message/fetcher.cpp:162:7: error: type 'EventHandler' is not a direct or virtual base of 'Fetcher' > : EventHandler(), d( new FetcherData ) > ^~~~~~~~~~~~ >message/fetcher.cpp:164:5: error: use of undeclared identifier 'setLog' > setLog( new Log ); > ^ >message/fetcher.cpp:179:10: error: out-of-line definition of 'Fetcher' does not match any declaration in 'Fetcher' >Fetcher::Fetcher( Message * m, EventHandler * owner ) > ^~~~~~~ >message/fetcher.cpp:180:7: error: type 'EventHandler' is not a direct or virtual base of 'Fetcher' > : EventHandler(), d( new FetcherData ) > ^~~~~~~~~~~~ >message/fetcher.cpp:182:5: error: use of undeclared identifier 'setLog' > setLog( new Log ); > ^ >message/fetcher.cpp:205:14: error: no matching function for call to 'log' > Scope x( log() ); > ^~~ >core/log.h:37:6: note: candidate function not viable: requires at least 1 argument, but 0 were provided >void log( const EString &, Log::Severity = Log::Info ); > ^ >message/fetcher.cpp:205:11: error: no matching constructor for initialization of 'Scope' > Scope x( log() ); > ^ ~~~~~ >core/scope.h:11:7: note: candidate constructor (the implicit copy constructor) not viable: cannot convert argument of incomplete type 'void' to 'const Scope' for 1st argument >class Scope > ^ >core/scope.h:16:5: note: candidate constructor not viable: cannot convert argument of incomplete type 'void' to 'Log *' for 1st argument > Scope( Log * ); > ^ >core/scope.h:15:5: note: candidate constructor not viable: requires 0 arguments, but 1 was provided > Scope(); > ^ >message/fetcher.cpp:229:14: error: no matching function for call to 'log' > Scope x( log() ); > ^~~ >core/log.h:37:6: note: candidate function not viable: requires at least 1 argument, but 0 were provided >void log( const EString &, Log::Severity = Log::Info ); > ^ >message/fetcher.cpp:229:11: error: no matching constructor for initialization of 'Scope' > Scope x( log() ); > ^ ~~~~~ >core/scope.h:11:7: note: candidate constructor (the implicit copy constructor) not viable: cannot convert argument of incomplete type 'void' to 'const Scope' for 1st argument >class Scope > ^ >core/scope.h:16:5: note: candidate constructor not viable: cannot convert argument of incomplete type 'void' to 'Log *' for 1st argument > Scope( Log * ); > ^ >core/scope.h:15:5: note: candidate constructor not viable: requires 0 arguments, but 1 was provided > Scope(); > ^ >message/fetcher.cpp:366:19: error: no matching constructor for initialization of 'Timer' > (void)new Timer( this, 2 ); > ^ ~~~~~~~ >server/timer.h:14:5: note: candidate constructor not viable: no known conversion from 'Fetcher *' to 'class EventHandler *' for 1st argument > Timer( class EventHandler *, uint ); > ^ >server/timer.h:10:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided >class Timer > ^ >message/fetcher.cpp:853:14: error: no matching function for call to 'log' > Scope x( log() ); > ^~~ >core/log.h:37:6: note: candidate function not viable: requires at least 1 argument, but 0 were provided >void log( const EString &, Log::Severity = Log::Info ); > ^ >message/fetcher.cpp:853:11: error: no matching constructor for initialization of 'Scope' > Scope x( log() ); > ^ ~~~~~ >core/scope.h:11:7: note: candidate constructor (the implicit copy constructor) not viable: cannot convert argument of incomplete type 'void' to 'const Scope' for 1st argument >class Scope > ^ >core/scope.h:16:5: note: candidate constructor not viable: cannot convert argument of incomplete type 'void' to 'Log *' for 1st argument > Scope( Log * ); > ^ >core/scope.h:15:5: note: candidate constructor not viable: requires 0 arguments, but 1 was provided > Scope(); > ^ >message/fetcher.cpp:914:14: error: no matching function for call to 'log' > Scope x( log() ); > ^~~ >core/log.h:37:6: note: candidate function not viable: requires at least 1 argument, but 0 were provided >void log( const EString &, Log::Severity = Log::Info ); > ^ >message/fetcher.cpp:914:11: error: no matching constructor for initialization of 'Scope' > Scope x( log() ); > ^ ~~~~~ >core/scope.h:11:7: note: candidate constructor (the implicit copy constructor) not viable: cannot convert argument of incomplete type 'void' to 'const Scope' for 1st argument >class Scope > ^ >core/scope.h:16:5: note: candidate constructor not viable: cannot convert argument of incomplete type 'void' to 'Log *' for 1st argument > Scope( Log * ); > ^ >core/scope.h:15:5: note: candidate constructor not viable: requires 0 arguments, but 1 was provided > Scope(); > ^ >message/fetcher.cpp:915:41: error: cannot initialize a parameter of type 'EventHandler *' with an rvalue of type 'Fetcher *' > d->transaction = t->subTransaction( this ); > ^~~~ >db/transaction.h:46:50: note: passing argument to parameter here > Transaction * subTransaction( EventHandler * ); > ^ >19 errors generated. > >clang -c -o build/clang/message/annotation.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Imessage -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations message/annotation.cpp > > >clang -c -o build/clang/message/dsn.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Imessage -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations message/dsn.cpp > >In file included from message/dsn.cpp:7: >message/injector.h:49:14: error: base class has incomplete type > : public EventHandler > ~~~~~~~^~~~~~~~~~~~ >message/message.h:11:7: note: forward declaration of 'EventHandler' >class EventHandler; > ^ >1 error generated. > >clang -c -o build/clang/message/recipient.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Imessage -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations message/recipient.cpp > > >clang -c -o build/clang/message/listidfield.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Imessage -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations message/listidfield.cpp > > >clang -c -o build/clang/message/messagecache.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Imessage -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations message/messagecache.cpp > > >clang -c -o build/clang/message/helperrowcreator.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Imessage -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations message/helperrowcreator.cpp > >In file included from message/helperrowcreator.cpp:3: >In file included from message/helperrowcreator.h:6: >message/injector.h:49:14: error: base class has incomplete type > : public EventHandler > ~~~~~~~^~~~~~~~~~~~ >message/message.h:11:7: note: forward declaration of 'EventHandler' >class EventHandler; > ^ >In file included from message/helperrowcreator.cpp:3: >message/helperrowcreator.h:14:14: error: base class has incomplete type > : public EventHandler > ~~~~~~~^~~~~~~~~~~~ >message/message.h:11:7: note: forward declaration of 'EventHandler' >class EventHandler; > ^ >In file included from message/helperrowcreator.cpp:11: >message/flag.h:14:14: error: base class has incomplete type > : public EventHandler > ~~~~~~~^~~~~~~~~~~~ >message/message.h:11:7: note: forward declaration of 'EventHandler' >class EventHandler; > ^ >message/helperrowcreator.cpp:60:7: error: type 'EventHandler' is not a direct or virtual base of 'HelperRowCreator' > : EventHandler(), d( new HelperRowCreatorData ) > ^~~~~~~~~~~~ >message/helperrowcreator.cpp:62:5: error: use of undeclared identifier 'setLog' > setLog( new Log ); > ^ >message/helperrowcreator.cpp:81:14: error: no matching function for call to 'log' > Scope x( log() ); > ^~~ >core/log.h:37:6: note: candidate function not viable: requires at least 1 argument, but 0 were provided >void log( const EString &, Log::Severity = Log::Info ); > ^ >message/helperrowcreator.cpp:81:11: error: no matching constructor for initialization of 'Scope' > Scope x( log() ); > ^ ~~~~~ >core/scope.h:11:7: note: candidate constructor (the implicit copy constructor) not viable: cannot convert argument of incomplete type 'void' to 'const Scope' for 1st argument >class Scope > ^ >core/scope.h:16:5: note: candidate constructor not viable: cannot convert argument of incomplete type 'void' to 'Log *' for 1st argument > Scope( Log * ); > ^ >core/scope.h:15:5: note: candidate constructor not viable: requires 0 arguments, but 1 was provided > Scope(); > ^ >message/helperrowcreator.cpp:95:55: error: cannot initialize a parameter of type 'EventHandler *' with an rvalue of type 'HelperRowCreator *' > d->t = d->parent->subTransaction( this ); > ^~~~ >db/transaction.h:46:50: note: passing argument to parameter here > Transaction * subTransaction( EventHandler * ); > ^ >message/helperrowcreator.cpp:115:33: error: no matching constructor for initialization of 'Query' > Query * q = new Query( "notify " + ed, this ); > ^ ~~~~~~~~~~~~~~~~~~~~ >db/query.h:25:5: note: candidate constructor not viable: no known conversion from 'HelperRowCreator *' to 'EventHandler *' for 2nd argument > Query( const EString &, EventHandler * ); > ^ >db/query.h:26:5: note: candidate constructor not viable: no known conversion from 'HelperRowCreator *' to 'EventHandler *' for 2nd argument > Query( const PreparedStatement &, EventHandler * ); > ^ >db/query.h:24:5: note: candidate constructor not viable: requires at most 1 argument, but 2 were provided > Query( EventHandler * = 0 ); > ^ >db/query.h:20:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided >class Query > ^ >message/helperrowcreator.cpp:258:21: error: no matching constructor for initialization of 'Query' > Query * s = new Query( "select id, name from flag_names where " > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >db/query.h:25:5: note: candidate constructor not viable: no known conversion from 'FlagCreator *' to 'EventHandler *' for 2nd argument > Query( const EString &, EventHandler * ); > ^ >db/query.h:26:5: note: candidate constructor not viable: no known conversion from 'const char[66]' to 'const PreparedStatement' for 1st argument > Query( const PreparedStatement &, EventHandler * ); > ^ >db/query.h:24:5: note: candidate constructor not viable: requires at most 1 argument, but 2 were provided > Query( EventHandler * = 0 ); > ^ >db/query.h:20:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided >class Query > ^ >message/helperrowcreator.cpp:265:14: error: cannot initialize object parameter of type 'HelperRowCreator' with an expression of type 'FlagCreator' > if ( id( name ) == 0 && Flag::id( name ) == 0 ) > ^~ >message/helperrowcreator.cpp:280:21: error: no matching constructor for initialization of 'Query' > Query * c = new Query( "copy flag_names (name) from stdin with binary", > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >db/query.h:25:5: note: candidate constructor not viable: no known conversion from 'FlagCreator *' to 'EventHandler *' for 2nd argument > Query( const EString &, EventHandler * ); > ^ >db/query.h:26:5: note: candidate constructor not viable: no known conversion from 'const char[46]' to 'const PreparedStatement' for 1st argument > Query( const PreparedStatement &, EventHandler * ); > ^ >db/query.h:24:5: note: candidate constructor not viable: requires at most 1 argument, but 2 were provided > Query( EventHandler * = 0 ); > ^ >db/query.h:20:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided >class Query > ^ >message/helperrowcreator.cpp:285:14: error: cannot initialize object parameter of type 'HelperRowCreator' with an expression of type 'FlagCreator' > if ( id( *it ) == 0 && Flag::id( *it ) == 0 ) { > ^~ >message/helperrowcreator.cpp:329:21: error: no matching constructor for initialization of 'Query' > Query * q = new Query( "select id, name from field_names where " > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >db/query.h:25:5: note: candidate constructor not viable: no known conversion from 'FieldNameCreator *' to 'EventHandler *' for 2nd argument > Query( const EString &, EventHandler * ); > ^ >db/query.h:26:5: note: candidate constructor not viable: no known conversion from 'const char[60]' to 'const PreparedStatement' for 1st argument > Query( const PreparedStatement &, EventHandler * ); > ^ >db/query.h:24:5: note: candidate constructor not viable: requires at most 1 argument, but 2 were provided > Query( EventHandler * = 0 ); > ^ >db/query.h:20:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided >class Query > ^ >message/helperrowcreator.cpp:335:15: error: cannot initialize object parameter of type 'HelperRowCreator' with an expression of type 'FieldNameCreator' > if ( !id( *it ) ) > ^~ >message/helperrowcreator.cpp:349:21: error: no matching constructor for initialization of 'Query' > Query * q = new Query( "copy field_names (name) from stdin with binary", > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >db/query.h:25:5: note: candidate constructor not viable: no known conversion from 'FieldNameCreator *' to 'EventHandler *' for 2nd argument > Query( const EString &, EventHandler * ); > ^ >db/query.h:26:5: note: candidate constructor not viable: no known conversion from 'const char[47]' to 'const PreparedStatement' for 1st argument > Query( const PreparedStatement &, EventHandler * ); > ^ >db/query.h:24:5: note: candidate constructor not viable: requires at most 1 argument, but 2 were provided > Query( EventHandler * = 0 ); > ^ >db/query.h:20:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided >class Query > ^ >message/helperrowcreator.cpp:354:15: error: cannot initialize object parameter of type 'HelperRowCreator' with an expression of type 'FieldNameCreator' > if ( !id( *it ) ) { > ^~ >message/helperrowcreator.cpp:389:21: error: no matching constructor for initialization of 'Query' > Query * q = new Query( "select id, name from annotation_names where " > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >db/query.h:25:5: note: candidate constructor not viable: no known conversion from 'AnnotationNameCreator *' to 'EventHandler *' for 2nd argument > Query( const EString &, EventHandler * ); > ^ >db/query.h:26:5: note: candidate constructor not viable: no known conversion from 'const char[65]' to 'const PreparedStatement' for 1st argument > Query( const PreparedStatement &, EventHandler * ); > ^ >db/query.h:24:5: note: candidate constructor not viable: requires at most 1 argument, but 2 were provided > Query( EventHandler * = 0 ); > ^ >db/query.h:20:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided >class Query > ^ >message/helperrowcreator.cpp:396:14: error: cannot initialize object parameter of type 'HelperRowCreator' with an expression of type 'AnnotationNameCreator' > if ( id( name ) == 0 ) > ^~ >fatal error: too many errors emitted, stopping now [-ferror-limit=] >20 errors generated. > >mkdir -p build/clang/server > > >clang -c -o build/clang/server/connection.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Iserver -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations server/connection.cpp > > >clang -c -o build/clang/server/endpoint.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Iserver -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations server/endpoint.cpp > > >clang -c -o build/clang/server/event.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Iserver -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations server/event.cpp > > >clang -c -o build/clang/server/logclient.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Iserver -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations server/logclient.cpp > > >clang -c -o build/clang/server/eventloop.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Iserver -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations server/eventloop.cpp > > >clang -c -o build/clang/server/server.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -DUSECACHE=1 -Iserver -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations server/server.cpp > > >clang -c -o build/clang/server/timer.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Iserver -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations server/timer.cpp > > >clang -c -o build/clang/server/resolver.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Iserver -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations server/resolver.cpp > > >clang -c -o build/clang/server/graph.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Iserver -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations server/graph.cpp > > >clang -c -o build/clang/server/integerset.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Iserver -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations server/integerset.cpp > > >clang -c -o build/clang/server/egd.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Iserver -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations server/egd.cpp > > >clang -c -o build/clang/server/tlsthread.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Iserver -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations server/tlsthread.cpp > > >clang -c -o build/clang/server/session.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Iserver -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations server/session.cpp > > >clang -c -o build/clang/server/mailbox.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Iserver -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations server/mailbox.cpp > > >clang -c -o build/clang/server/permissions.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Iserver -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations server/permissions.cpp > > >clang -c -o build/clang/server/selector.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Iserver -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations server/selector.cpp > > >mkdir -p build/clang/core > > >clang -c -o build/clang/core/global.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Icore core/global.cpp > > >clang -c -o build/clang/core/scope.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Icore core/scope.cpp > > >clang -c -o build/clang/core/estring.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Icore core/estring.cpp > > >clang -c -o build/clang/core/buffer.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Icore core/buffer.cpp > > >clang -c -o build/clang/core/list.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Icore core/list.cpp > > >clang -c -o build/clang/core/map.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Icore core/map.cpp > > >clang -c -o build/clang/core/dict.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Icore core/dict.cpp > > >clang -c -o build/clang/core/allocator.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Icore core/allocator.cpp > > >clang -c -o build/clang/core/md5.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Icore core/md5.cpp > > >clang -c -o build/clang/core/file.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Icore core/file.cpp > > >clang -c -o build/clang/core/logger.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Icore core/logger.cpp > > >clang -c -o build/clang/core/log.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Icore core/log.cpp > > >clang -c -o build/clang/core/configuration.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -DBINDIR='"/usr/local/bin"' -DSBINDIR='"/usr/local/sbin"' -DMANDIR='"/usr/local/man"' -DLIBDIR='"/usr/local/libexec/aox"' -DINITDIR='"/usr/local/etc/rc.d"' -DJAILDIR='"/var/db/aox/jail"' -DMESSAGEDIR='"/var/db/aox/messages"' -DCONFIGDIR='"/usr/local/etc/archiveopteryx"' -DPIDFILEDIR='"/var/run/aox"' -DLOGFILE='"syslog/mail"' -DLOGFILEMODE='"400"' -DDBADDRESS='"127.0.0.1"' -DPGUSER='""' -DAOXUSER='"aox"' -DAOXGROUP='"aox"' -DDBOWNER='"aoxsuper"' -DDBNAME='"archiveopteryx"' -DDBSCHEMA='"public"' -DVERSION='"3.2.0"' -Icore core/configuration.cpp > > >clang -c -o build/clang/core/estringlist.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Icore core/estringlist.cpp > > >clang -c -o build/clang/core/entropy.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Icore core/entropy.cpp > > >clang -c -o build/clang/core/stderrlogger.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Icore core/stderrlogger.cpp > > >clang -c -o build/clang/core/cache.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Icore core/cache.cpp > > >clang -c -o build/clang/core/patriciatree.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Icore core/patriciatree.cpp > > >clang -c -o build/clang/core/ustring.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Icore core/ustring.cpp > > >clang -c -o build/clang/core/ustringlist.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Icore core/ustringlist.cpp > > >mkdir -p build/clang/encodings > > >clang -c -o build/clang/encodings/codec.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Iencodings -Iencodings/words -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings encodings/codec.cpp > > >clang -c -o build/clang/encodings/iso8859.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Iencodings -Iencodings/words -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings encodings/iso8859.cpp > > >clang -c -o build/clang/encodings/cp.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Iencodings -Iencodings/words -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings encodings/cp.cpp > > >clang -c -o build/clang/encodings/koi.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Iencodings -Iencodings/words -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings encodings/koi.cpp > > >clang -c -o build/clang/encodings/mac.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Iencodings -Iencodings/words -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings encodings/mac.cpp > > >clang -c -o build/clang/encodings/utf.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Iencodings -Iencodings/words -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings encodings/utf.cpp > > >clang -c -o build/clang/encodings/unknown.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Iencodings -Iencodings/words -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings encodings/unknown.cpp > > >clang -c -o build/clang/encodings/gb2312.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Iencodings -Iencodings/words -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings encodings/gb2312.cpp > > >clang -c -o build/clang/encodings/gbk.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Iencodings -Iencodings/words -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings encodings/gbk.cpp > > >clang -c -o build/clang/encodings/eucjp.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Iencodings -Iencodings/words -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings encodings/eucjp.cpp > > >clang -c -o build/clang/encodings/iso2022jp.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Iencodings -Iencodings/words -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings encodings/iso2022jp.cpp > > >clang -c -o build/clang/encodings/cp932.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Iencodings -Iencodings/words -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings encodings/cp932.cpp > > >clang -c -o build/clang/encodings/cp950.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Iencodings -Iencodings/words -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings encodings/cp950.cpp > > >clang -c -o build/clang/encodings/euckr.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Iencodings -Iencodings/words -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings encodings/euckr.cpp > > >clang -c -o build/clang/encodings/cp949.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Iencodings -Iencodings/words -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings encodings/cp949.cpp > > >clang -c -o build/clang/encodings/hproman8.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Iencodings -Iencodings/words -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings encodings/hproman8.cpp > > >clang -c -o build/clang/encodings/viscii.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Iencodings -Iencodings/words -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings encodings/viscii.cpp > > >clang -c -o build/clang/encodings/ebcdic.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Iencodings -Iencodings/words -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings encodings/ebcdic.cpp > > >clang -c -o build/clang/server/user.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Iserver -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations server/user.cpp > > >mkdir -p build/clang/extractors > > >clang -c -o build/clang/extractors/html.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Iextractors -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations extractors/html.cpp > > >mkdir -p build/clang/abnf > > >clang -c -o build/clang/abnf/abnfparser.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Iabnf -Icore -Iabnf abnf/abnfparser.cpp > > >mkdir -p bin > >...skipped aoxdeliver for lack of <db>database.o... > >mkdir -p doc/man > > >mkdir -p doc/man/man5 > > >sed -e 's!$BINDIR!'/usr/local/bin'!' \ > -e 's!$SBINDIR!'/usr/local/sbin'!' \ > -e 's!$MANDIR!'/usr/local/man'!' \ > -e 's!$LIBDIR!'/usr/local/libexec/aox'!' \ > -e 's!$INITDIR!'/usr/local/etc/rc.d'!' \ > -e 's!$PIDFILEDIR!'/var/run/aox'!' \ > -e 's!$JAILDIR!'/var/db/aox/jail'!' \ > -e 's!$MESSAGEDIR!'/var/db/aox/messages'!' \ > -e 's!$CONFIGDIR!'/usr/local/etc/archiveopteryx'!' \ > -e 's!$LOGFILEMODE!'400'!' \ > -e 's!$LOGFILE!'syslog/mail'!' \ > -e 's!$DBNAME!'archiveopteryx'!' \ > -e 's!$DBSCHEMA!'public'!' \ > -e 's!$DBOWNER!'aoxsuper'!' \ > -e 's!$DBADDRESS!'127.0.0.1'!' \ > -e 's!$AOXUSER!'aox'!' \ > -e 's!$AOXGROUP!'aox'!' \ > -e 's!$VERSION!'3.2.0'!' \ > -e 's!$PREFIX!'/usr/local'!' \ > < doc/archiveopteryx.conf.man > doc/man/man5/archiveopteryx.conf.5 > > >sed -e 's!$BINDIR!'/usr/local/bin'!' \ > -e 's!$SBINDIR!'/usr/local/sbin'!' \ > -e 's!$MANDIR!'/usr/local/man'!' \ > -e 's!$LIBDIR!'/usr/local/libexec/aox'!' \ > -e 's!$INITDIR!'/usr/local/etc/rc.d'!' \ > -e 's!$PIDFILEDIR!'/var/run/aox'!' \ > -e 's!$JAILDIR!'/var/db/aox/jail'!' \ > -e 's!$MESSAGEDIR!'/var/db/aox/messages'!' \ > -e 's!$CONFIGDIR!'/usr/local/etc/archiveopteryx'!' \ > -e 's!$LOGFILEMODE!'400'!' \ > -e 's!$LOGFILE!'syslog/mail'!' \ > -e 's!$DBNAME!'archiveopteryx'!' \ > -e 's!$DBSCHEMA!'public'!' \ > -e 's!$DBOWNER!'aoxsuper'!' \ > -e 's!$DBADDRESS!'127.0.0.1'!' \ > -e 's!$AOXUSER!'aox'!' \ > -e 's!$AOXGROUP!'aox'!' \ > -e 's!$VERSION!'3.2.0'!' \ > -e 's!$PREFIX!'/usr/local'!' \ > < doc/aoxsuper.conf.man > doc/man/man5/aoxsuper.conf.5 > > >mkdir -p doc/man/man8 > > >sed -e 's!$BINDIR!'/usr/local/bin'!' \ > -e 's!$SBINDIR!'/usr/local/sbin'!' \ > -e 's!$MANDIR!'/usr/local/man'!' \ > -e 's!$LIBDIR!'/usr/local/libexec/aox'!' \ > -e 's!$INITDIR!'/usr/local/etc/rc.d'!' \ > -e 's!$PIDFILEDIR!'/var/run/aox'!' \ > -e 's!$JAILDIR!'/var/db/aox/jail'!' \ > -e 's!$MESSAGEDIR!'/var/db/aox/messages'!' \ > -e 's!$CONFIGDIR!'/usr/local/etc/archiveopteryx'!' \ > -e 's!$LOGFILEMODE!'400'!' \ > -e 's!$LOGFILE!'syslog/mail'!' \ > -e 's!$DBNAME!'archiveopteryx'!' \ > -e 's!$DBSCHEMA!'public'!' \ > -e 's!$DBOWNER!'aoxsuper'!' \ > -e 's!$DBADDRESS!'127.0.0.1'!' \ > -e 's!$AOXUSER!'aox'!' \ > -e 's!$AOXGROUP!'aox'!' \ > -e 's!$VERSION!'3.2.0'!' \ > -e 's!$PREFIX!'/usr/local'!' \ > < doc/aoximport.man > doc/man/man8/aoximport.8 > > >sed -e 's!$BINDIR!'/usr/local/bin'!' \ > -e 's!$SBINDIR!'/usr/local/sbin'!' \ > -e 's!$MANDIR!'/usr/local/man'!' \ > -e 's!$LIBDIR!'/usr/local/libexec/aox'!' \ > -e 's!$INITDIR!'/usr/local/etc/rc.d'!' \ > -e 's!$PIDFILEDIR!'/var/run/aox'!' \ > -e 's!$JAILDIR!'/var/db/aox/jail'!' \ > -e 's!$MESSAGEDIR!'/var/db/aox/messages'!' \ > -e 's!$CONFIGDIR!'/usr/local/etc/archiveopteryx'!' \ > -e 's!$LOGFILEMODE!'400'!' \ > -e 's!$LOGFILE!'syslog/mail'!' \ > -e 's!$DBNAME!'archiveopteryx'!' \ > -e 's!$DBSCHEMA!'public'!' \ > -e 's!$DBOWNER!'aoxsuper'!' \ > -e 's!$DBADDRESS!'127.0.0.1'!' \ > -e 's!$AOXUSER!'aox'!' \ > -e 's!$AOXGROUP!'aox'!' \ > -e 's!$VERSION!'3.2.0'!' \ > -e 's!$PREFIX!'/usr/local'!' \ > < doc/aox.man > doc/man/man8/aox.8 > > >sed -e 's!$BINDIR!'/usr/local/bin'!' \ > -e 's!$SBINDIR!'/usr/local/sbin'!' \ > -e 's!$MANDIR!'/usr/local/man'!' \ > -e 's!$LIBDIR!'/usr/local/libexec/aox'!' \ > -e 's!$INITDIR!'/usr/local/etc/rc.d'!' \ > -e 's!$PIDFILEDIR!'/var/run/aox'!' \ > -e 's!$JAILDIR!'/var/db/aox/jail'!' \ > -e 's!$MESSAGEDIR!'/var/db/aox/messages'!' \ > -e 's!$CONFIGDIR!'/usr/local/etc/archiveopteryx'!' \ > -e 's!$LOGFILEMODE!'400'!' \ > -e 's!$LOGFILE!'syslog/mail'!' \ > -e 's!$DBNAME!'archiveopteryx'!' \ > -e 's!$DBSCHEMA!'public'!' \ > -e 's!$DBOWNER!'aoxsuper'!' \ > -e 's!$DBADDRESS!'127.0.0.1'!' \ > -e 's!$AOXUSER!'aox'!' \ > -e 's!$AOXGROUP!'aox'!' \ > -e 's!$VERSION!'3.2.0'!' \ > -e 's!$PREFIX!'/usr/local'!' \ > < doc/archiveopteryx.man > doc/man/man8/archiveopteryx.8 > > >sed -e 's!$BINDIR!'/usr/local/bin'!' \ > -e 's!$SBINDIR!'/usr/local/sbin'!' \ > -e 's!$MANDIR!'/usr/local/man'!' \ > -e 's!$LIBDIR!'/usr/local/libexec/aox'!' \ > -e 's!$INITDIR!'/usr/local/etc/rc.d'!' \ > -e 's!$PIDFILEDIR!'/var/run/aox'!' \ > -e 's!$JAILDIR!'/var/db/aox/jail'!' \ > -e 's!$MESSAGEDIR!'/var/db/aox/messages'!' \ > -e 's!$CONFIGDIR!'/usr/local/etc/archiveopteryx'!' \ > -e 's!$LOGFILEMODE!'400'!' \ > -e 's!$LOGFILE!'syslog/mail'!' \ > -e 's!$DBNAME!'archiveopteryx'!' \ > -e 's!$DBSCHEMA!'public'!' \ > -e 's!$DBOWNER!'aoxsuper'!' \ > -e 's!$DBADDRESS!'127.0.0.1'!' \ > -e 's!$AOXUSER!'aox'!' \ > -e 's!$AOXGROUP!'aox'!' \ > -e 's!$VERSION!'3.2.0'!' \ > -e 's!$PREFIX!'/usr/local'!' \ > < doc/aoxdeliver.man > doc/man/man8/aoxdeliver.8 > > >sed -e 's!$BINDIR!'/usr/local/bin'!' \ > -e 's!$SBINDIR!'/usr/local/sbin'!' \ > -e 's!$MANDIR!'/usr/local/man'!' \ > -e 's!$LIBDIR!'/usr/local/libexec/aox'!' \ > -e 's!$INITDIR!'/usr/local/etc/rc.d'!' \ > -e 's!$PIDFILEDIR!'/var/run/aox'!' \ > -e 's!$JAILDIR!'/var/db/aox/jail'!' \ > -e 's!$MESSAGEDIR!'/var/db/aox/messages'!' \ > -e 's!$CONFIGDIR!'/usr/local/etc/archiveopteryx'!' \ > -e 's!$LOGFILEMODE!'400'!' \ > -e 's!$LOGFILE!'syslog/mail'!' \ > -e 's!$DBNAME!'archiveopteryx'!' \ > -e 's!$DBSCHEMA!'public'!' \ > -e 's!$DBOWNER!'aoxsuper'!' \ > -e 's!$DBADDRESS!'127.0.0.1'!' \ > -e 's!$AOXUSER!'aox'!' \ > -e 's!$AOXGROUP!'aox'!' \ > -e 's!$VERSION!'3.2.0'!' \ > -e 's!$PREFIX!'/usr/local'!' \ > < doc/installer.man > doc/man/man8/installer.8 > > >sed -e 's!$BINDIR!'/usr/local/bin'!' \ > -e 's!$SBINDIR!'/usr/local/sbin'!' \ > -e 's!$MANDIR!'/usr/local/man'!' \ > -e 's!$LIBDIR!'/usr/local/libexec/aox'!' \ > -e 's!$INITDIR!'/usr/local/etc/rc.d'!' \ > -e 's!$PIDFILEDIR!'/var/run/aox'!' \ > -e 's!$JAILDIR!'/var/db/aox/jail'!' \ > -e 's!$MESSAGEDIR!'/var/db/aox/messages'!' \ > -e 's!$CONFIGDIR!'/usr/local/etc/archiveopteryx'!' \ > -e 's!$LOGFILEMODE!'400'!' \ > -e 's!$LOGFILE!'syslog/mail'!' \ > -e 's!$DBNAME!'archiveopteryx'!' \ > -e 's!$DBSCHEMA!'public'!' \ > -e 's!$DBOWNER!'aoxsuper'!' \ > -e 's!$DBADDRESS!'127.0.0.1'!' \ > -e 's!$AOXUSER!'aox'!' \ > -e 's!$AOXGROUP!'aox'!' \ > -e 's!$VERSION!'3.2.0'!' \ > -e 's!$PREFIX!'/usr/local'!' \ > < doc/logd.man > doc/man/man8/logd.8 > > >sed -e 's!$BINDIR!'/usr/local/bin'!' \ > -e 's!$SBINDIR!'/usr/local/sbin'!' \ > -e 's!$MANDIR!'/usr/local/man'!' \ > -e 's!$LIBDIR!'/usr/local/libexec/aox'!' \ > -e 's!$INITDIR!'/usr/local/etc/rc.d'!' \ > -e 's!$PIDFILEDIR!'/var/run/aox'!' \ > -e 's!$JAILDIR!'/var/db/aox/jail'!' \ > -e 's!$MESSAGEDIR!'/var/db/aox/messages'!' \ > -e 's!$CONFIGDIR!'/usr/local/etc/archiveopteryx'!' \ > -e 's!$LOGFILEMODE!'400'!' \ > -e 's!$LOGFILE!'syslog/mail'!' \ > -e 's!$DBNAME!'archiveopteryx'!' \ > -e 's!$DBSCHEMA!'public'!' \ > -e 's!$DBOWNER!'aoxsuper'!' \ > -e 's!$DBADDRESS!'127.0.0.1'!' \ > -e 's!$AOXUSER!'aox'!' \ > -e 's!$AOXGROUP!'aox'!' \ > -e 's!$VERSION!'3.2.0'!' \ > -e 's!$PREFIX!'/usr/local'!' \ > < doc/recorder.man > doc/man/man8/recorder.8 > > >mkdir -p build/clang/logd > > >clang -c -o build/clang/logd/logd.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -pthread -O3 -Ilogd -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations -Ilogd logd/logd.cpp > > >clang -c -o build/clang/logd/logserver.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -pthread -O3 -Ilogd -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations -Ilogd logd/logserver.cpp > > >clang -c -o build/clang/logd/selflogger.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -pthread -O3 -Ilogd -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations -Ilogd logd/selflogger.cpp > > >clang -g -lstdc++ -pthread -L/usr/local/lib -lcrypto -lm -o bin/logd build/clang/logd/logd.o build/clang/logd/logserver.o build/clang/logd/selflogger.o build/clang/server/connection.o build/clang/server/endpoint.o build/clang/server/event.o build/clang/server/logclient.o build/clang/server/eventloop.o build/clang/server/server.o build/clang/server/timer.o build/clang/server/resolver.o build/clang/server/graph.o build/clang/server/integerset.o build/clang/server/egd.o build/clang/server/tlsthread.o build/clang/core/global.o build/clang/core/scope.o build/clang/core/estring.o build/clang/core/buffer.o build/clang/core/list.o build/clang/core/map.o build/clang/core/dict.o build/clang/core/allocator.o build/clang/core/md5.o build/clang/core/file.o build/clang/core/logger.o build/clang/core/log.o build/clang/core/configuration.o build/clang/core/estringlist.o build/clang/core/entropy.o build/clang/core/stderrlogger.o build/clang/core/cache.o build/clang/core/patriciatree.o -lssl -lcrypto -lz > > >chmod 711 bin/logd > > >mkdir -p build/clang/aox > > >clang -c -o build/clang/aox/aox.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -pthread -O3 -Iaox -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations -Ilogd -Iaox aox/aox.cpp > >In file included from aox/aox.cpp:9: >aox/aoxcommand.h:16:14: error: expected class name > : public EventHandler > ^ >aox/aox.cpp:75:14: error: no member named 'execute' in 'AoxCommand' > cmd->execute(); > ~~~ ^ >2 errors generated. > >clang -c -o build/clang/aox/aoxcommand.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -pthread -O3 -Iaox -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations -Ilogd -Iaox aox/aoxcommand.cpp > >In file included from aox/aoxcommand.cpp:3: >aox/aoxcommand.h:16:14: error: expected class name > : public EventHandler > ^ >In file included from aox/aoxcommand.cpp:19: >aox/servers.h:11:14: error: base class has incomplete type > : public EventHandler > ~~~~~~~^~~~~~~~~~~~ >db/database.h:46:36: note: forward declaration of 'EventHandler' > static void checkSchema( class EventHandler * ); > ^ >In file included from aox/aoxcommand.cpp:19: >aox/servers.h:26:14: error: base class has incomplete type > : public EventHandler > ~~~~~~~^~~~~~~~~~~~ >db/database.h:46:36: note: forward declaration of 'EventHandler' > static void checkSchema( class EventHandler * ); > ^ >In file included from aox/aoxcommand.cpp:19: >aox/servers.h:44:14: error: base class has incomplete type > : public EventHandler > ~~~~~~~^~~~~~~~~~~~ >db/database.h:46:36: note: forward declaration of 'EventHandler' > static void checkSchema( class EventHandler * ); > ^ >aox/aoxcommand.cpp:54:18: error: base class has incomplete type > : public EventHandler > ~~~~~~~^~~~~~~~~~~~ >db/database.h:46:36: note: forward declaration of 'EventHandler' > static void checkSchema( class EventHandler * ); > ^ >aox/aoxcommand.cpp:69:18: error: base class has incomplete type > : public EventHandler > ~~~~~~~^~~~~~~~~~~~ >db/database.h:46:36: note: forward declaration of 'EventHandler' > static void checkSchema( class EventHandler * ); > ^ >aox/aoxcommand.cpp:58:15: error: type 'EventHandler' is not a direct or virtual base of 'AoxCommandData::ChoresDoneHelper' > : EventHandler(), v( cd ), e( h ) > ^~~~~~~~~~~~ >aox/aoxcommand.cpp:60:39: error: cannot initialize a parameter of type 'class EventHandler *' with an rvalue of type 'AoxCommandData::ChoresDoneHelper *' > Database::notifyWhenIdle( this ); > ^~~~ >db/database.h:49:54: note: passing argument to parameter here > static void notifyWhenIdle( class EventHandler * ); > ^ >aox/aoxcommand.cpp:62:38: error: member access into incomplete type 'EventHandler' > void execute() { *v = true; e->execute(); } > ^ >db/database.h:46:36: note: forward declaration of 'EventHandler' > static void checkSchema( class EventHandler * ); > ^ >aox/aoxcommand.cpp:72:52: error: cannot initialize a parameter of type 'class EventHandler *' with an rvalue of type 'AoxCommandData::FinishHelper *' > FinishHelper() { Database::notifyWhenIdle( this ); } > ^~~~ >db/database.h:49:54: note: passing argument to parameter here > static void notifyWhenIdle( class EventHandler * ); > ^ >aox/aoxcommand.cpp:88:15: error: no matching constructor for initialization of 'AoxCommandData::ChoresDoneHelper' > (void)new AoxCommandData::ChoresDoneHelper( &d->choresDone, this ); > ^ ~~~~~~~~~~~~~~~~~~~~ >aox/aoxcommand.cpp:57:9: note: candidate constructor not viable: no known conversion from 'AoxCommand *' to 'EventHandler *' for 2nd argument > ChoresDoneHelper( bool * cd, EventHandler * h ) > ^ >aox/aoxcommand.cpp:53:11: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided > class ChoresDoneHelper > ^ >aox/aoxcommand.cpp:53:11: note: candidate constructor (the implicit move constructor) not viable: requires 1 argument, but 2 were provided >11 errors generated. > >clang -c -o build/clang/aox/aliases.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -pthread -O3 -Iaox -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations -Ilogd -Iaox aox/aliases.cpp > >In file included from aox/aliases.cpp:3: >In file included from aox/aliases.h:6: >aox/aoxcommand.h:16:14: error: expected class name > : public EventHandler > ^ >In file included from aox/aliases.cpp:10: >In file included from message/helperrowcreator.h:6: >message/injector.h:49:14: error: base class has incomplete type > : public EventHandler > ~~~~~~~^~~~~~~~~~~~ >db/database.h:46:36: note: forward declaration of 'EventHandler' > static void checkSchema( class EventHandler * ); > ^ >In file included from aox/aliases.cpp:10: >message/helperrowcreator.h:14:14: error: base class has incomplete type > : public EventHandler > ~~~~~~~^~~~~~~~~~~~ >db/database.h:46:36: note: forward declaration of 'EventHandler' > static void checkSchema( class EventHandler * ); > ^ >aox/aliases.cpp:55:17: error: no matching constructor for initialization of 'Query' > q = new Query( s, this ); > ^ ~~~~~~~ >db/query.h:25:5: note: candidate constructor not viable: no known conversion from 'ListAliases *' to 'EventHandler *' for 2nd argument > Query( const EString &, EventHandler * ); > ^ >db/query.h:26:5: note: candidate constructor not viable: no known conversion from 'ListAliases *' to 'EventHandler *' for 2nd argument > Query( const PreparedStatement &, EventHandler * ); > ^ >db/query.h:24:5: note: candidate constructor not viable: requires at most 1 argument, but 2 were provided > Query( EventHandler * = 0 ); > ^ >db/query.h:20:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided >class Query > ^ >aox/aliases.cpp:130:29: error: cannot initialize a parameter of type 'class EventHandler *' with an rvalue of type 'CreateAlias *' > Mailbox::setup( this ); > ^~~~ >server/mailbox.h:50:45: note: passing argument to parameter here > static void setup( class EventHandler * = 0 ); > ^ >aox/aliases.cpp:143:20: error: no matching constructor for initialization of 'Transaction' > d->t = new Transaction( this ); > ^ ~~~~ >db/transaction.h:15:7: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'CreateAlias *' to 'const Transaction' for 1st argument >class Transaction > ^ >db/transaction.h:15:7: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'CreateAlias *' to 'Transaction' for 1st argument >db/transaction.h:19:5: note: candidate constructor not viable: no known conversion from 'CreateAlias *' to 'EventHandler *' for 1st argument > Transaction( EventHandler * ); > ^ >aox/aliases.cpp:157:24: error: no matching constructor for initialization of 'Query' > d->q = new Query( "insert into aliases (address, mailbox) " > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >db/query.h:25:5: note: candidate constructor not viable: no known conversion from 'CreateAlias *' to 'EventHandler *' for 2nd argument > Query( const EString &, EventHandler * ); > ^ >db/query.h:26:5: note: candidate constructor not viable: no known conversion from 'const char[157]' to 'const PreparedStatement' for 1st argument > Query( const PreparedStatement &, EventHandler * ); > ^ >db/query.h:24:5: note: candidate constructor not viable: requires at most 1 argument, but 2 were provided > Query( EventHandler * = 0 ); > ^ >db/query.h:20:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided >class Query > ^ >aox/aliases.cpp:169:24: error: no matching constructor for initialization of 'Query' > d->q = new Query( "insert into aliases (address, mailbox) " > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >db/query.h:25:5: note: candidate constructor not viable: no known conversion from 'CreateAlias *' to 'EventHandler *' for 2nd argument > Query( const EString &, EventHandler * ); > ^ >db/query.h:26:5: note: candidate constructor not viable: no known conversion from 'const char[55]' to 'const PreparedStatement' for 1st argument > Query( const PreparedStatement &, EventHandler * ); > ^ >db/query.h:24:5: note: candidate constructor not viable: requires at most 1 argument, but 2 were provided > Query( EventHandler * = 0 ); > ^ >db/query.h:20:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided >class Query > ^ >aox/aliases.cpp:235:21: error: no matching constructor for initialization of 'Query' > q = new Query( rm + tx, this ); > ^ ~~~~~~~~~~~~~ >db/query.h:25:5: note: candidate constructor not viable: no known conversion from 'DeleteAlias *' to 'EventHandler *' for 2nd argument > Query( const EString &, EventHandler * ); > ^ >db/query.h:26:5: note: candidate constructor not viable: no known conversion from 'DeleteAlias *' to 'EventHandler *' for 2nd argument > Query( const PreparedStatement &, EventHandler * ); > ^ >db/query.h:24:5: note: candidate constructor not viable: requires at most 1 argument, but 2 were provided > Query( EventHandler * = 0 ); > ^ >db/query.h:20:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided >class Query > ^ >aox/aliases.cpp:237:21: error: no matching constructor for initialization of 'Query' > q = new Query( rm, this ); > ^ ~~~~~~~~ >db/query.h:25:5: note: candidate constructor not viable: no known conversion from 'DeleteAlias *' to 'EventHandler *' for 2nd argument > Query( const EString &, EventHandler * ); > ^ >db/query.h:26:5: note: candidate constructor not viable: no known conversion from 'DeleteAlias *' to 'EventHandler *' for 2nd argument > Query( const PreparedStatement &, EventHandler * ); > ^ >db/query.h:24:5: note: candidate constructor not viable: requires at most 1 argument, but 2 were provided > Query( EventHandler * = 0 ); > ^ >db/query.h:20:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided >class Query > ^ >10 errors generated. > > cat buildinfo ./buildinfo.release | \ > sed -e 's/#.*//' -e 's/[\\"]/\\&/g'| \ > grep . | \ > sed -e 's/\(.*\)/"\1",/' > aox/buildinfo.inc > > >clang -c -o build/clang/aox/servers.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -pthread -O3 -Iaox -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations -Ilogd -Iaox aox/servers.cpp > >In file included from aox/servers.cpp:3: >In file included from aox/servers.h:6: >aox/aoxcommand.h:16:14: error: expected class name > : public EventHandler > ^ >In file included from aox/servers.cpp:3: >aox/servers.h:11:14: error: expected class name > : public EventHandler > ^ >aox/servers.h:14:19: error: unknown type name 'EventHandler' > Checker( int, EventHandler * ); > ^ >aox/servers.h:26:14: error: expected class name > : public EventHandler > ^ >aox/servers.h:29:19: error: unknown type name 'EventHandler' > Starter( int, EventHandler * ); > ^ >aox/servers.h:44:14: error: expected class name > : public EventHandler > ^ >aox/servers.h:47:19: error: unknown type name 'EventHandler' > Stopper( int, EventHandler * ); > ^ >aox/servers.cpp:604:10: error: out-of-line definition of 'Checker' does not match any declaration in 'Checker' >Checker::Checker( int verbose, EventHandler * owner ) > ^~~~~~~ >aox/servers.cpp:625:20: error: no matching constructor for initialization of 'Query' > d->q = new Query( "select login from users where " > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >db/query.h:25:5: note: candidate constructor not viable: no known conversion from 'Checker *' to 'EventHandler *' for 2nd argument > Query( const EString &, EventHandler * ); > ^ >db/query.h:26:5: note: candidate constructor not viable: no known conversion from 'const char[55]' to 'const PreparedStatement' for 1st argument > Query( const PreparedStatement &, EventHandler * ); > ^ >db/query.h:24:5: note: candidate constructor not viable: requires at most 1 argument, but 2 were provided > Query( EventHandler * = 0 ); > ^ >db/query.h:20:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided >class Query > ^ >aox/servers.cpp:655:13: error: member access into incomplete type 'EventHandler' > d->owner->execute(); > ^ >server/timer.h:14:18: note: forward declaration of 'EventHandler' > Timer( class EventHandler *, uint ); > ^ >aox/servers.cpp:703:10: error: out-of-line definition of 'Starter' does not match any declaration in 'Starter' >Starter::Starter( int verbose, EventHandler * owner ) > ^~~~~~~ >aox/servers.cpp:731:13: error: member access into incomplete type 'EventHandler' > d->owner->execute(); > ^ >server/timer.h:14:18: note: forward declaration of 'EventHandler' > Timer( class EventHandler *, uint ); > ^ >aox/servers.cpp:876:10: error: member access into incomplete type 'EventHandler' > o->execute(); > ^ >server/timer.h:14:18: note: forward declaration of 'EventHandler' > Timer( class EventHandler *, uint ); > ^ >aox/servers.cpp:925:10: error: out-of-line definition of 'Stopper' does not match any declaration in 'Stopper' >Stopper::Stopper( int verbose, EventHandler * owner ) > ^~~~~~~ >aox/servers.cpp:977:28: error: no matching constructor for initialization of 'Timer' > d->timer = new Timer( this, 2 ); > ^ ~~~~~~~ >server/timer.h:14:5: note: candidate constructor not viable: no known conversion from 'Stopper *' to 'class EventHandler *' for 1st argument > Timer( class EventHandler *, uint ); > ^ >server/timer.h:10:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided >class Timer > ^ >aox/servers.cpp:1010:25: error: no matching constructor for initialization of 'ServerPinger' > new ServerPinger( Configuration::ImapAddress, > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ >aox/servers.cpp:834:5: note: candidate constructor not viable: no known conversion from 'Stopper *' to 'EventHandler *' for 3rd argument > ServerPinger( Configuration::Text a, Configuration::Scalar p, > ^ >aox/servers.cpp:830:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 3 were provided >class ServerPinger > ^ >aox/servers.cpp:830:7: note: candidate constructor (the implicit move constructor) not viable: requires 1 argument, but 3 were provided >aox/servers.cpp:1016:25: error: no matching constructor for initialization of 'ServerPinger' > new ServerPinger( Configuration::LogAddress, > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ >aox/servers.cpp:834:5: note: candidate constructor not viable: no known conversion from 'Stopper *' to 'EventHandler *' for 3rd argument > ServerPinger( Configuration::Text a, Configuration::Scalar p, > ^ >aox/servers.cpp:830:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 3 were provided >class ServerPinger > ^ >aox/servers.cpp:830:7: note: candidate constructor (the implicit move constructor) not viable: requires 1 argument, but 3 were provided >aox/servers.cpp:1033:27: error: no matching constructor for initialization of 'Timer' > (void)new Timer( this, 0 ); // this leaks memory > ^ ~~~~~~~ >server/timer.h:14:5: note: candidate constructor not viable: no known conversion from 'Stopper *' to 'class EventHandler *' for 1st argument > Timer( class EventHandler *, uint ); > ^ >server/timer.h:10:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided >class Timer > ^ >aox/servers.cpp:1046:13: error: member access into incomplete type 'EventHandler' > d->owner->execute(); > ^ >server/timer.h:14:18: note: forward declaration of 'EventHandler' > Timer( class EventHandler *, uint ); > ^ >fatal error: too many errors emitted, stopping now [-ferror-limit=] >20 errors generated. > >clang -c -o build/clang/aox/db.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -pthread -O3 -Iaox -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations -Ilogd -Iaox aox/db.cpp > >In file included from aox/db.cpp:3: >In file included from aox/db.h:6: >aox/aoxcommand.h:16:14: error: expected class name > : public EventHandler > ^ >In file included from aox/db.cpp:6: >db/schema.h:14:14: error: base class has incomplete type > : public EventHandler > ~~~~~~~^~~~~~~~~~~~ >db/database.h:46:36: note: forward declaration of 'EventHandler' > static void checkSchema( class EventHandler * ); > ^ >In file included from aox/db.cpp:8: >db/granter.h:10:14: error: base class has incomplete type > : public EventHandler > ~~~~~~~^~~~~~~~~~~~ >db/database.h:46:36: note: forward declaration of 'EventHandler' > static void checkSchema( class EventHandler * ); > ^ >aox/db.cpp:63:17: error: no matching constructor for initialization of 'Query' > q = new Query( "select revision from mailstore", this ); > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >db/query.h:25:5: note: candidate constructor not viable: no known conversion from 'ShowSchema *' to 'EventHandler *' for 2nd argument > Query( const EString &, EventHandler * ); > ^ >db/query.h:26:5: note: candidate constructor not viable: no known conversion from 'const char[31]' to 'const PreparedStatement' for 1st argument > Query( const PreparedStatement &, EventHandler * ); > ^ >db/query.h:24:5: note: candidate constructor not viable: requires at most 1 argument, but 2 were provided > Query( EventHandler * = 0 ); > ^ >db/query.h:20:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided >class Query > ^ >aox/db.cpp:130:26: error: no matching constructor for initialization of 'Schema' > Schema * s = new Schema( this, true, commit ); > ^ ~~~~~~~~~~~~~~~~~~ >db/schema.h:17:5: note: candidate constructor not viable: no known conversion from 'UpgradeSchema *' to 'EventHandler *' for 1st argument > Schema( EventHandler *, bool = false, bool = true ); > ^ >db/schema.h:13:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 3 were provided >class Schema > ^ >db/schema.h:13:7: note: candidate constructor (the implicit move constructor) not viable: requires 1 argument, but 3 were provided >aox/db.cpp:169:25: error: cannot initialize a parameter of type 'class EventHandler *' with an rvalue of type 'Vacuum *' > Mailbox::setup( this ); > ^~~~ >server/mailbox.h:50:45: note: passing argument to parameter here > static void setup( class EventHandler * = 0 ); > ^ >aox/db.cpp:170:17: error: no matching constructor for initialization of 'Transaction' > t = new Transaction( this ); > ^ ~~~~ >db/transaction.h:15:7: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'Vacuum *' to 'const Transaction' for 1st argument >class Transaction > ^ >db/transaction.h:15:7: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'Vacuum *' to 'Transaction' for 1st argument >db/transaction.h:19:5: note: candidate constructor not viable: no known conversion from 'Vacuum *' to 'EventHandler *' for 1st argument > Transaction( EventHandler * ); > ^ >aox/db.cpp:252:17: error: no matching constructor for initialization of 'RetentionSelector' > r = new RetentionSelector( t, this ); > ^ ~~~~~~~ >server/selector.h:129:5: note: candidate constructor not viable: no known conversion from 'Vacuum *' to 'EventHandler *' for 2nd argument > RetentionSelector( Transaction *, EventHandler * ); > ^ >server/selector.h:128:5: note: candidate constructor not viable: no known conversion from 'class Transaction *' to 'Mailbox *' for 1st argument > RetentionSelector( Mailbox *, EventHandler * ); > ^ >server/selector.h:124:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided >class RetentionSelector > ^ >server/selector.h:124:7: note: candidate constructor (the implicit move constructor) not viable: requires 1 argument, but 2 were provided >aox/db.cpp:284:45: error: cannot initialize a parameter of type 'class EventHandler *' with an rvalue of type 'Vacuum *' > Query * iq = s->query( 0, 0, 0, this, false, &wanted, false ); > ^~~~ >server/selector.h:60:57: note: passing argument to parameter here > class Session *, class EventHandler *, > ^ >aox/db.cpp:371:17: error: no matching constructor for initialization of 'Transaction' > t = new Transaction( this ); > ^ ~~~~ >db/transaction.h:15:7: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'GrantPrivileges *' to 'const Transaction' for 1st argument >class Transaction > ^ >db/transaction.h:15:7: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'GrantPrivileges *' to 'Transaction' for 1st argument >db/transaction.h:19:5: note: candidate constructor not viable: no known conversion from 'GrantPrivileges *' to 'EventHandler *' for 1st argument > Transaction( EventHandler * ); > ^ >aox/db.cpp:504:20: error: no matching constructor for initialization of 'Transaction' > d->t = new Transaction( this ); > ^ ~~~~ >db/transaction.h:15:7: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'TuneDatabase *' to 'const Transaction' for 1st argument >class Transaction > ^ >db/transaction.h:15:7: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'TuneDatabase *' to 'Transaction' for 1st argument >db/transaction.h:19:5: note: candidate constructor not viable: no known conversion from 'TuneDatabase *' to 'EventHandler *' for 1st argument > Transaction( EventHandler * ); > ^ >aox/db.cpp:512:23: error: no matching constructor for initialization of 'Query' > d->find = new Query( "select indexname::text from pg_indexes where " > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >db/query.h:25:5: note: candidate constructor not viable: no known conversion from 'TuneDatabase *' to 'EventHandler *' for 2nd argument > Query( const EString &, EventHandler * ); > ^ >db/query.h:26:5: note: candidate constructor not viable: no known conversion from 'const char[89]' to 'const PreparedStatement' for 1st argument > Query( const PreparedStatement &, EventHandler * ); > ^ >db/query.h:24:5: note: candidate constructor not viable: requires at most 1 argument, but 2 were provided > Query( EventHandler * = 0 ); > ^ >db/query.h:20:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided >class Query > ^ >aox/db.cpp:620:13: error: no matching constructor for initialization of 'Transaction' > t = new Transaction( this ); > ^ ~~~~ >db/transaction.h:15:7: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'CheckDatabase *' to 'const Transaction' for 1st argument >class Transaction > ^ >db/transaction.h:15:7: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'CheckDatabase *' to 'Transaction' for 1st argument >db/transaction.h:19:5: note: candidate constructor not viable: no known conversion from 'CheckDatabase *' to 'EventHandler *' for 1st argument > Transaction( EventHandler * ); > ^ >13 errors generated. > >clang -c -o build/clang/aox/reparse.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -pthread -O3 -Iaox -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations -Ilogd -Iaox aox/reparse.cpp > >In file included from aox/reparse.cpp:3: >In file included from aox/reparse.h:6: >aox/aoxcommand.h:16:14: error: expected class name > : public EventHandler > ^ >In file included from aox/reparse.cpp:9: >message/injector.h:49:14: error: base class has incomplete type > : public EventHandler > ~~~~~~~^~~~~~~~~~~~ >db/database.h:46:36: note: forward declaration of 'EventHandler' > static void checkSchema( class EventHandler * ); > ^ >aox/reparse.cpp:59:25: error: cannot initialize a parameter of type 'class EventHandler *' with an rvalue of type 'Reparse *' > Mailbox::setup( this ); > ^~~~ >server/mailbox.h:50:45: note: passing argument to parameter here > static void setup( class EventHandler * = 0 ); > ^ >aox/reparse.cpp:61:20: error: no matching constructor for initialization of 'Transaction' > d->t = new Transaction( this ); > ^ ~~~~ >db/transaction.h:15:7: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'Reparse *' to 'const Transaction' for 1st argument >class Transaction > ^ >db/transaction.h:15:7: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'Reparse *' to 'Transaction' for 1st argument >db/transaction.h:19:5: note: candidate constructor not viable: no known conversion from 'Reparse *' to 'EventHandler *' for 1st argument > Transaction( EventHandler * ); > ^ >aox/reparse.cpp:62:20: error: no matching constructor for initialization of 'Query' > d->q = new Query( "select mm.mailbox, mm.uid, mm.modseq, " > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >db/query.h:25:5: note: candidate constructor not viable: no known conversion from 'Reparse *' to 'EventHandler *' for 2nd argument > Query( const EString &, EventHandler * ); > ^ >db/query.h:26:5: note: candidate constructor not viable: no known conversion from 'const char[335]' to 'const PreparedStatement' for 1st argument > Query( const PreparedStatement &, EventHandler * ); > ^ >db/query.h:24:5: note: candidate constructor not viable: requires at most 1 argument, but 2 were provided > Query( EventHandler * = 0 ); > ^ >db/query.h:20:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided >class Query > ^ >aox/reparse.cpp:106:23: error: no matching constructor for initialization of 'Query' > = new Query( "insert into deleted_messages " > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >db/query.h:25:5: note: candidate constructor not viable: no known conversion from 'Reparse *' to 'EventHandler *' for 2nd argument > Query( const EString &, EventHandler * ); > ^ >db/query.h:26:5: note: candidate constructor not viable: no known conversion from 'const char[103]' to 'const PreparedStatement' for 1st argument > Query( const PreparedStatement &, EventHandler * ); > ^ >db/query.h:24:5: note: candidate constructor not viable: requires at most 1 argument, but 2 were provided > Query( EventHandler * = 0 ); > ^ >db/query.h:20:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided >class Query > ^ >aox/reparse.cpp:134:17: error: no matching constructor for initialization of 'Query' > new Query( "delete from unparsed_messages where " > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >db/query.h:25:5: note: candidate constructor not viable: no known conversion from 'Reparse *' to 'EventHandler *' for 2nd argument > Query( const EString &, EventHandler * ); > ^ >db/query.h:26:5: note: candidate constructor not viable: no known conversion from 'const char[53]' to 'const PreparedStatement' for 1st argument > Query( const PreparedStatement &, EventHandler * ); > ^ >db/query.h:24:5: note: candidate constructor not viable: requires at most 1 argument, but 2 were provided > Query( EventHandler * = 0 ); > ^ >db/query.h:20:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided >class Query > ^ >aox/reparse.cpp:139:35: error: no matching constructor for initialization of 'Injector' > Injector * injector = new Injector( this ); > ^ ~~~~ >message/injector.h:48:7: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'Reparse *' to 'const Injector' for 1st argument >class Injector > ^ >message/injector.h:48:7: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'Reparse *' to 'Injector' for 1st argument >message/injector.h:52:5: note: candidate constructor not viable: no known conversion from 'Reparse *' to 'EventHandler *' for 1st argument > Injector( EventHandler * ); > ^ >8 errors generated. > >clang -c -o build/clang/aox/anonymise.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -pthread -O3 -Iaox -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations -Ilogd -Iaox aox/anonymise.cpp > >In file included from aox/anonymise.cpp:3: >In file included from aox/anonymise.h:6: >aox/aoxcommand.h:16:14: error: expected class name > : public EventHandler > ^ >1 error generated. > >clang -c -o build/clang/aox/mailboxes.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -pthread -O3 -Iaox -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations -Ilogd -Iaox aox/mailboxes.cpp > >In file included from aox/mailboxes.cpp:3: >In file included from aox/mailboxes.h:6: >aox/aoxcommand.h:16:14: error: expected class name > : public EventHandler > ^ >aox/mailboxes.cpp:101:17: error: no matching constructor for initialization of 'Query' > q = new Query( s, this ); > ^ ~~~~~~~ >db/query.h:25:5: note: candidate constructor not viable: no known conversion from 'ListMailboxes *' to 'EventHandler *' for 2nd argument > Query( const EString &, EventHandler * ); > ^ >db/query.h:26:5: note: candidate constructor not viable: no known conversion from 'ListMailboxes *' to 'EventHandler *' for 2nd argument > Query( const PreparedStatement &, EventHandler * ); > ^ >db/query.h:24:5: note: candidate constructor not viable: requires at most 1 argument, but 2 were provided > Query( EventHandler * = 0 ); > ^ >db/query.h:20:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided >class Query > ^ >aox/mailboxes.cpp:191:25: error: cannot initialize a parameter of type 'class EventHandler *' with an rvalue of type 'CreateMailbox *' > Mailbox::setup( this ); > ^~~~ >server/mailbox.h:50:45: note: passing argument to parameter here > static void setup( class EventHandler * = 0 ); > ^ >aox/mailboxes.cpp:196:31: error: cannot initialize a parameter of type 'EventHandler *' with an rvalue of type 'CreateMailbox *' > d->user->refresh( this ); > ^~~~ >server/user.h:51:34: note: passing argument to parameter here > void refresh( EventHandler * ); > ^ >aox/mailboxes.cpp:217:20: error: no matching constructor for initialization of 'Transaction' > d->t = new Transaction( this ); > ^ ~~~~ >db/transaction.h:15:7: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'CreateMailbox *' to 'const Transaction' for 1st argument >class Transaction > ^ >db/transaction.h:15:7: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'CreateMailbox *' to 'Transaction' for 1st argument >db/transaction.h:19:5: note: candidate constructor not viable: no known conversion from 'CreateMailbox *' to 'EventHandler *' for 1st argument > Transaction( EventHandler * ); > ^ >aox/mailboxes.cpp:285:25: error: cannot initialize a parameter of type 'class EventHandler *' with an rvalue of type 'DeleteMailbox *' > Mailbox::setup( this ); > ^~~~ >server/mailbox.h:50:45: note: passing argument to parameter here > static void setup( class EventHandler * = 0 ); > ^ >aox/mailboxes.cpp:296:20: error: no matching constructor for initialization of 'Transaction' > d->t = new Transaction( this ); > ^ ~~~~ >db/transaction.h:15:7: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'DeleteMailbox *' to 'const Transaction' for 1st argument >class Transaction > ^ >db/transaction.h:15:7: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'DeleteMailbox *' to 'Transaction' for 1st argument >db/transaction.h:19:5: note: candidate constructor not viable: no known conversion from 'DeleteMailbox *' to 'EventHandler *' for 1st argument > Transaction( EventHandler * ); > ^ >aox/mailboxes.cpp:297:28: error: no matching constructor for initialization of 'Query' > Query * lock = new Query( "select * from mailboxes where " > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >db/query.h:25:5: note: candidate constructor not viable: no known conversion from 'DeleteMailbox *' to 'EventHandler *' for 2nd argument > Query( const EString &, EventHandler * ); > ^ >db/query.h:26:5: note: candidate constructor not viable: no known conversion from 'const char[47]' to 'const PreparedStatement' for 1st argument > Query( const PreparedStatement &, EventHandler * ); > ^ >db/query.h:24:5: note: candidate constructor not viable: requires at most 1 argument, but 2 were provided > Query( EventHandler * = 0 ); > ^ >db/query.h:20:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided >class Query > ^ >aox/mailboxes.cpp:305:28: error: no matching constructor for initialization of 'Query' > d->count = new Query( > ^ >db/query.h:25:5: note: candidate constructor not viable: no known conversion from 'DeleteMailbox *' to 'EventHandler *' for 2nd argument > Query( const EString &, EventHandler * ); > ^ >db/query.h:26:5: note: candidate constructor not viable: no known conversion from 'const char[149]' to 'const PreparedStatement' for 1st argument > Query( const PreparedStatement &, EventHandler * ); > ^ >db/query.h:24:5: note: candidate constructor not viable: requires at most 1 argument, but 2 were provided > Query( EventHandler * = 0 ); > ^ >db/query.h:20:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided >class Query > ^ >aox/mailboxes.cpp:334:25: error: no matching constructor for initialization of 'Query' > Query * q = new Query( > ^ >db/query.h:25:5: note: candidate constructor not viable: no known conversion from 'DeleteMailbox *' to 'EventHandler *' for 2nd argument > Query( const EString &, EventHandler * ); > ^ >db/query.h:26:5: note: candidate constructor not viable: no known conversion from 'const char[155]' to 'const PreparedStatement' for 1st argument > Query( const PreparedStatement &, EventHandler * ); > ^ >db/query.h:24:5: note: candidate constructor not viable: requires at most 1 argument, but 2 were provided > Query( EventHandler * = 0 ); > ^ >db/query.h:20:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided >class Query > ^ >aox/mailboxes.cpp:352:17: error: no matching constructor for initialization of 'Query' > q = new Query( > ^ >db/query.h:25:5: note: candidate constructor not viable: no known conversion from 'DeleteMailbox *' to 'EventHandler *' for 2nd argument > Query( const EString &, EventHandler * ); > ^ >db/query.h:26:5: note: candidate constructor not viable: no known conversion from 'const char[249]' to 'const PreparedStatement' for 1st argument > Query( const PreparedStatement &, EventHandler * ); > ^ >db/query.h:24:5: note: candidate constructor not viable: requires at most 1 argument, but 2 were provided > Query( EventHandler * = 0 ); > ^ >db/query.h:20:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided >class Query > ^ >11 errors generated. > >clang -c -o build/clang/aox/users.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -pthread -O3 -Iaox -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations -Ilogd -Iaox aox/users.cpp > >In file included from aox/users.cpp:3: >In file included from aox/users.h:6: >aox/aoxcommand.h:16:14: error: expected class name > : public EventHandler > ^ >aox/users.cpp:55:17: error: no matching constructor for initialization of 'Query' > q = new Query( s, this ); > ^ ~~~~~~~ >db/query.h:25:5: note: candidate constructor not viable: no known conversion from 'ListUsers *' to 'EventHandler *' for 2nd argument > Query( const EString &, EventHandler * ); > ^ >db/query.h:26:5: note: candidate constructor not viable: no known conversion from 'ListUsers *' to 'EventHandler *' for 2nd argument > Query( const PreparedStatement &, EventHandler * ); > ^ >db/query.h:24:5: note: candidate constructor not viable: requires at most 1 argument, but 2 were provided > Query( EventHandler * = 0 ); > ^ >db/query.h:20:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided >class Query > ^ >aox/users.cpp:158:25: error: cannot initialize a parameter of type 'class EventHandler *' with an rvalue of type 'CreateUser *' > Mailbox::setup( this ); > ^~~~ >server/mailbox.h:50:45: note: passing argument to parameter here > static void setup( class EventHandler * = 0 ); > ^ >aox/users.cpp:164:27: error: cannot initialize a parameter of type 'EventHandler *' with an rvalue of type 'CreateUser *' > d->user->refresh( this ); > ^~~~ >server/user.h:51:34: note: passing argument to parameter here > void refresh( EventHandler * ); > ^ >aox/users.cpp:177:37: error: cannot initialize a parameter of type 'EventHandler *' with an rvalue of type 'CreateUser *' > d->query = d->user->create( this ); > ^~~~ >server/user.h:52:36: note: passing argument to parameter here > Query * create( EventHandler * ); > ^ >aox/users.cpp:241:25: error: cannot initialize a parameter of type 'class EventHandler *' with an rvalue of type 'DeleteUser *' > Mailbox::setup( this ); > ^~~~ >server/mailbox.h:50:45: note: passing argument to parameter here > static void setup( class EventHandler * = 0 ); > ^ >aox/users.cpp:245:27: error: cannot initialize a parameter of type 'EventHandler *' with an rvalue of type 'DeleteUser *' > d->user->refresh( this ); > ^~~~ >server/user.h:51:34: note: passing argument to parameter here > void refresh( EventHandler * ); > ^ >aox/users.cpp:247:20: error: no matching constructor for initialization of 'Transaction' > d->t = new Transaction( this ); > ^ ~~~~ >db/transaction.h:15:7: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'DeleteUser *' to 'const Transaction' for 1st argument >class Transaction > ^ >db/transaction.h:15:7: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'DeleteUser *' to 'Transaction' for 1st argument >db/transaction.h:19:5: note: candidate constructor not viable: no known conversion from 'DeleteUser *' to 'EventHandler *' for 1st argument > Transaction( EventHandler * ); > ^ >aox/users.cpp:250:17: error: no matching constructor for initialization of 'Query' > new Query( > ^ >db/query.h:25:5: note: candidate constructor not viable: no known conversion from 'DeleteUser *' to 'EventHandler *' for 2nd argument > Query( const EString &, EventHandler * ); > ^ >db/query.h:26:5: note: candidate constructor not viable: no known conversion from 'const char[165]' to 'const PreparedStatement' for 1st argument > Query( const PreparedStatement &, EventHandler * ); > ^ >db/query.h:24:5: note: candidate constructor not viable: requires at most 1 argument, but 2 were provided > Query( EventHandler * = 0 ); > ^ >db/query.h:20:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided >class Query > ^ >aox/users.cpp:406:30: error: cannot initialize a parameter of type 'EventHandler *' with an rvalue of type 'ChangePassword *' > q = u->changeSecret( this ); > ^~~~ >server/user.h:54:42: note: passing argument to parameter here > Query * changeSecret( EventHandler * ); > ^ >aox/users.cpp:472:25: error: cannot initialize a parameter of type 'class EventHandler *' with an rvalue of type 'ChangeUsername *' > Mailbox::setup( this ); > ^~~~ >server/mailbox.h:50:45: note: passing argument to parameter here > static void setup( class EventHandler * = 0 ); > ^ >aox/users.cpp:476:27: error: cannot initialize a parameter of type 'EventHandler *' with an rvalue of type 'ChangeUsername *' > d->user->refresh( this ); > ^~~~ >server/user.h:51:34: note: passing argument to parameter here > void refresh( EventHandler * ); > ^ >aox/users.cpp:489:20: error: no matching constructor for initialization of 'Transaction' > d->t = new Transaction( this ); > ^ ~~~~ >db/transaction.h:15:7: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'ChangeUsername *' to 'const Transaction' for 1st argument >class Transaction > ^ >db/transaction.h:15:7: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'ChangeUsername *' to 'Transaction' for 1st argument >db/transaction.h:19:5: note: candidate constructor not viable: no known conversion from 'ChangeUsername *' to 'EventHandler *' for 1st argument > Transaction( EventHandler * ); > ^ >aox/users.cpp:492:17: error: no matching constructor for initialization of 'Query' > new Query( "update users set login=$2 where id=$1", this ); > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >db/query.h:25:5: note: candidate constructor not viable: no known conversion from 'ChangeUsername *' to 'EventHandler *' for 2nd argument > Query( const EString &, EventHandler * ); > ^ >db/query.h:26:5: note: candidate constructor not viable: no known conversion from 'const char[38]' to 'const PreparedStatement' for 1st argument > Query( const PreparedStatement &, EventHandler * ); > ^ >db/query.h:24:5: note: candidate constructor not viable: requires at most 1 argument, but 2 were provided > Query( EventHandler * = 0 ); > ^ >db/query.h:20:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided >class Query > ^ >aox/users.cpp:498:17: error: no matching constructor for initialization of 'Query' > new Query( "select name from mailboxes where deleted='f' and " > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >db/query.h:25:5: note: candidate constructor not viable: no known conversion from 'ChangeUsername *' to 'EventHandler *' for 2nd argument > Query( const EString &, EventHandler * ); > ^ >db/query.h:26:5: note: candidate constructor not viable: no known conversion from 'const char[110]' to 'const PreparedStatement' for 1st argument > Query( const PreparedStatement &, EventHandler * ); > ^ >db/query.h:24:5: note: candidate constructor not viable: requires at most 1 argument, but 2 were provided > Query( EventHandler * = 0 ); > ^ >db/query.h:20:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided >class Query > ^ >aox/users.cpp:530:25: error: no matching constructor for initialization of 'Query' > q = new Query( "delete from mailboxes where id=$1", this ); > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >db/query.h:25:5: note: candidate constructor not viable: no known conversion from 'ChangeUsername *' to 'EventHandler *' for 2nd argument > Query( const EString &, EventHandler * ); > ^ >db/query.h:26:5: note: candidate constructor not viable: no known conversion from 'const char[34]' to 'const PreparedStatement' for 1st argument > Query( const PreparedStatement &, EventHandler * ); > ^ >db/query.h:24:5: note: candidate constructor not viable: requires at most 1 argument, but 2 were provided > Query( EventHandler * = 0 ); > ^ >db/query.h:20:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided >class Query > ^ >aox/users.cpp:535:21: error: no matching constructor for initialization of 'Query' > q = new Query( "update mailboxes set name=$2,uidvalidity=$3 " > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >db/query.h:25:5: note: candidate constructor not viable: no known conversion from 'ChangeUsername *' to 'EventHandler *' for 2nd argument > Query( const EString &, EventHandler * ); > ^ >db/query.h:26:5: note: candidate constructor not viable: no known conversion from 'const char[56]' to 'const PreparedStatement' for 1st argument > Query( const PreparedStatement &, EventHandler * ); > ^ >db/query.h:24:5: note: candidate constructor not viable: requires at most 1 argument, but 2 were provided > Query( EventHandler * = 0 ); > ^ >db/query.h:20:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided >class Query > ^ >aox/users.cpp:612:25: error: cannot initialize a parameter of type 'class EventHandler *' with an rvalue of type 'ChangeAddress *' > Mailbox::setup( this ); > ^~~~ >server/mailbox.h:50:45: note: passing argument to parameter here > static void setup( class EventHandler * = 0 ); > ^ >aox/users.cpp:617:27: error: cannot initialize a parameter of type 'EventHandler *' with an rvalue of type 'ChangeAddress *' > d->user->refresh( this ); > ^~~~ >server/user.h:51:34: note: passing argument to parameter here > void refresh( EventHandler * ); > ^ >fatal error: too many errors emitted, stopping now [-ferror-limit=] >20 errors generated. > >clang -c -o build/clang/aox/stats.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -pthread -O3 -Iaox -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations -Ilogd -Iaox aox/stats.cpp > >In file included from aox/stats.cpp:3: >In file included from aox/stats.h:6: >aox/aoxcommand.h:16:14: error: expected class name > : public EventHandler > ^ >aox/stats.cpp:66:24: error: no matching constructor for initialization of 'Query' > d->query = new Query( > ^ >db/query.h:25:5: note: candidate constructor not viable: no known conversion from 'ShowCounts *' to 'EventHandler *' for 2nd argument > Query( const EString &, EventHandler * ); > ^ >db/query.h:26:5: note: candidate constructor not viable: no known conversion from 'ShowCounts *' to 'EventHandler *' for 2nd argument > Query( const PreparedStatement &, EventHandler * ); > ^ >db/query.h:24:5: note: candidate constructor not viable: requires at most 1 argument, but 2 were provided > Query( EventHandler * = 0 ); > ^ >db/query.h:20:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided >class Query > ^ >aox/stats.cpp:108:17: error: no matching constructor for initialization of 'Query' > new Query( "select count(*)::int as messages, " > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >db/query.h:25:5: note: candidate constructor not viable: no known conversion from 'ShowCounts *' to 'EventHandler *' for 2nd argument > Query( const EString &, EventHandler * ); > ^ >db/query.h:26:5: note: candidate constructor not viable: no known conversion from 'const char[201]' to 'const PreparedStatement' for 1st argument > Query( const PreparedStatement &, EventHandler * ); > ^ >db/query.h:24:5: note: candidate constructor not viable: requires at most 1 argument, but 2 were provided > Query( EventHandler * = 0 ); > ^ >db/query.h:20:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided >class Query > ^ >aox/stats.cpp:139:17: error: no matching constructor for initialization of 'Query' > new Query( "select count(*)::int as bodyparts," > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >db/query.h:25:5: note: candidate constructor not viable: no known conversion from 'ShowCounts *' to 'EventHandler *' for 2nd argument > Query( const EString &, EventHandler * ); > ^ >db/query.h:26:5: note: candidate constructor not viable: no known conversion from 'const char[149]' to 'const PreparedStatement' for 1st argument > Query( const PreparedStatement &, EventHandler * ); > ^ >db/query.h:24:5: note: candidate constructor not viable: requires at most 1 argument, but 2 were provided > Query( EventHandler * = 0 ); > ^ >db/query.h:20:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided >class Query > ^ >aox/stats.cpp:161:17: error: no matching constructor for initialization of 'Query' > new Query( "select count(*)::int as addresses " > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >db/query.h:25:5: note: candidate constructor not viable: no known conversion from 'ShowCounts *' to 'EventHandler *' for 2nd argument > Query( const EString &, EventHandler * ); > ^ >db/query.h:26:5: note: candidate constructor not viable: no known conversion from 'const char[49]' to 'const PreparedStatement' for 1st argument > Query( const PreparedStatement &, EventHandler * ); > ^ >db/query.h:24:5: note: candidate constructor not viable: requires at most 1 argument, but 2 were provided > Query( EventHandler * = 0 ); > ^ >db/query.h:20:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided >class Query > ^ >5 errors generated. > >clang -c -o build/clang/aox/updatedb.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -pthread -O3 -Iaox -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations -Ilogd -Iaox aox/updatedb.cpp > >In file included from aox/updatedb.cpp:3: >In file included from aox/updatedb.h:6: >aox/aoxcommand.h:16:14: error: expected class name > : public EventHandler > ^ >In file included from aox/updatedb.cpp:12: >In file included from message/helperrowcreator.h:6: >message/injector.h:49:14: error: base class has incomplete type > : public EventHandler > ~~~~~~~^~~~~~~~~~~~ >db/database.h:46:36: note: forward declaration of 'EventHandler' > static void checkSchema( class EventHandler * ); > ^ >In file included from aox/updatedb.cpp:12: >message/helperrowcreator.h:14:14: error: base class has incomplete type > : public EventHandler > ~~~~~~~^~~~~~~~~~~~ >db/database.h:46:36: note: forward declaration of 'EventHandler' > static void checkSchema( class EventHandler * ); > ^ >aox/updatedb.cpp:94:19: error: no matching constructor for initialization of 'Query' > = new Query( "select count(*)::integer as threadnull " > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >db/query.h:25:5: note: candidate constructor not viable: no known conversion from 'UpdateDatabase *' to 'EventHandler *' for 2nd argument > Query( const EString &, EventHandler * ); > ^ >db/query.h:26:5: note: candidate constructor not viable: no known conversion from 'const char[79]' to 'const PreparedStatement' for 1st argument > Query( const PreparedStatement &, EventHandler * ); > ^ >db/query.h:24:5: note: candidate constructor not viable: requires at most 1 argument, but 2 were provided > Query( EventHandler * = 0 ); > ^ >db/query.h:20:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided >class Query > ^ >aox/updatedb.cpp:120:20: error: no matching constructor for initialization of 'Transaction' > d->t = new Transaction( this ); > ^ ~~~~ >db/transaction.h:15:7: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'UpdateDatabase *' to 'const Transaction' for 1st argument >class Transaction > ^ >db/transaction.h:15:7: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'UpdateDatabase *' to 'Transaction' for 1st argument >db/transaction.h:19:5: note: candidate constructor not viable: no known conversion from 'UpdateDatabase *' to 'EventHandler *' for 1st argument > Transaction( EventHandler * ); > ^ >aox/updatedb.cpp:122:19: error: no matching constructor for initialization of 'Query' > = new Query( "select m.id, msgid.value as messageid, " > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >db/query.h:25:5: note: candidate constructor not viable: no known conversion from 'UpdateDatabase *' to 'EventHandler *' for 2nd argument > Query( const EString &, EventHandler * ); > ^ >db/query.h:26:5: note: candidate constructor not viable: no known conversion from 'const char[311]' to 'const PreparedStatement' for 1st argument > Query( const PreparedStatement &, EventHandler * ); > ^ >db/query.h:24:5: note: candidate constructor not viable: requires at most 1 argument, but 2 were provided > Query( EventHandler * = 0 ); > ^ >db/query.h:20:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided >class Query > ^ >aox/updatedb.cpp:183:9: error: cannot initialize object parameter of type 'HelperRowCreator' with an expression of type 'ThreadRootCreator' > d->threader->execute(); > ^~~~~~~~~~~ >aox/updatedb.cpp:184:23: error: no matching constructor for initialization of 'Query' > d->temp = new Query( "create temporary table md (" > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >db/query.h:25:5: note: candidate constructor not viable: no known conversion from 'UpdateDatabase *' to 'EventHandler *' for 2nd argument > Query( const EString &, EventHandler * ); > ^ >db/query.h:26:5: note: candidate constructor not viable: no known conversion from 'const char[79]' to 'const PreparedStatement' for 1st argument > Query( const PreparedStatement &, EventHandler * ); > ^ >db/query.h:24:5: note: candidate constructor not viable: requires at most 1 argument, but 2 were provided > Query( EventHandler * = 0 ); > ^ >db/query.h:20:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided >class Query > ^ >aox/updatedb.cpp:232:25: error: no matching constructor for initialization of 'Query' > d->update = new Query( "update messages set " > ^ ~~~~~~~~~~~~~~~~~~~~~~ >db/query.h:25:5: note: candidate constructor not viable: no known conversion from 'UpdateDatabase *' to 'EventHandler *' for 2nd argument > Query( const EString &, EventHandler * ); > ^ >db/query.h:26:5: note: candidate constructor not viable: no known conversion from 'const char[75]' to 'const PreparedStatement' for 1st argument > Query( const PreparedStatement &, EventHandler * ); > ^ >db/query.h:24:5: note: candidate constructor not viable: requires at most 1 argument, but 2 were provided > Query( EventHandler * = 0 ); > ^ >db/query.h:20:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided >class Query > ^ >9 errors generated. > >clang -c -o build/clang/aox/rights.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -pthread -O3 -Iaox -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations -Ilogd -Iaox aox/rights.cpp > >In file included from aox/rights.cpp:3: >In file included from aox/rights.h:6: >aox/aoxcommand.h:16:14: error: expected class name > : public EventHandler > ^ >aox/rights.cpp:67:25: error: cannot initialize a parameter of type 'class EventHandler *' with an rvalue of type 'ListRights *' > Mailbox::setup( this ); > ^~~~ >server/mailbox.h:50:45: note: passing argument to parameter here > static void setup( class EventHandler * = 0 ); > ^ >aox/rights.cpp:84:20: error: no matching constructor for initialization of 'Query' > d->q = new Query( s, this ); > ^ ~~~~~~~ >db/query.h:25:5: note: candidate constructor not viable: no known conversion from 'ListRights *' to 'EventHandler *' for 2nd argument > Query( const EString &, EventHandler * ); > ^ >db/query.h:26:5: note: candidate constructor not viable: no known conversion from 'ListRights *' to 'EventHandler *' for 2nd argument > Query( const PreparedStatement &, EventHandler * ); > ^ >db/query.h:24:5: note: candidate constructor not viable: requires at most 1 argument, but 2 were provided > Query( EventHandler * = 0 ); > ^ >db/query.h:20:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided >class Query > ^ >aox/rights.cpp:209:25: error: cannot initialize a parameter of type 'class EventHandler *' with an rvalue of type 'SetAcl *' > Mailbox::setup( this ); > ^~~~ >server/mailbox.h:50:45: note: passing argument to parameter here > static void setup( class EventHandler * = 0 ); > ^ >aox/rights.cpp:214:31: error: cannot initialize a parameter of type 'EventHandler *' with an rvalue of type 'SetAcl *' > d->user->refresh( this ); > ^~~~ >server/user.h:51:34: note: passing argument to parameter here > void refresh( EventHandler * ); > ^ >aox/rights.cpp:236:20: error: no matching constructor for initialization of 'Transaction' > d->t = new Transaction( this ); > ^ ~~~~ >db/transaction.h:15:7: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'SetAcl *' to 'const Transaction' for 1st argument >class Transaction > ^ >db/transaction.h:15:7: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'SetAcl *' to 'Transaction' for 1st argument >db/transaction.h:19:5: note: candidate constructor not viable: no known conversion from 'SetAcl *' to 'EventHandler *' for 1st argument > Transaction( EventHandler * ); > ^ >aox/rights.cpp:237:25: error: no matching constructor for initialization of 'Query' > Query * q = new Query( "lock permissions in exclusive mode", this ); > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >db/query.h:25:5: note: candidate constructor not viable: no known conversion from 'SetAcl *' to 'EventHandler *' for 2nd argument > Query( const EString &, EventHandler * ); > ^ >db/query.h:26:5: note: candidate constructor not viable: no known conversion from 'const char[35]' to 'const PreparedStatement' for 1st argument > Query( const PreparedStatement &, EventHandler * ); > ^ >db/query.h:24:5: note: candidate constructor not viable: requires at most 1 argument, but 2 were provided > Query( EventHandler * = 0 ); > ^ >db/query.h:20:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided >class Query > ^ >aox/rights.cpp:239:24: error: no matching constructor for initialization of 'Query' > d->fetch = new Query( "select rights from permissions where " > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >db/query.h:25:5: note: candidate constructor not viable: no known conversion from 'SetAcl *' to 'EventHandler *' for 2nd argument > Query( const EString &, EventHandler * ); > ^ >db/query.h:26:5: note: candidate constructor not viable: no known conversion from 'const char[66]' to 'const PreparedStatement' for 1st argument > Query( const PreparedStatement &, EventHandler * ); > ^ >db/query.h:24:5: note: candidate constructor not viable: requires at most 1 argument, but 2 were provided > Query( EventHandler * = 0 ); > ^ >db/query.h:20:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided >class Query > ^ >aox/rights.cpp:260:21: error: no matching constructor for initialization of 'Query' > new Query( "delete from permissions where mailbox=$1 " > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >db/query.h:25:5: note: candidate constructor not viable: no known conversion from 'SetAcl *' to 'EventHandler *' for 2nd argument > Query( const EString &, EventHandler * ); > ^ >db/query.h:26:5: note: candidate constructor not viable: no known conversion from 'const char[59]' to 'const PreparedStatement' for 1st argument > Query( const PreparedStatement &, EventHandler * ); > ^ >db/query.h:24:5: note: candidate constructor not viable: requires at most 1 argument, but 2 were provided > Query( EventHandler * = 0 ); > ^ >db/query.h:20:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided >class Query > ^ >aox/rights.cpp:274:32: error: no matching constructor for initialization of 'Query' > d->store = new Query( "update permissions set rights=$3 " > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >db/query.h:25:5: note: candidate constructor not viable: no known conversion from 'SetAcl *' to 'EventHandler *' for 2nd argument > Query( const EString &, EventHandler * ); > ^ >db/query.h:26:5: note: candidate constructor not viable: no known conversion from 'const char[68]' to 'const PreparedStatement' for 1st argument > Query( const PreparedStatement &, EventHandler * ); > ^ >db/query.h:24:5: note: candidate constructor not viable: requires at most 1 argument, but 2 were provided > Query( EventHandler * = 0 ); > ^ >db/query.h:20:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided >class Query > ^ >aox/rights.cpp:278:32: error: no matching constructor for initialization of 'Query' > d->store = new Query( "insert into permissions " > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ >db/query.h:25:5: note: candidate constructor not viable: no known conversion from 'SetAcl *' to 'EventHandler *' for 2nd argument > Query( const EString &, EventHandler * ); > ^ >db/query.h:26:5: note: candidate constructor not viable: no known conversion from 'const char[70]' to 'const PreparedStatement' for 1st argument > Query( const PreparedStatement &, EventHandler * ); > ^ >db/query.h:24:5: note: candidate constructor not viable: requires at most 1 argument, but 2 were provided > Query( EventHandler * = 0 ); > ^ >db/query.h:20:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided >class Query > ^ >11 errors generated. > >clang -c -o build/clang/aox/help.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -pthread -O3 -Iaox -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations -Ilogd -Iaox aox/help.cpp > >In file included from aox/help.cpp:3: >In file included from aox/help.h:6: >aox/aoxcommand.h:16:14: error: expected class name > : public EventHandler > ^ >1 error generated. > >clang -c -o build/clang/aox/undelete.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -pthread -O3 -Iaox -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations -Ilogd -Iaox aox/undelete.cpp > >In file included from aox/undelete.cpp:3: >In file included from aox/undelete.h:6: >aox/aoxcommand.h:16:14: error: expected class name > : public EventHandler > ^ >aox/undelete.cpp:87:20: error: no matching constructor for initialization of 'Transaction' > d->t = new Transaction( this ); > ^ ~~~~ >db/transaction.h:15:7: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'Undelete *' to 'const Transaction' for 1st argument >class Transaction > ^ >db/transaction.h:15:7: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'Undelete *' to 'Transaction' for 1st argument >db/transaction.h:19:5: note: candidate constructor not viable: no known conversion from 'Undelete *' to 'EventHandler *' for 1st argument > Transaction( EventHandler * ); > ^ >aox/undelete.cpp:110:26: error: no matching constructor for initialization of 'Query' > d->uidnext = new Query( "select uidnext, nextmodseq " > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >db/query.h:25:5: note: candidate constructor not viable: no known conversion from 'Undelete *' to 'EventHandler *' for 2nd argument > Query( const EString &, EventHandler * ); > ^ >db/query.h:26:5: note: candidate constructor not viable: no known conversion from 'const char[65]' to 'const PreparedStatement' for 1st argument > Query( const PreparedStatement &, EventHandler * ); > ^ >db/query.h:24:5: note: candidate constructor not viable: requires at most 1 argument, but 2 were provided > Query( EventHandler * = 0 ); > ^ >db/query.h:20:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided >class Query > ^ >3 errors generated. > >clang -c -o build/clang/aox/queue.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -pthread -O3 -Iaox -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations -Ilogd -Iaox aox/queue.cpp > >In file included from aox/queue.cpp:3: >In file included from aox/queue.h:6: >aox/aoxcommand.h:16:14: error: expected class name > : public EventHandler > ^ >aox/queue.cpp:51:17: error: no matching constructor for initialization of 'Query' > q = new Query( s, this ); > ^ ~~~~~~~ >db/query.h:25:5: note: candidate constructor not viable: no known conversion from 'ShowQueue *' to 'EventHandler *' for 2nd argument > Query( const EString &, EventHandler * ); > ^ >db/query.h:26:5: note: candidate constructor not viable: no known conversion from 'ShowQueue *' to 'EventHandler *' for 2nd argument > Query( const PreparedStatement &, EventHandler * ); > ^ >db/query.h:24:5: note: candidate constructor not viable: requires at most 1 argument, but 2 were provided > Query( EventHandler * = 0 ); > ^ >db/query.h:20:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided >class Query > ^ >aox/queue.cpp:97:22: error: no matching constructor for initialization of 'Query' > qr = new Query( s, this ); > ^ ~~~~~~~ >db/query.h:25:5: note: candidate constructor not viable: no known conversion from 'ShowQueue *' to 'EventHandler *' for 2nd argument > Query( const EString &, EventHandler * ); > ^ >db/query.h:26:5: note: candidate constructor not viable: no known conversion from 'ShowQueue *' to 'EventHandler *' for 2nd argument > Query( const PreparedStatement &, EventHandler * ); > ^ >db/query.h:24:5: note: candidate constructor not viable: requires at most 1 argument, but 2 were provided > Query( EventHandler * = 0 ); > ^ >db/query.h:20:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided >class Query > ^ >aox/queue.cpp:178:17: error: no matching constructor for initialization of 'Transaction' > t = new Transaction( this ); > ^ ~~~~ >db/transaction.h:15:7: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'FlushQueue *' to 'const Transaction' for 1st argument >class Transaction > ^ >db/transaction.h:15:7: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'FlushQueue *' to 'Transaction' for 1st argument >db/transaction.h:19:5: note: candidate constructor not viable: no known conversion from 'FlushQueue *' to 'EventHandler *' for 1st argument > Transaction( EventHandler * ); > ^ >4 errors generated. > >clang -c -o build/clang/aox/search.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -pthread -O3 -Iaox -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations -Ilogd -Iaox aox/search.cpp > >In file included from aox/search.cpp:3: >In file included from aox/search.h:6: >aox/aoxcommand.h:16:14: error: expected class name > : public EventHandler > ^ >1 error generated. > >clang -c -o build/clang/aox/retention.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -pthread -O3 -Iaox -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations -Ilogd -Iaox aox/retention.cpp > >In file included from aox/retention.cpp:3: >In file included from aox/retention.h:6: >aox/aoxcommand.h:16:14: error: expected class name > : public EventHandler > ^ >aox/retention.cpp:119:20: error: no matching constructor for initialization of 'Transaction' > d->t = new Transaction( this ); > ^ ~~~~ >db/transaction.h:15:7: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'RetainMessages *' to 'const Transaction' for 1st argument >class Transaction > ^ >db/transaction.h:15:7: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'RetainMessages *' to 'Transaction' for 1st argument >db/transaction.h:19:5: note: candidate constructor not viable: no known conversion from 'RetainMessages *' to 'EventHandler *' for 1st argument > Transaction( EventHandler * ); > ^ >aox/retention.cpp:262:20: error: no matching constructor for initialization of 'Query' > d->q = new Query( q, this ); > ^ ~~~~~~~ >db/query.h:25:5: note: candidate constructor not viable: no known conversion from 'ShowRetention *' to 'EventHandler *' for 2nd argument > Query( const EString &, EventHandler * ); > ^ >db/query.h:26:5: note: candidate constructor not viable: no known conversion from 'ShowRetention *' to 'EventHandler *' for 2nd argument > Query( const PreparedStatement &, EventHandler * ); > ^ >db/query.h:24:5: note: candidate constructor not viable: requires at most 1 argument, but 2 were provided > Query( EventHandler * = 0 ); > ^ >db/query.h:20:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided >class Query > ^ >3 errors generated. > >clang -c -o build/clang/aox/searchsyntax.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -pthread -O3 -Iaox -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations -Ilogd -Iaox aox/searchsyntax.cpp > >...skipped aox for lack of <aox>aox.o... > >mkdir -p build/clang/recorder > > >clang -c -o build/clang/recorder/recorder.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -pthread -O3 -Irecorder -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations -Ilogd -Iaox recorder/recorder.cpp > > >clang -g -lstdc++ -pthread -L/usr/local/lib -lcrypto -lm -o bin/recorder build/clang/recorder/recorder.o build/clang/server/connection.o build/clang/server/endpoint.o build/clang/server/event.o build/clang/server/logclient.o build/clang/server/eventloop.o build/clang/server/server.o build/clang/server/timer.o build/clang/server/resolver.o build/clang/server/graph.o build/clang/server/integerset.o build/clang/server/egd.o build/clang/server/tlsthread.o build/clang/core/global.o build/clang/core/scope.o build/clang/core/estring.o build/clang/core/buffer.o build/clang/core/list.o build/clang/core/map.o build/clang/core/dict.o build/clang/core/allocator.o build/clang/core/md5.o build/clang/core/file.o build/clang/core/logger.o build/clang/core/log.o build/clang/core/configuration.o build/clang/core/estringlist.o build/clang/core/entropy.o build/clang/core/stderrlogger.o build/clang/core/cache.o build/clang/core/patriciatree.o -lssl -lcrypto -lz > > >chmod 711 bin/recorder > > >mkdir -p build/clang/installer > > >clang -c -o build/clang/installer/installer.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -pthread -O3 -DLIBDIR='"/usr/local/libdata/aox"' -DCONFIGDIR='"/usr/local/etc/archiveopteryx"' -DLOGFILE='"syslog/mail"' -DLOGFILEMODE='"400"' -DPSQL='"psql"' -DDBNAME='"archiveopteryx"' -DDBSCHEMA='"public"' -DDBOWNER='"aoxsuper"' -DDBOWNERPASS='""' -DDBPASS='""' -Iinstaller -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations -Ilogd -Iaox installer/installer.cpp > >In file included from installer/installer.cpp:13: >db/schema.h:14:14: error: base class has incomplete type > : public EventHandler > ~~~~~~~^~~~~~~~~~~~ >db/transaction.h:12:7: note: forward declaration of 'EventHandler' >class EventHandler; > ^ >In file included from installer/installer.cpp:14: >db/granter.h:10:14: error: base class has incomplete type > : public EventHandler > ~~~~~~~^~~~~~~~~~~~ >db/transaction.h:12:7: note: forward declaration of 'EventHandler' >class EventHandler; > ^ >installer/installer.cpp:777:14: error: base class has incomplete type > : public EventHandler > ~~~~~~~^~~~~~~~~~~~ >db/transaction.h:12:7: note: forward declaration of 'EventHandler' >class EventHandler; > ^ >installer/installer.cpp:930:20: error: no matching constructor for initialization of 'Query' > d->q = new Query( "select version() as version", d ); > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >db/query.h:25:5: note: candidate constructor not viable: no known conversion from 'class Dispatcher *' to 'EventHandler *' for 2nd argument > Query( const EString &, EventHandler * ); > ^ >db/query.h:26:5: note: candidate constructor not viable: no known conversion from 'const char[28]' to 'const PreparedStatement' for 1st argument > Query( const PreparedStatement &, EventHandler * ); > ^ >db/query.h:24:5: note: candidate constructor not viable: requires at most 1 argument, but 2 were provided > Query( EventHandler * = 0 ); > ^ >db/query.h:20:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided >class Query > ^ >installer/installer.cpp:964:20: error: no matching constructor for initialization of 'Query' > d->q = new Query( "select usename::text, " > ^ ~~~~~~~~~~~~~~~~~~~~~~~~ >db/query.h:25:5: note: candidate constructor not viable: no known conversion from 'class Dispatcher *' to 'EventHandler *' for 2nd argument > Query( const EString &, EventHandler * ); > ^ >db/query.h:26:5: note: candidate constructor not viable: no known conversion from 'const char[146]' to 'const PreparedStatement' for 1st argument > Query( const PreparedStatement &, EventHandler * ); > ^ >db/query.h:24:5: note: candidate constructor not viable: requires at most 1 argument, but 2 were provided > Query( EventHandler * = 0 ); > ^ >db/query.h:20:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided >class Query > ^ >installer/installer.cpp:1014:20: error: no matching constructor for initialization of 'Query' > d->q = new Query( "select usename::text from pg_catalog.pg_user " > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >db/query.h:25:5: note: candidate constructor not viable: no known conversion from 'class Dispatcher *' to 'EventHandler *' for 2nd argument > Query( const EString &, EventHandler * ); > ^ >db/query.h:26:5: note: candidate constructor not viable: no known conversion from 'const char[62]' to 'const PreparedStatement' for 1st argument > Query( const PreparedStatement &, EventHandler * ); > ^ >db/query.h:24:5: note: candidate constructor not viable: requires at most 1 argument, but 2 were provided > Query( EventHandler * = 0 ); > ^ >db/query.h:20:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided >class Query > ^ >installer/installer.cpp:1045:28: error: no matching constructor for initialization of 'Query' > d->u = new Query( create, d ); > ^ ~~~~~~~~~ >db/query.h:25:5: note: candidate constructor not viable: no known conversion from 'class Dispatcher *' to 'EventHandler *' for 2nd argument > Query( const EString &, EventHandler * ); > ^ >db/query.h:26:5: note: candidate constructor not viable: no known conversion from 'class Dispatcher *' to 'EventHandler *' for 2nd argument > Query( const PreparedStatement &, EventHandler * ); > ^ >db/query.h:24:5: note: candidate constructor not viable: requires at most 1 argument, but 2 were provided > Query( EventHandler * = 0 ); > ^ >db/query.h:20:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided >class Query > ^ >installer/installer.cpp:1074:20: error: no matching constructor for initialization of 'Query' > d->q = new Query( "select usename::text from pg_catalog.pg_user " > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >db/query.h:25:5: note: candidate constructor not viable: no known conversion from 'class Dispatcher *' to 'EventHandler *' for 2nd argument > Query( const EString &, EventHandler * ); > ^ >db/query.h:26:5: note: candidate constructor not viable: no known conversion from 'const char[62]' to 'const PreparedStatement' for 1st argument > Query( const PreparedStatement &, EventHandler * ); > ^ >db/query.h:24:5: note: candidate constructor not viable: requires at most 1 argument, but 2 were provided > Query( EventHandler * = 0 ); > ^ >db/query.h:20:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided >class Query > ^ >installer/installer.cpp:1106:28: error: no matching constructor for initialization of 'Query' > d->u = new Query( create, d ); > ^ ~~~~~~~~~ >db/query.h:25:5: note: candidate constructor not viable: no known conversion from 'class Dispatcher *' to 'EventHandler *' for 2nd argument > Query( const EString &, EventHandler * ); > ^ >db/query.h:26:5: note: candidate constructor not viable: no known conversion from 'class Dispatcher *' to 'EventHandler *' for 2nd argument > Query( const PreparedStatement &, EventHandler * ); > ^ >db/query.h:24:5: note: candidate constructor not viable: requires at most 1 argument, but 2 were provided > Query( EventHandler * = 0 ); > ^ >db/query.h:20:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided >class Query > ^ >installer/installer.cpp:1157:24: error: no matching constructor for initialization of 'Query' > d->u = new Query( create, d ); > ^ ~~~~~~~~~ >db/query.h:25:5: note: candidate constructor not viable: no known conversion from 'class Dispatcher *' to 'EventHandler *' for 2nd argument > Query( const EString &, EventHandler * ); > ^ >db/query.h:26:5: note: candidate constructor not viable: no known conversion from 'class Dispatcher *' to 'EventHandler *' for 2nd argument > Query( const PreparedStatement &, EventHandler * ); > ^ >db/query.h:24:5: note: candidate constructor not viable: requires at most 1 argument, but 2 were provided > Query( EventHandler * = 0 ); > ^ >db/query.h:20:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided >class Query > ^ >installer/installer.cpp:1198:20: error: no matching constructor for initialization of 'Query' > d->q = new Query( "select lanname::text from pg_catalog.pg_language " > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >db/query.h:25:5: note: candidate constructor not viable: no known conversion from 'class Dispatcher *' to 'EventHandler *' for 2nd argument > Query( const EString &, EventHandler * ); > ^ >db/query.h:26:5: note: candidate constructor not viable: no known conversion from 'const char[73]' to 'const PreparedStatement' for 1st argument > Query( const PreparedStatement &, EventHandler * ); > ^ >db/query.h:24:5: note: candidate constructor not viable: requires at most 1 argument, but 2 were provided > Query( EventHandler * = 0 ); > ^ >db/query.h:20:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided >class Query > ^ >installer/installer.cpp:1227:28: error: no matching constructor for initialization of 'Query' > d->u = new Query( create, d ); > ^ ~~~~~~~~~ >db/query.h:25:5: note: candidate constructor not viable: no known conversion from 'class Dispatcher *' to 'EventHandler *' for 2nd argument > Query( const EString &, EventHandler * ); > ^ >db/query.h:26:5: note: candidate constructor not viable: no known conversion from 'class Dispatcher *' to 'EventHandler *' for 2nd argument > Query( const PreparedStatement &, EventHandler * ); > ^ >db/query.h:24:5: note: candidate constructor not viable: requires at most 1 argument, but 2 were provided > Query( EventHandler * = 0 ); > ^ >db/query.h:20:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided >class Query > ^ >installer/installer.cpp:1267:20: error: no matching constructor for initialization of 'Query' > d->q = new Query( "select extname::text from pg_catalog.pg_extension " > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >db/query.h:25:5: note: candidate constructor not viable: no known conversion from 'class Dispatcher *' to 'EventHandler *' for 2nd argument > Query( const EString &, EventHandler * ); > ^ >db/query.h:26:5: note: candidate constructor not viable: no known conversion from 'const char[73]' to 'const PreparedStatement' for 1st argument > Query( const PreparedStatement &, EventHandler * ); > ^ >db/query.h:24:5: note: candidate constructor not viable: requires at most 1 argument, but 2 were provided > Query( EventHandler * = 0 ); > ^ >db/query.h:20:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided >class Query > ^ >installer/installer.cpp:1296:28: error: no matching constructor for initialization of 'Query' > d->u = new Query( create, d ); > ^ ~~~~~~~~~ >db/query.h:25:5: note: candidate constructor not viable: no known conversion from 'class Dispatcher *' to 'EventHandler *' for 2nd argument > Query( const EString &, EventHandler * ); > ^ >db/query.h:26:5: note: candidate constructor not viable: no known conversion from 'class Dispatcher *' to 'EventHandler *' for 2nd argument > Query( const PreparedStatement &, EventHandler * ); > ^ >db/query.h:24:5: note: candidate constructor not viable: requires at most 1 argument, but 2 were provided > Query( EventHandler * = 0 ); > ^ >db/query.h:20:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided >class Query > ^ >installer/installer.cpp:1348:20: error: no matching constructor for initialization of 'Query' > d->q = new Query( "select nspname::text from pg_catalog.pg_namespace " > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >db/query.h:25:5: note: candidate constructor not viable: no known conversion from 'class Dispatcher *' to 'EventHandler *' for 2nd argument > Query( const EString &, EventHandler * ); > ^ >db/query.h:26:5: note: candidate constructor not viable: no known conversion from 'const char[67]' to 'const PreparedStatement' for 1st argument > Query( const PreparedStatement &, EventHandler * ); > ^ >db/query.h:24:5: note: candidate constructor not viable: requires at most 1 argument, but 2 were provided > Query( EventHandler * = 0 ); > ^ >db/query.h:20:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided >class Query > ^ >installer/installer.cpp:1376:28: error: no matching constructor for initialization of 'Query' > d->u = new Query( create, d ); > ^ ~~~~~~~~~ >db/query.h:25:5: note: candidate constructor not viable: no known conversion from 'class Dispatcher *' to 'EventHandler *' for 2nd argument > Query( const EString &, EventHandler * ); > ^ >db/query.h:26:5: note: candidate constructor not viable: no known conversion from 'class Dispatcher *' to 'EventHandler *' for 2nd argument > Query( const PreparedStatement &, EventHandler * ); > ^ >db/query.h:24:5: note: candidate constructor not viable: requires at most 1 argument, but 2 were provided > Query( EventHandler * = 0 ); > ^ >db/query.h:20:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided >class Query > ^ >installer/installer.cpp:1422:24: error: no matching constructor for initialization of 'Query' > d->q = new Query( "select usename::text " > ^ ~~~~~~~~~~~~~~~~~~~~~~~ >db/query.h:25:5: note: candidate constructor not viable: no known conversion from 'class Dispatcher *' to 'EventHandler *' for 2nd argument > Query( const EString &, EventHandler * ); > ^ >db/query.h:26:5: note: candidate constructor not viable: no known conversion from 'const char[100]' to 'const PreparedStatement' for 1st argument > Query( const PreparedStatement &, EventHandler * ); > ^ >db/query.h:24:5: note: candidate constructor not viable: requires at most 1 argument, but 2 were provided > Query( EventHandler * = 0 ); > ^ >db/query.h:20:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided >class Query > ^ >installer/installer.cpp:1444:28: error: no matching constructor for initialization of 'Query' > d->u = new Query( alter, d ); > ^ ~~~~~~~~ >db/query.h:25:5: note: candidate constructor not viable: no known conversion from 'class Dispatcher *' to 'EventHandler *' for 2nd argument > Query( const EString &, EventHandler * ); > ^ >db/query.h:26:5: note: candidate constructor not viable: no known conversion from 'class Dispatcher *' to 'EventHandler *' for 2nd argument > Query( const PreparedStatement &, EventHandler * ); > ^ >db/query.h:24:5: note: candidate constructor not viable: requires at most 1 argument, but 2 were provided > Query( EventHandler * = 0 ); > ^ >db/query.h:20:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided >class Query > ^ >installer/installer.cpp:1478:28: error: no matching constructor for initialization of 'Query' > d->u = new Query( alter, d ); > ^ ~~~~~~~~ >db/query.h:25:5: note: candidate constructor not viable: no known conversion from 'class Dispatcher *' to 'EventHandler *' for 2nd argument > Query( const EString &, EventHandler * ); > ^ >db/query.h:26:5: note: candidate constructor not viable: no known conversion from 'class Dispatcher *' to 'EventHandler *' for 2nd argument > Query( const PreparedStatement &, EventHandler * ); > ^ >db/query.h:24:5: note: candidate constructor not viable: requires at most 1 argument, but 2 were provided > Query( EventHandler * = 0 ); > ^ >db/query.h:20:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided >class Query > ^ >fatal error: too many errors emitted, stopping now [-ferror-limit=] >20 errors generated. >...skipped installer for lack of <installer>installer.o... > >mkdir -p build/clang/archiveopteryx > > >clang -c -o build/clang/archiveopteryx/archiveopteryx.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -pthread -O3 -Iarchiveopteryx -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations -Ilogd -Iaox -Ipop archiveopteryx/archiveopteryx.cpp > >In file included from archiveopteryx/archiveopteryx.cpp:12: >message/flag.h:14:14: error: expected class name > : public EventHandler > ^ >1 error generated. > >mkdir -p build/clang/imap > > >mkdir -p build/clang/imap/handlers > > >clang -c -o build/clang/imap/handlers/acl.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Iimap/handlers -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap imap/handlers/acl.cpp > > >clang -c -o build/clang/imap/handlers/authenticate.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Iimap/handlers -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap imap/handlers/authenticate.cpp > > >clang -c -o build/clang/imap/handlers/append.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Iimap/handlers -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap imap/handlers/append.cpp > > >clang -c -o build/clang/imap/handlers/capability.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Iimap/handlers -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap imap/handlers/capability.cpp > > >clang -c -o build/clang/imap/handlers/close.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Iimap/handlers -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap imap/handlers/close.cpp > > >clang -c -o build/clang/imap/handlers/compress.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Iimap/handlers -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap imap/handlers/compress.cpp > > >clang -c -o build/clang/imap/handlers/copy.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Iimap/handlers -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap imap/handlers/copy.cpp > > >clang -c -o build/clang/imap/handlers/create.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Iimap/handlers -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap imap/handlers/create.cpp > > >clang -c -o build/clang/imap/handlers/delete.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Iimap/handlers -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap imap/handlers/delete.cpp > > >clang -c -o build/clang/imap/handlers/enable.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Iimap/handlers -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap imap/handlers/enable.cpp > > >clang -c -o build/clang/imap/handlers/expunge.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Iimap/handlers -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap imap/handlers/expunge.cpp > > >clang -c -o build/clang/imap/handlers/fetch.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Iimap/handlers -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap imap/handlers/fetch.cpp > > >clang -c -o build/clang/imap/handlers/genurlauth.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Iimap/handlers -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap imap/handlers/genurlauth.cpp > > >clang -c -o build/clang/imap/handlers/id.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Iimap/handlers -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap imap/handlers/id.cpp > > >clang -c -o build/clang/imap/handlers/idle.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Iimap/handlers -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap imap/handlers/idle.cpp > > >clang -c -o build/clang/imap/handlers/listext.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Iimap/handlers -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap imap/handlers/listext.cpp > > >clang -c -o build/clang/imap/handlers/login.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Iimap/handlers -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap imap/handlers/login.cpp > > >clang -c -o build/clang/imap/handlers/logout.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Iimap/handlers -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap imap/handlers/logout.cpp > > >clang -c -o build/clang/imap/handlers/lsub.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Iimap/handlers -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap imap/handlers/lsub.cpp > > >clang -c -o build/clang/imap/handlers/move.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Iimap/handlers -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap imap/handlers/move.cpp > > >clang -c -o build/clang/imap/handlers/namespace.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Iimap/handlers -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap imap/handlers/namespace.cpp > > >clang -c -o build/clang/imap/handlers/noop.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Iimap/handlers -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap imap/handlers/noop.cpp > > >clang -c -o build/clang/imap/handlers/notify.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Iimap/handlers -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap imap/handlers/notify.cpp > > >clang -c -o build/clang/imap/handlers/quota.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Iimap/handlers -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap imap/handlers/quota.cpp > > >clang -c -o build/clang/imap/handlers/rename.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Iimap/handlers -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap imap/handlers/rename.cpp > > >clang -c -o build/clang/imap/handlers/resetkey.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Iimap/handlers -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap imap/handlers/resetkey.cpp > > >clang -c -o build/clang/imap/handlers/search.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Iimap/handlers -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap imap/handlers/search.cpp > > >clang -c -o build/clang/imap/handlers/select.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Iimap/handlers -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap imap/handlers/select.cpp > > >clang -c -o build/clang/imap/handlers/sort.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Iimap/handlers -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap imap/handlers/sort.cpp > > >clang -c -o build/clang/imap/handlers/starttls.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Iimap/handlers -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap imap/handlers/starttls.cpp > > >clang -c -o build/clang/imap/handlers/status.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Iimap/handlers -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap imap/handlers/status.cpp > > >clang -c -o build/clang/imap/handlers/store.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Iimap/handlers -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap imap/handlers/store.cpp > > >clang -c -o build/clang/imap/handlers/subscribe.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Iimap/handlers -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap imap/handlers/subscribe.cpp > > >clang -c -o build/clang/imap/handlers/thread.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Iimap/handlers -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap imap/handlers/thread.cpp > > >clang -c -o build/clang/imap/handlers/unselect.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Iimap/handlers -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap imap/handlers/unselect.cpp > > >clang -c -o build/clang/imap/handlers/urlfetch.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Iimap/handlers -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap imap/handlers/urlfetch.cpp > > >clang -c -o build/clang/imap/imap.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Iimap -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap imap/imap.cpp > > >clang -c -o build/clang/imap/imapparser.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Iimap -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap imap/imapparser.cpp > > >clang -c -o build/clang/imap/imapsession.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Iimap -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap imap/imapsession.cpp > > >clang -c -o build/clang/imap/command.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Iimap -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap imap/command.cpp > > >clang -c -o build/clang/imap/imapurl.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Iimap -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap imap/imapurl.cpp > > >clang -c -o build/clang/imap/imapurlfetcher.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Iimap -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap imap/imapurlfetcher.cpp > >In file included from imap/imapurlfetcher.cpp:3: >imap/imapurlfetcher.h:12:14: error: expected class name > : public EventHandler > ^ >imap/imapurlfetcher.h:15:38: error: unknown type name 'EventHandler' > ImapUrlFetcher( List<ImapUrl> *, EventHandler *, bool ); > ^ >imap/imapurlfetcher.cpp:102:17: error: out-of-line definition of 'ImapUrlFetcher' does not match any declaration in 'ImapUrlFetcher' >ImapUrlFetcher::ImapUrlFetcher( List<ImapUrl> * l, EventHandler * ev, > ^~~~~~~~~~~~~~ >imap/imapurlfetcher.cpp:133:39: error: cannot initialize a parameter of type 'EventHandler *' with an rvalue of type 'ImapUrlFetcher *' > url->user()->refresh( this ); > ^~~~ >server/user.h:51:34: note: passing argument to parameter here > void refresh( EventHandler * ); > ^ >imap/imapurlfetcher.cpp:169:29: error: no matching constructor for initialization of 'Permissions' > p = new Permissions( m, user, this ); > ^ ~~~~~~~~~~~~~ >server/permissions.h:17:5: note: candidate constructor not viable: no known conversion from 'ImapUrlFetcher *' to 'class EventHandler *' for 3rd argument > Permissions( class Mailbox *, class User *, > ^ >server/permissions.h:15:5: note: candidate constructor not viable: no known conversion from 'User *' to 'const UString' for 2nd argument > Permissions( class Mailbox *, const UString &, const EString & ); > ^ >server/permissions.h:11:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 3 were provided >class Permissions > ^ >server/permissions.h:11:7: note: candidate constructor (the implicit move constructor) not viable: requires 1 argument, but 3 were provided >imap/imapurlfetcher.cpp:201:29: error: no matching constructor for initialization of 'Query' > it->q = new Query( "select key from access_keys where " > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >db/query.h:25:5: note: candidate constructor not viable: no known conversion from 'ImapUrlFetcher *' to 'EventHandler *' for 2nd argument > Query( const EString &, EventHandler * ); > ^ >db/query.h:26:5: note: candidate constructor not viable: no known conversion from 'const char[59]' to 'const PreparedStatement' for 1st argument > Query( const PreparedStatement &, EventHandler * ); > ^ >db/query.h:24:5: note: candidate constructor not viable: requires at most 1 argument, but 2 were provided > Query( EventHandler * = 0 ); > ^ >db/query.h:20:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided >class Query > ^ >imap/imapurlfetcher.cpp:344:31: error: no matching constructor for initialization of 'Fetcher' > Fetcher * f = new Fetcher( al, this, 0 ); > ^ ~~~~~~~~~~~ >message/fetcher.h:23:5: note: candidate constructor not viable: no known conversion from 'ImapUrlFetcher *' to 'EventHandler *' for 2nd argument > Fetcher( List<Message> *, EventHandler *, Connection * ); > ^ >message/fetcher.h:25:5: note: candidate constructor not viable: requires 2 arguments, but 3 were provided > Fetcher( Message *, EventHandler * ); > ^ >message/fetcher.h:19:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 3 were provided >class Fetcher > ^ >message/fetcher.h:19:7: note: candidate constructor (the implicit move constructor) not viable: requires 1 argument, but 3 were provided >imap/imapurlfetcher.cpp:349:31: error: no matching constructor for initialization of 'Fetcher' > Fetcher * f = new Fetcher( al, this, 0 ); > ^ ~~~~~~~~~~~ >message/fetcher.h:23:5: note: candidate constructor not viable: no known conversion from 'ImapUrlFetcher *' to 'EventHandler *' for 2nd argument > Fetcher( List<Message> *, EventHandler *, Connection * ); > ^ >message/fetcher.h:25:5: note: candidate constructor not viable: requires 2 arguments, but 3 were provided > Fetcher( Message *, EventHandler * ); > ^ >message/fetcher.h:19:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 3 were provided >class Fetcher > ^ >message/fetcher.h:19:7: note: candidate constructor (the implicit move constructor) not viable: requires 1 argument, but 3 were provided >imap/imapurlfetcher.cpp:354:31: error: no matching constructor for initialization of 'Fetcher' > Fetcher * f = new Fetcher( al, this, 0 ); > ^ ~~~~~~~~~~~ >message/fetcher.h:23:5: note: candidate constructor not viable: no known conversion from 'ImapUrlFetcher *' to 'EventHandler *' for 2nd argument > Fetcher( List<Message> *, EventHandler *, Connection * ); > ^ >message/fetcher.h:25:5: note: candidate constructor not viable: requires 2 arguments, but 3 were provided > Fetcher( Message *, EventHandler * ); > ^ >message/fetcher.h:19:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 3 were provided >class Fetcher > ^ >message/fetcher.h:19:7: note: candidate constructor (the implicit move constructor) not viable: requires 1 argument, but 3 were provided >imap/imapurlfetcher.cpp:360:30: error: no matching constructor for initialization of 'Query' > d->findIds = new Query( "", this ); > ^ ~~~~~~~~ >db/query.h:25:5: note: candidate constructor not viable: no known conversion from 'ImapUrlFetcher *' to 'EventHandler *' for 2nd argument > Query( const EString &, EventHandler * ); > ^ >db/query.h:26:5: note: candidate constructor not viable: no known conversion from 'const char[1]' to 'const PreparedStatement' for 1st argument > Query( const PreparedStatement &, EventHandler * ); > ^ >db/query.h:24:5: note: candidate constructor not viable: requires at most 1 argument, but 2 were provided > Query( EventHandler * = 0 ); > ^ >db/query.h:20:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided >class Query > ^ >10 errors generated. > >clang -c -o build/clang/imap/imapresponse.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Iimap -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap imap/imapresponse.cpp > > >clang -c -o build/clang/imap/mailboxgroup.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Iimap -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap imap/mailboxgroup.cpp > > >clang -c -o build/clang/imap/eventmap.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Iimap -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap imap/eventmap.cpp > >In file included from imap/eventmap.cpp:3: >imap/eventmap.h:47:14: error: expected class name > : public EventHandler > ^ >imap/eventmap.cpp:190:7: error: type 'EventHandler' is not a direct or virtual base of 'EventMap' > : EventHandler(), d( new EventMapData ) > ^~~~~~~~~~~~ >imap/eventmap.cpp:282:31: error: cannot initialize a parameter of type 'EventHandler *' with an rvalue of type 'EventMap *' > d->t = t->subTransaction( this ); > ^~~~ >db/transaction.h:46:50: note: passing argument to parameter here > Transaction * subTransaction( EventHandler * ); > ^ >imap/eventmap.cpp:287:30: error: no matching constructor for initialization of 'Query' > d->inboxes = new Query( > ^ >db/query.h:25:5: note: candidate constructor not viable: no known conversion from 'EventMap *' to 'EventHandler *' for 2nd argument > Query( const EString &, EventHandler * ); > ^ >db/query.h:26:5: note: candidate constructor not viable: no known conversion from 'const char[181]' to 'const PreparedStatement' for 1st argument > Query( const PreparedStatement &, EventHandler * ); > ^ >db/query.h:24:5: note: candidate constructor not viable: requires at most 1 argument, but 2 were provided > Query( EventHandler * = 0 ); > ^ >db/query.h:20:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided >class Query > ^ >imap/eventmap.cpp:301:31: error: no matching constructor for initialization of 'Query' > d->personal = new Query( > ^ >db/query.h:25:5: note: candidate constructor not viable: no known conversion from 'EventMap *' to 'EventHandler *' for 2nd argument > Query( const EString &, EventHandler * ); > ^ >db/query.h:26:5: note: candidate constructor not viable: no known conversion from 'const char[46]' to 'const PreparedStatement' for 1st argument > Query( const PreparedStatement &, EventHandler * ); > ^ >db/query.h:24:5: note: candidate constructor not viable: requires at most 1 argument, but 2 were provided > Query( EventHandler * = 0 ); > ^ >db/query.h:20:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided >class Query > ^ >imap/eventmap.cpp:310:33: error: no matching constructor for initialization of 'Query' > d->subscribed = new Query( > ^ >db/query.h:25:5: note: candidate constructor not viable: no known conversion from 'EventMap *' to 'EventHandler *' for 2nd argument > Query( const EString &, EventHandler * ); > ^ >db/query.h:26:5: note: candidate constructor not viable: no known conversion from 'const char[49]' to 'const PreparedStatement' for 1st argument > Query( const PreparedStatement &, EventHandler * ); > ^ >db/query.h:24:5: note: candidate constructor not viable: requires at most 1 argument, but 2 were provided > Query( EventHandler * = 0 ); > ^ >db/query.h:20:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided >class Query > ^ >6 errors generated. > >mkdir -p build/clang/pop > > >clang -c -o build/clang/pop/pop.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -pthread -O3 -Ipop -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations -Ilogd -Iaox -Ipop pop/pop.cpp > > >clang -c -o build/clang/pop/popcommand.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -pthread -O3 -Ipop -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations -Ilogd -Iaox -Ipop pop/popcommand.cpp > >In file included from pop/popcommand.cpp:3: >pop/popcommand.h:11:14: error: expected class name > : public EventHandler > ^ >pop/popcommand.cpp:246:42: error: cannot initialize a parameter of type 'EventHandler *' with an rvalue of type 'PopCommand *' > d->m = SaslMechanism::create( t, this, d->pop ); > ^~~~ >sasl/mechanism.h:58:67: note: passing argument to parameter here > static SaslMechanism * create( const EString &, EventHandler *, > ^ >pop/popcommand.cpp:296:31: error: cannot initialize a parameter of type 'EventHandler *' with an rvalue of type 'PopCommand *' > d->user->refresh( this ); > ^~~~ >server/user.h:51:34: note: passing argument to parameter here > void refresh( EventHandler * ); > ^ >pop/popcommand.cpp:326:48: error: cannot initialize a parameter of type 'EventHandler *' with an rvalue of type 'PopCommand *' > d->m = SaslMechanism::create( "plain", this, d->pop ); > ^~~~ >sasl/mechanism.h:58:67: note: passing argument to parameter here > static SaslMechanism * create( const EString &, EventHandler *, > ^ >pop/popcommand.cpp:388:20: error: no matching constructor for initialization of 'Apop' > d->m = new Apop( this, c.toUnicode( d->pop->challenge() ) ); > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >pop/popcommand.cpp:361:9: note: candidate constructor not viable: no known conversion from 'PopCommand *' to 'EventHandler *' for 1st argument > Apop( EventHandler * ev, const UString & s ) > ^ >pop/popcommand.cpp:357:11: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided > class Apop > ^ >pop/popcommand.cpp:357:11: note: candidate constructor (the implicit move constructor) not viable: requires 1 argument, but 2 were provided >pop/popcommand.cpp:422:17: error: no matching constructor for initialization of 'Permissions' > new Permissions( d->mailbox, d->pop->user(), this ); > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >server/permissions.h:17:5: note: candidate constructor not viable: no known conversion from 'PopCommand *' to 'class EventHandler *' for 3rd argument > Permissions( class Mailbox *, class User *, > ^ >server/permissions.h:15:5: note: candidate constructor not viable: no known conversion from 'User *' to 'const UString' for 2nd argument > Permissions( class Mailbox *, const UString &, const EString & ); > ^ >server/permissions.h:11:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 3 were provided >class Permissions > ^ >server/permissions.h:11:7: note: candidate constructor (the implicit move constructor) not viable: requires 1 argument, but 3 were provided >pop/popcommand.cpp:463:30: error: no matching constructor for initialization of 'Query' > d->findIds = new Query( "select message, uid " > ^ ~~~~~~~~~~~~~~~~~~~~~~ >db/query.h:25:5: note: candidate constructor not viable: no known conversion from 'PopCommand *' to 'EventHandler *' for 2nd argument > Query( const EString &, EventHandler * ); > ^ >db/query.h:26:5: note: candidate constructor not viable: no known conversion from 'const char[75]' to 'const PreparedStatement' for 1st argument > Query( const PreparedStatement &, EventHandler * ); > ^ >db/query.h:24:5: note: candidate constructor not viable: requires at most 1 argument, but 2 were provided > Query( EventHandler * = 0 ); > ^ >db/query.h:20:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided >class Query > ^ >pop/popcommand.cpp:509:29: error: no matching constructor for initialization of 'Fetcher' > Fetcher * mtf = new Fetcher( l, this, d->pop ); > ^ ~~~~~~~~~~~~~~~ >message/fetcher.h:23:5: note: candidate constructor not viable: no known conversion from 'PopCommand *' to 'EventHandler *' for 2nd argument > Fetcher( List<Message> *, EventHandler *, Connection * ); > ^ >message/fetcher.h:25:5: note: candidate constructor not viable: requires 2 arguments, but 3 were provided > Fetcher( Message *, EventHandler * ); > ^ >message/fetcher.h:19:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 3 were provided >class Fetcher > ^ >message/fetcher.h:19:7: note: candidate constructor (the implicit move constructor) not viable: requires 1 argument, but 3 were provided >pop/popcommand.cpp:652:27: error: no matching constructor for initialization of 'Fetcher' > Fetcher * f = new Fetcher( d->message, this ); > ^ ~~~~~~~~~~~~~~~~ >message/fetcher.h:25:5: note: candidate constructor not viable: no known conversion from 'PopCommand *' to 'EventHandler *' for 2nd argument > Fetcher( Message *, EventHandler * ); > ^ >message/fetcher.h:19:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided >class Fetcher > ^ >message/fetcher.h:19:7: note: candidate constructor (the implicit move constructor) not viable: requires 1 argument, but 2 were provided >message/fetcher.h:23:5: note: candidate constructor not viable: requires 3 arguments, but 2 were provided > Fetcher( List<Message> *, EventHandler *, Connection * ); > ^ >9 errors generated. > >mkdir -p build/clang/sieve > > >clang -c -o build/clang/sieve/managesieve.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Isieve -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations sieve/managesieve.cpp > >In file included from sieve/managesieve.cpp:9: >sasl/mechanism.h:15:14: error: base class has incomplete type > : public EventHandler > ~~~~~~~^~~~~~~~~~~~ >db/database.h:46:36: note: forward declaration of 'EventHandler' > static void checkSchema( class EventHandler * ); > ^ >In file included from sieve/managesieve.cpp:14: >sieve/managesievecommand.h:11:14: error: base class has incomplete type > : public EventHandler > ~~~~~~~^~~~~~~~~~~~ >db/database.h:46:36: note: forward declaration of 'EventHandler' > static void checkSchema( class EventHandler * ); > ^ >sieve/managesieve.cpp:286:17: error: no member named 'notify' in 'ManageSieveCommand' > it->notify(); > ~~~~^ >3 errors generated. > >clang -c -o build/clang/sieve/managesievecommand.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Isieve -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations sieve/managesievecommand.cpp > >In file included from sieve/managesievecommand.cpp:3: >sieve/managesievecommand.h:11:14: error: expected class name > : public EventHandler > ^ >sieve/managesievecommand.cpp:75:5: error: use of undeclared identifier 'setLog' > setLog( new Log ); > ^ >sieve/managesievecommand.cpp:76:14: error: no matching function for call to 'log' > Scope x( log() ); > ^~~ >core/log.h:37:6: note: candidate function not viable: requires at least 1 argument, but 0 were provided >void log( const EString &, Log::Severity = Log::Info ); > ^ >sieve/managesievecommand.cpp:76:11: error: no matching constructor for initialization of 'Scope' > Scope x( log() ); > ^ ~~~~~ >core/scope.h:11:7: note: candidate constructor (the implicit copy constructor) not viable: cannot convert argument of incomplete type 'void' to 'const Scope' for 1st argument >class Scope > ^ >core/scope.h:16:5: note: candidate constructor not viable: cannot convert argument of incomplete type 'void' to 'Log *' for 1st argument > Scope( Log * ); > ^ >core/scope.h:15:5: note: candidate constructor not viable: requires 0 arguments, but 1 was provided > Scope(); > ^ >sieve/managesievecommand.cpp:286:42: error: cannot initialize a parameter of type 'EventHandler *' with an rvalue of type 'ManageSieveCommand *' > d->m = SaslMechanism::create( t, this, d->sieve ); > ^~~~ >sasl/mechanism.h:58:67: note: passing argument to parameter here > static SaslMechanism * create( const EString &, EventHandler *, > ^ >sieve/managesievecommand.cpp:418:20: error: no matching constructor for initialization of 'Transaction' > d->t = new Transaction( this ); > ^ ~~~~ >db/transaction.h:15:7: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'ManageSieveCommand *' to 'const Transaction' for 1st argument >class Transaction > ^ >db/transaction.h:15:7: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'ManageSieveCommand *' to 'Transaction' for 1st argument >db/transaction.h:19:5: note: candidate constructor not viable: no known conversion from 'ManageSieveCommand *' to 'EventHandler *' for 1st argument > Transaction( EventHandler * ); > ^ >sieve/managesievecommand.cpp:420:24: error: no matching constructor for initialization of 'Query' > d->query = new Query( "select * from scripts " > ^ ~~~~~~~~~~~~~~~~~~~~~~~~ >db/query.h:25:5: note: candidate constructor not viable: no known conversion from 'ManageSieveCommand *' to 'EventHandler *' for 2nd argument > Query( const EString &, EventHandler * ); > ^ >db/query.h:26:5: note: candidate constructor not viable: no known conversion from 'const char[60]' to 'const PreparedStatement' for 1st argument > Query( const PreparedStatement &, EventHandler * ); > ^ >db/query.h:24:5: note: candidate constructor not viable: requires at most 1 argument, but 2 were provided > Query( EventHandler * = 0 ); > ^ >db/query.h:20:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided >class Query > ^ >sieve/managesievecommand.cpp:484:17: error: no matching constructor for initialization of 'Query' > new Query( "select * from scripts where owner=$1 order by name", > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >db/query.h:25:5: note: candidate constructor not viable: no known conversion from 'ManageSieveCommand *' to 'EventHandler *' for 2nd argument > Query( const EString &, EventHandler * ); > ^ >db/query.h:26:5: note: candidate constructor not viable: no known conversion from 'const char[51]' to 'const PreparedStatement' for 1st argument > Query( const PreparedStatement &, EventHandler * ); > ^ >db/query.h:24:5: note: candidate constructor not viable: requires at most 1 argument, but 2 were provided > Query( EventHandler * = 0 ); > ^ >db/query.h:20:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided >class Query > ^ >sieve/managesievecommand.cpp:516:20: error: no matching constructor for initialization of 'Transaction' > d->t = new Transaction( this ); > ^ ~~~~ >db/transaction.h:15:7: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'ManageSieveCommand *' to 'const Transaction' for 1st argument >class Transaction > ^ >db/transaction.h:15:7: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'ManageSieveCommand *' to 'Transaction' for 1st argument >db/transaction.h:19:5: note: candidate constructor not viable: no known conversion from 'ManageSieveCommand *' to 'EventHandler *' for 1st argument > Transaction( EventHandler * ); > ^ >sieve/managesievecommand.cpp:524:28: error: no matching constructor for initialization of 'Query' > d->query = new Query( "select ''::text as name", this ); > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >db/query.h:25:5: note: candidate constructor not viable: no known conversion from 'ManageSieveCommand *' to 'EventHandler *' for 2nd argument > Query( const EString &, EventHandler * ); > ^ >db/query.h:26:5: note: candidate constructor not viable: no known conversion from 'const char[24]' to 'const PreparedStatement' for 1st argument > Query( const PreparedStatement &, EventHandler * ); > ^ >db/query.h:24:5: note: candidate constructor not viable: requires at most 1 argument, but 2 were provided > Query( EventHandler * = 0 ); > ^ >db/query.h:20:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided >class Query > ^ >sieve/managesievecommand.cpp:528:28: error: no matching constructor for initialization of 'Query' > d->query = new Query( "select name from scripts " > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ >db/query.h:25:5: note: candidate constructor not viable: no known conversion from 'ManageSieveCommand *' to 'EventHandler *' for 2nd argument > Query( const EString &, EventHandler * ); > ^ >db/query.h:26:5: note: candidate constructor not viable: no known conversion from 'const char[63]' to 'const PreparedStatement' for 1st argument > Query( const PreparedStatement &, EventHandler * ); > ^ >db/query.h:24:5: note: candidate constructor not viable: requires at most 1 argument, but 2 were provided > Query( EventHandler * = 0 ); > ^ >db/query.h:20:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided >class Query > ^ >sieve/managesievecommand.cpp:550:29: error: no matching constructor for initialization of 'Query' > Query * q = new Query( "update scripts set active=(name=$2) " > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >db/query.h:25:5: note: candidate constructor not viable: no known conversion from 'ManageSieveCommand *' to 'EventHandler *' for 2nd argument > Query( const EString &, EventHandler * ); > ^ >db/query.h:26:5: note: candidate constructor not viable: no known conversion from 'const char[79]' to 'const PreparedStatement' for 1st argument > Query( const PreparedStatement &, EventHandler * ); > ^ >db/query.h:24:5: note: candidate constructor not viable: requires at most 1 argument, but 2 were provided > Query( EventHandler * = 0 ); > ^ >db/query.h:20:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided >class Query > ^ >sieve/managesievecommand.cpp:580:17: error: no matching constructor for initialization of 'Query' > new Query( "select script from scripts where owner=$1 and name=$2", > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >db/query.h:25:5: note: candidate constructor not viable: no known conversion from 'ManageSieveCommand *' to 'EventHandler *' for 2nd argument > Query( const EString &, EventHandler * ); > ^ >db/query.h:26:5: note: candidate constructor not viable: no known conversion from 'const char[54]' to 'const PreparedStatement' for 1st argument > Query( const PreparedStatement &, EventHandler * ); > ^ >db/query.h:24:5: note: candidate constructor not viable: requires at most 1 argument, but 2 were provided > Query( EventHandler * = 0 ); > ^ >db/query.h:20:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided >class Query > ^ >sieve/managesievecommand.cpp:609:20: error: no matching constructor for initialization of 'Transaction' > d->t = new Transaction( this ); > ^ ~~~~ >db/transaction.h:15:7: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'ManageSieveCommand *' to 'const Transaction' for 1st argument >class Transaction > ^ >db/transaction.h:15:7: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'ManageSieveCommand *' to 'Transaction' for 1st argument >db/transaction.h:19:5: note: candidate constructor not viable: no known conversion from 'ManageSieveCommand *' to 'EventHandler *' for 1st argument > Transaction( EventHandler * ); > ^ >sieve/managesievecommand.cpp:612:17: error: no matching constructor for initialization of 'Query' > new Query( "select active from scripts " > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >db/query.h:25:5: note: candidate constructor not viable: no known conversion from 'ManageSieveCommand *' to 'EventHandler *' for 2nd argument > Query( const EString &, EventHandler * ); > ^ >db/query.h:26:5: note: candidate constructor not viable: no known conversion from 'const char[54]' to 'const PreparedStatement' for 1st argument > Query( const PreparedStatement &, EventHandler * ); > ^ >db/query.h:24:5: note: candidate constructor not viable: requires at most 1 argument, but 2 were provided > Query( EventHandler * = 0 ); > ^ >db/query.h:20:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided >class Query > ^ >sieve/managesievecommand.cpp:619:25: error: no matching constructor for initialization of 'Query' > Query * q = new Query( "delete from scripts where owner=$1 and " > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >db/query.h:25:5: note: candidate constructor not viable: no known conversion from 'ManageSieveCommand *' to 'EventHandler *' for 2nd argument > Query( const EString &, EventHandler * ); > ^ >db/query.h:26:5: note: candidate constructor not viable: no known conversion from 'const char[62]' to 'const PreparedStatement' for 1st argument > Query( const PreparedStatement &, EventHandler * ); > ^ >db/query.h:24:5: note: candidate constructor not viable: requires at most 1 argument, but 2 were provided > Query( EventHandler * = 0 ); > ^ >db/query.h:20:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided >class Query > ^ >sieve/managesievecommand.cpp:660:20: error: no matching constructor for initialization of 'Transaction' > d->t = new Transaction( this ); > ^ ~~~~ >db/transaction.h:15:7: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'ManageSieveCommand *' to 'const Transaction' for 1st argument >class Transaction > ^ >db/transaction.h:15:7: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'ManageSieveCommand *' to 'Transaction' for 1st argument >db/transaction.h:19:5: note: candidate constructor not viable: no known conversion from 'ManageSieveCommand *' to 'EventHandler *' for 1st argument > Transaction( EventHandler * ); > ^ >sieve/managesievecommand.cpp:663:17: error: no matching constructor for initialization of 'Query' > new Query( "update scripts set name=$3 " > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >db/query.h:25:5: note: candidate constructor not viable: no known conversion from 'ManageSieveCommand *' to 'EventHandler *' for 2nd argument > Query( const EString &, EventHandler * ); > ^ >db/query.h:26:5: note: candidate constructor not viable: no known conversion from 'const char[54]' to 'const PreparedStatement' for 1st argument > Query( const PreparedStatement &, EventHandler * ); > ^ >db/query.h:24:5: note: candidate constructor not viable: requires at most 1 argument, but 2 were provided > Query( EventHandler * = 0 ); > ^ >db/query.h:20:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided >class Query > ^ >18 errors generated. > >clang -c -o build/clang/sieve/sieveaction.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Isieve -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations sieve/sieveaction.cpp > > >clang -c -o build/clang/sieve/sievescript.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Isieve -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations sieve/sievescript.cpp > > >clang -c -o build/clang/sieve/sieve.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Isieve -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations sieve/sieve.cpp > >In file included from sieve/sieve.cpp:3: >sieve/sieve.h:22:14: error: expected class name > : public EventHandler > ^ >sieve/sieve.h:31:35: error: unknown type name 'EventHandler' > void addRecipient( Address *, EventHandler * ); > ^ >sieve/sieve.h:51:15: error: unknown type name 'EventHandler' > void act( EventHandler * ); > ^ >sieve/sieve.cpp:152:7: error: type 'EventHandler' is not a direct or virtual base of 'Sieve' > : EventHandler(), d( new SieveData ) > ^~~~~~~~~~~~ >sieve/sieve.cpp:154:5: error: use of undeclared identifier 'setLog' > setLog( new Log ); > ^ >sieve/sieve.cpp:164:14: error: no matching function for call to 'log' > Scope x( log() ); > ^~~ >core/log.h:37:6: note: candidate function not viable: requires at least 1 argument, but 0 were provided >void log( const EString &, Log::Severity = Log::Info ); > ^ >sieve/sieve.cpp:164:11: error: no matching constructor for initialization of 'Scope' > Scope x( log() ); > ^ ~~~~~ >core/scope.h:11:7: note: candidate constructor (the implicit copy constructor) not viable: cannot convert argument of incomplete type 'void' to 'const Scope' for 1st argument >class Scope > ^ >core/scope.h:16:5: note: candidate constructor not viable: cannot convert argument of incomplete type 'void' to 'Log *' for 1st argument > Scope( Log * ); > ^ >core/scope.h:15:5: note: candidate constructor not viable: requires 0 arguments, but 1 was provided > Scope(); > ^ >sieve/sieve.cpp:236:31: error: no matching constructor for initialization of 'Injector' > d->injector = new Injector( this ); > ^ ~~~~ >message/injector.h:48:7: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'Sieve *' to 'const Injector' for 1st argument >class Injector > ^ >message/injector.h:48:7: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'Sieve *' to 'Injector' for 1st argument >message/injector.h:52:5: note: candidate constructor not viable: no known conversion from 'Sieve *' to 'EventHandler *' for 1st argument > Injector( EventHandler * ); > ^ >sieve/sieve.cpp:246:38: error: no matching constructor for initialization of 'Transaction' > d->transaction = new Transaction( this ); > ^ ~~~~ >db/transaction.h:15:7: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'Sieve *' to 'const Transaction' for 1st argument >class Transaction > ^ >db/transaction.h:15:7: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'Sieve *' to 'Transaction' for 1st argument >db/transaction.h:19:5: note: candidate constructor not viable: no known conversion from 'Sieve *' to 'EventHandler *' for 1st argument > Transaction( EventHandler * ); > ^ >sieve/sieve.cpp:251:40: error: no matching constructor for initialization of 'Query' > d->autoresponses = new Query( "", this ); > ^ ~~~~~~~~ >db/query.h:25:5: note: candidate constructor not viable: no known conversion from 'Sieve *' to 'EventHandler *' for 2nd argument > Query( const EString &, EventHandler * ); > ^ >db/query.h:26:5: note: candidate constructor not viable: no known conversion from 'const char[1]' to 'const PreparedStatement' for 1st argument > Query( const PreparedStatement &, EventHandler * ); > ^ >db/query.h:24:5: note: candidate constructor not viable: requires at most 1 argument, but 2 were provided > Query( EventHandler * = 0 ); > ^ >db/query.h:20:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided >class Query > ^ >sieve/sieve.cpp:377:23: error: no matching constructor for initialization of 'Query' > = new Query( > ^ >db/query.h:25:5: note: candidate constructor not viable: no known conversion from 'Sieve *' to 'EventHandler *' for 2nd argument > Query( const EString &, EventHandler * ); > ^ >db/query.h:26:5: note: candidate constructor not viable: no known conversion from 'const char[91]' to 'const PreparedStatement' for 1st argument > Query( const PreparedStatement &, EventHandler * ); > ^ >db/query.h:24:5: note: candidate constructor not viable: requires at most 1 argument, but 2 were provided > Query( EventHandler * = 0 ); > ^ >db/query.h:20:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided >class Query > ^ >sieve/sieve.cpp:473:13: error: out-of-line definition of 'addRecipient' does not match any declaration in 'Sieve' >void Sieve::addRecipient( Address * address, EventHandler * user ) > ^~~~~~~~~~~~ >sieve/sieve.cpp:475:14: error: no matching function for call to 'log' > Scope x( log() ); > ^~~ >core/log.h:37:6: note: candidate function not viable: requires at least 1 argument, but 0 were provided >void log( const EString &, Log::Severity = Log::Info ); > ^ >sieve/sieve.cpp:475:11: error: no matching constructor for initialization of 'Scope' > Scope x( log() ); > ^ ~~~~~ >core/scope.h:11:7: note: candidate constructor (the implicit copy constructor) not viable: cannot convert argument of incomplete type 'void' to 'const Scope' for 1st argument >class Scope > ^ >core/scope.h:16:5: note: candidate constructor not viable: cannot convert argument of incomplete type 'void' to 'Log *' for 1st argument > Scope( Log * ); > ^ >core/scope.h:15:5: note: candidate constructor not viable: requires 0 arguments, but 1 was provided > Scope(); > ^ >sieve/sieve.cpp:483:17: error: no matching constructor for initialization of 'Query' > r->sq = new Query( "select al.mailbox, s.script, m.owner, " > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >db/query.h:25:5: note: candidate constructor not viable: no known conversion from 'Sieve *' to 'EventHandler *' for 2nd argument > Query( const EString &, EventHandler * ); > ^ >db/query.h:26:5: note: candidate constructor not viable: no known conversion from 'const char[415]' to 'const PreparedStatement' for 1st argument > Query( const PreparedStatement &, EventHandler * ); > ^ >db/query.h:24:5: note: candidate constructor not viable: requires at most 1 argument, but 2 were provided > Query( EventHandler * = 0 ); > ^ >db/query.h:20:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided >class Query > ^ >sieve/sieve.cpp:572:14: error: no matching function for call to 'log' > Scope x( log() ); > ^~~ >core/log.h:37:6: note: candidate function not viable: requires at least 1 argument, but 0 were provided >void log( const EString &, Log::Severity = Log::Info ); > ^ >sieve/sieve.cpp:572:11: error: no matching constructor for initialization of 'Scope' > Scope x( log() ); > ^ ~~~~~ >core/scope.h:11:7: note: candidate constructor (the implicit copy constructor) not viable: cannot convert argument of incomplete type 'void' to 'const Scope' for 1st argument >class Scope > ^ >core/scope.h:16:5: note: candidate constructor not viable: cannot convert argument of incomplete type 'void' to 'Log *' for 1st argument > Scope( Log * ); > ^ >core/scope.h:15:5: note: candidate constructor not viable: requires 0 arguments, but 1 was provided > Scope(); > ^ >sieve/sieve.cpp:1742:13: error: out-of-line definition of 'act' does not match any declaration in 'Sieve' >void Sieve::act( EventHandler * handler ) > ^~~ >18 errors generated. > >clang -c -o build/clang/sieve/sieveparser.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Isieve -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations sieve/sieveparser.cpp > > >clang -c -o build/clang/sieve/sieveproduction.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Isieve -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations sieve/sieveproduction.cpp > > >clang -c -o build/clang/sieve/sievenotify.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Isieve -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations sieve/sievenotify.cpp > >In file included from sieve/sievenotify.cpp:10: >message/injector.h:49:14: error: base class has incomplete type > : public EventHandler > ~~~~~~~^~~~~~~~~~~~ >message/message.h:11:7: note: forward declaration of 'EventHandler' >class EventHandler; > ^ >1 error generated. > >mkdir -p build/clang/smtp > > >clang -c -o build/clang/smtp/smtp.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Ismtp -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations smtp/smtp.cpp > >In file included from smtp/smtp.cpp:5: >In file included from smtp/smtpmailrcpt.h:6: >smtp/smtpcommand.h:13:14: error: expected class name > : public EventHandler > ^ >In file included from smtp/smtp.cpp:14: >sieve/sieve.h:22:14: error: base class has incomplete type > : public EventHandler > ~~~~~~~^~~~~~~~~~~~ >db/transaction.h:12:7: note: forward declaration of 'EventHandler' >class EventHandler; > ^ >smtp/smtp.cpp:219:20: error: no member named 'notify' in 'SmtpCommand' > c->notify(); > ~ ^ >3 errors generated. > >clang -c -o build/clang/smtp/smtpparser.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Ismtp -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations smtp/smtpparser.cpp > > >clang -c -o build/clang/smtp/smtpcommand.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Ismtp -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations smtp/smtpcommand.cpp > >In file included from smtp/smtpcommand.cpp:3: >smtp/smtpcommand.h:13:14: error: expected class name > : public EventHandler > ^ >smtp/smtpcommand.h:23:31: error: unknown type name 'EString' > void respond( uint, const EString &, const char * = 0 ); > ^ >smtp/smtpcommand.h:28:48: error: unknown type name 'EString' > static SmtpCommand * create( SMTP *, const EString & ); > ^ >smtp/smtpcommand.cpp:45:7: error: member initializer 'EventHandler' does not name a non-static data member or base class > : EventHandler(), d( new SmtpCommandData ) > ^~~~~~~~~~~~~~ >smtp/smtpcommand.cpp:47:5: error: use of undeclared identifier 'setLog' > setLog( new Log ); > ^ >smtp/smtpcommand.cpp:85:14: error: no matching function for call to 'log' > Scope x( log() ); > ^~~ >core/log.h:37:6: note: candidate function not viable: requires at least 1 argument, but 0 were provided >void log( const EString &, Log::Severity = Log::Info ); > ^ >smtp/smtpcommand.cpp:85:11: error: no matching constructor for initialization of 'Scope' > Scope x( log() ); > ^ ~~~~~ >core/scope.h:11:7: note: candidate constructor (the implicit copy constructor) not viable: cannot convert argument of incomplete type 'void' to 'const Scope' for 1st argument >class Scope > ^ >core/scope.h:16:5: note: candidate constructor not viable: cannot convert argument of incomplete type 'void' to 'Log *' for 1st argument > Scope( Log * ); > ^ >core/scope.h:15:5: note: candidate constructor not viable: requires 0 arguments, but 1 was provided > Scope(); > ^ >smtp/smtpcommand.cpp:140:19: error: out-of-line definition of 'respond' does not match any declaration in 'SmtpCommand' >void SmtpCommand::respond( uint r, const EString & s, const char * enh ) > ^~~~~~~ >smtp/smtpcommand.cpp:142:14: error: no matching function for call to 'log' > Scope x( log() ); > ^~~ >core/log.h:37:6: note: candidate function not viable: requires at least 1 argument, but 0 were provided >void log( const EString &, Log::Severity = Log::Info ); > ^ >smtp/smtpcommand.cpp:142:11: error: no matching constructor for initialization of 'Scope' > Scope x( log() ); > ^ ~~~~~ >core/scope.h:11:7: note: candidate constructor (the implicit copy constructor) not viable: cannot convert argument of incomplete type 'void' to 'const Scope' for 1st argument >class Scope > ^ >core/scope.h:16:5: note: candidate constructor not viable: cannot convert argument of incomplete type 'void' to 'Log *' for 1st argument > Scope( Log * ); > ^ >core/scope.h:15:5: note: candidate constructor not viable: requires 0 arguments, but 1 was provided > Scope(); > ^ >smtp/smtpcommand.cpp:168:28: error: out-of-line definition of 'create' does not match any declaration in 'SmtpCommand' >SmtpCommand * SmtpCommand::create( SMTP * server, const EString & command ) > ^~~~~~ >smtp/smtpcommand.cpp:221:17: error: no member named 'log' in 'SmtpCommand' > Scope x( r->log() ); > ~ ^ >smtp/smtpcommand.cpp:222:8: error: no member named 'log' in 'SmtpCommand' > r->log( "Command: " + command.simplified(), Log::Debug ); > ~ ^ >smtp/smtpcommand.cpp:303:14: error: no matching function for call to 'log' > Scope x( log() ); > ^~~ >core/log.h:37:6: note: candidate function not viable: requires at least 1 argument, but 0 were provided >void log( const EString &, Log::Severity = Log::Info ); > ^ >smtp/smtpcommand.cpp:303:11: error: no matching constructor for initialization of 'Scope' > Scope x( log() ); > ^ ~~~~~ >core/scope.h:11:7: note: candidate constructor (the implicit copy constructor) not viable: cannot convert argument of incomplete type 'void' to 'const Scope' for 1st argument >class Scope > ^ >core/scope.h:16:5: note: candidate constructor not viable: cannot convert argument of incomplete type 'void' to 'Log *' for 1st argument > Scope( Log * ); > ^ >core/scope.h:15:5: note: candidate constructor not viable: requires 0 arguments, but 1 was provided > Scope(); > ^ >15 errors generated. > >clang -c -o build/clang/smtp/smtphelo.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Ismtp -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations smtp/smtphelo.cpp > >In file included from smtp/smtphelo.cpp:3: >In file included from smtp/smtphelo.h:6: >smtp/smtpcommand.h:13:14: error: expected class name > : public EventHandler > ^ >smtp/smtpcommand.h:23:31: error: unknown type name 'EString' > void respond( uint, const EString &, const char * = 0 ); > ^ >smtp/smtpcommand.h:28:48: error: unknown type name 'EString' > static SmtpCommand * create( SMTP *, const EString & ); > ^ >In file included from smtp/smtphelo.cpp:6: >message/smtpclient.h:28:23: error: unknown type name 'EventHandler' > void send( DSN *, EventHandler * ); > ^ >In file included from smtp/smtphelo.cpp:7: >sasl/mechanism.h:15:14: error: expected class name > : public EventHandler > ^ >sasl/mechanism.h:58:53: error: unknown type name 'EventHandler' > static SaslMechanism * create( const EString &, EventHandler *, > ^ >sasl/mechanism.h:69:20: error: unknown type name 'EventHandler' > SaslMechanism( EventHandler *, Type ); > ^ >smtp/smtphelo.cpp:31:14: error: no matching function for call to 'log' > Scope x( log() ); > ^~~ >core/log.h:37:6: note: candidate function not viable: requires at least 1 argument, but 0 were provided >void log( const EString &, Log::Severity = Log::Info ); > ^ >smtp/smtphelo.cpp:31:11: error: no matching constructor for initialization of 'Scope' > Scope x( log() ); > ^ ~~~~~ >core/scope.h:11:7: note: candidate constructor (the implicit copy constructor) not viable: cannot convert argument of incomplete type 'void' to 'const Scope' for 1st argument >class Scope > ^ >core/scope.h:16:5: note: candidate constructor not viable: cannot convert argument of incomplete type 'void' to 'Log *' for 1st argument > Scope( Log * ); > ^ >core/scope.h:15:5: note: candidate constructor not viable: requires 0 arguments, but 1 was provided > Scope(); > ^ >9 errors generated. > >clang -c -o build/clang/smtp/smtpmailrcpt.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Ismtp -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations smtp/smtpmailrcpt.cpp > >In file included from smtp/smtpmailrcpt.cpp:3: >In file included from smtp/smtpmailrcpt.h:6: >smtp/smtpcommand.h:13:14: error: expected class name > : public EventHandler > ^ >smtp/smtpcommand.h:23:31: error: unknown type name 'EString' > void respond( uint, const EString &, const char * = 0 ); > ^ >smtp/smtpcommand.h:28:48: error: unknown type name 'EString' > static SmtpCommand * create( SMTP *, const EString & ); > ^ >In file included from smtp/smtpmailrcpt.cpp:3: >smtp/smtpmailrcpt.h:15:26: error: unknown type name 'EString' > void addParam( const EString &, const EString & ); > ^ >smtp/smtpmailrcpt.h:15:43: error: unknown type name 'EString' > void addParam( const EString &, const EString & ); > ^ >smtp/smtpmailrcpt.h:30:26: error: unknown type name 'EString' > void addParam( const EString &, const EString & ); > ^ >smtp/smtpmailrcpt.h:30:43: error: unknown type name 'EString' > void addParam( const EString &, const EString & ); > ^ >In file included from smtp/smtpmailrcpt.cpp:9: >message/smtpclient.h:28:23: error: unknown type name 'EventHandler' > void send( DSN *, EventHandler * ); > ^ >In file included from smtp/smtpmailrcpt.cpp:14: >sieve/sieve.h:22:14: error: base class has incomplete type > : public EventHandler > ~~~~~~~^~~~~~~~~~~~ >server/mailbox.h:9:7: note: forward declaration of 'EventHandler' >class EventHandler; > ^ >smtp/smtpmailrcpt.cpp:48:14: error: no matching function for call to 'log' > Scope x( log() ); > ^~~ >core/log.h:37:6: note: candidate function not viable: requires at least 1 argument, but 0 were provided >void log( const EString &, Log::Severity = Log::Info ); > ^ >smtp/smtpmailrcpt.cpp:48:11: error: no matching constructor for initialization of 'Scope' > Scope x( log() ); > ^ ~~~~~ >core/scope.h:11:7: note: candidate constructor (the implicit copy constructor) not viable: cannot convert argument of incomplete type 'void' to 'const Scope' for 1st argument >class Scope > ^ >core/scope.h:16:5: note: candidate constructor not viable: cannot convert argument of incomplete type 'void' to 'Log *' for 1st argument > Scope( Log * ); > ^ >core/scope.h:15:5: note: candidate constructor not viable: requires 0 arguments, but 1 was provided > Scope(); > ^ >smtp/smtpmailrcpt.cpp:89:20: error: out-of-line definition of 'addParam' does not match any declaration in 'SmtpMailFrom' >void SmtpMailFrom::addParam( const EString & name, const EString & value ) > ^~~~~~~~ >smtp/smtpmailrcpt.cpp:244:14: error: no matching function for call to 'log' > Scope x( log() ); > ^~~ >core/log.h:37:6: note: candidate function not viable: requires at least 1 argument, but 0 were provided >void log( const EString &, Log::Severity = Log::Info ); > ^ >smtp/smtpmailrcpt.cpp:244:11: error: no matching constructor for initialization of 'Scope' > Scope x( log() ); > ^ ~~~~~ >core/scope.h:11:7: note: candidate constructor (the implicit copy constructor) not viable: cannot convert argument of incomplete type 'void' to 'const Scope' for 1st argument >class Scope > ^ >core/scope.h:16:5: note: candidate constructor not viable: cannot convert argument of incomplete type 'void' to 'Log *' for 1st argument > Scope( Log * ); > ^ >core/scope.h:15:5: note: candidate constructor not viable: requires 0 arguments, but 1 was provided > Scope(); > ^ >smtp/smtpmailrcpt.cpp:272:32: error: no matching member function for call to 'addRecipient' > server()->sieve()->addRecipient( d->address, this ); > ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ >sieve/sieve.h:31:10: note: candidate function not viable: no known conversion from 'SmtpRcptTo *' to 'EventHandler *' for 2nd argument > void addRecipient( Address *, EventHandler * ); > ^ >sieve/sieve.h:30:10: note: candidate function not viable: requires 4 arguments, but 2 were provided > void addRecipient( Address *, Mailbox *, User *, SieveScript * ); > ^ >smtp/smtpmailrcpt.cpp:322:18: error: out-of-line definition of 'addParam' does not match any declaration in 'SmtpRcptTo' >void SmtpRcptTo::addParam( const EString & name, const EString & value ) > ^~~~~~~~ >16 errors generated. > >clang -c -o build/clang/smtp/smtpauth.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Ismtp -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations smtp/smtpauth.cpp > >In file included from smtp/smtpauth.cpp:3: >In file included from smtp/smtpauth.h:6: >smtp/smtpcommand.h:13:14: error: expected class name > : public EventHandler > ^ >smtp/smtpcommand.h:23:31: error: unknown type name 'EString' > void respond( uint, const EString &, const char * = 0 ); > ^ >smtp/smtpcommand.h:28:48: error: unknown type name 'EString' > static SmtpCommand * create( SMTP *, const EString & ); > ^ >smtp/smtpauth.cpp:42:14: error: no matching function for call to 'log' > Scope x( log() ); > ^~~ >core/log.h:37:6: note: candidate function not viable: requires at least 1 argument, but 0 were provided >void log( const EString &, Log::Severity = Log::Info ); > ^ >smtp/smtpauth.cpp:42:11: error: no matching constructor for initialization of 'Scope' > Scope x( log() ); > ^ ~~~~~ >core/scope.h:11:7: note: candidate constructor (the implicit copy constructor) not viable: cannot convert argument of incomplete type 'void' to 'const Scope' for 1st argument >class Scope > ^ >core/scope.h:16:5: note: candidate constructor not viable: cannot convert argument of incomplete type 'void' to 'Log *' for 1st argument > Scope( Log * ); > ^ >core/scope.h:15:5: note: candidate constructor not viable: requires 0 arguments, but 1 was provided > Scope(); > ^ >smtp/smtpauth.cpp:99:48: error: cannot initialize a parameter of type 'EventHandler *' with an rvalue of type 'SmtpAuth *' > d->m = SaslMechanism::create( d->mech, this, server() ); > ^~~~ >sasl/mechanism.h:58:67: note: passing argument to parameter here > static SaslMechanism * create( const EString &, EventHandler *, > ^ >6 errors generated. > >clang -c -o build/clang/smtp/smtpdata.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Ismtp -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations smtp/smtpdata.cpp > >In file included from smtp/smtpdata.cpp:3: >In file included from smtp/smtpdata.h:6: >smtp/smtpcommand.h:13:14: error: expected class name > : public EventHandler > ^ >smtp/smtpcommand.h:23:31: error: unknown type name 'EString' > void respond( uint, const EString &, const char * = 0 ); > ^ >smtp/smtpcommand.h:28:48: error: unknown type name 'EString' > static SmtpCommand * create( SMTP *, const EString & ); > ^ >In file included from smtp/smtpdata.cpp:5: >imap/imapurlfetcher.h:12:14: error: expected class name > : public EventHandler > ^ >imap/imapurlfetcher.h:15:38: error: unknown type name 'EventHandler' > ImapUrlFetcher( List<ImapUrl> *, EventHandler *, bool ); > ^ >In file included from smtp/smtpdata.cpp:9: >smtp/spoolmanager.h:10:14: error: expected class name > : public EventHandler > ^ >In file included from smtp/smtpdata.cpp:12: >message/injector.h:49:14: error: base class has incomplete type > : public EventHandler > ~~~~~~~^~~~~~~~~~~~ >sieve/sieveaction.h:13:7: note: forward declaration of 'EventHandler' >class EventHandler; > ^ >In file included from smtp/smtpdata.cpp:19: >sieve/sieve.h:22:14: error: base class has incomplete type > : public EventHandler > ~~~~~~~^~~~~~~~~~~~ >sieve/sieveaction.h:13:7: note: forward declaration of 'EventHandler' >class EventHandler; > ^ >smtp/smtpdata.cpp:63:14: error: no matching function for call to 'log' > Scope x( log() ); > ^~~ >core/log.h:37:6: note: candidate function not viable: requires at least 1 argument, but 0 were provided >void log( const EString &, Log::Severity = Log::Info ); > ^ >smtp/smtpdata.cpp:63:11: error: no matching constructor for initialization of 'Scope' > Scope x( log() ); > ^ ~~~~~ >core/scope.h:11:7: note: candidate constructor (the implicit copy constructor) not viable: cannot convert argument of incomplete type 'void' to 'const Scope' for 1st argument >class Scope > ^ >core/scope.h:16:5: note: candidate constructor not viable: cannot convert argument of incomplete type 'void' to 'Log *' for 1st argument > Scope( Log * ); > ^ >core/scope.h:15:5: note: candidate constructor not viable: requires 0 arguments, but 1 was provided > Scope(); > ^ >smtp/smtpdata.cpp:227:33: error: cannot initialize a parameter of type 'EventHandler *' with an rvalue of type 'SmtpData *' > server()->sieve()->act( this ); > ^~~~ >sieve/sieve.h:51:30: note: passing argument to parameter here > void act( EventHandler * ); > ^ >smtp/smtpdata.cpp:574:14: error: no matching function for call to 'log' > Scope x( log() ); > ^~~ >core/log.h:37:6: note: candidate function not viable: requires at least 1 argument, but 0 were provided >void log( const EString &, Log::Severity = Log::Info ); > ^ >smtp/smtpdata.cpp:574:11: error: no matching constructor for initialization of 'Scope' > Scope x( log() ); > ^ ~~~~~ >core/scope.h:11:7: note: candidate constructor (the implicit copy constructor) not viable: cannot convert argument of incomplete type 'void' to 'const Scope' for 1st argument >class Scope > ^ >core/scope.h:16:5: note: candidate constructor not viable: cannot convert argument of incomplete type 'void' to 'Log *' for 1st argument > Scope( Log * ); > ^ >core/scope.h:15:5: note: candidate constructor not viable: requires 0 arguments, but 1 was provided > Scope(); > ^ >smtp/smtpdata.cpp:670:22: error: no matching constructor for initialization of 'ImapUrlFetcher' > d->fetcher = new ImapUrlFetcher( l, this, true ); > ^ ~~~~~~~~~~~~~ >imap/imapurlfetcher.h:11:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 3 were provided >class ImapUrlFetcher > ^ >imap/imapurlfetcher.h:11:7: note: candidate constructor (the implicit move constructor) not viable: requires 1 argument, but 3 were provided >imap/imapurlfetcher.h:11:7: note: candidate constructor (the implicit default constructor) not viable: requires 0 arguments, but 3 were provided >14 errors generated. > >clang -c -o build/clang/smtp/spoolmanager.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Ismtp -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations smtp/spoolmanager.cpp > >In file included from smtp/spoolmanager.cpp:3: >smtp/spoolmanager.h:10:14: error: expected class name > : public EventHandler > ^ >In file included from smtp/spoolmanager.cpp:11: >smtp/deliveryagent.h:18:14: error: base class has incomplete type > : public EventHandler > ~~~~~~~^~~~~~~~~~~~ >db/database.h:46:36: note: forward declaration of 'EventHandler' > static void checkSchema( class EventHandler * ); > ^ >smtp/spoolmanager.cpp:23:13: error: redefinition of 'shutdown' as different kind of symbol >static bool shutdown; > ^ >/usr/include/sys/socket.h:710:5: note: previous definition is here >int shutdown(int, int); > ^ >smtp/spoolmanager.cpp:53:5: error: use of undeclared identifier 'setLog' > setLog( new Log ); > ^ >smtp/spoolmanager.cpp:108:20: error: no matching constructor for initialization of 'Query' > d->q = new Query( s, this ); > ^ ~~~~~~~ >db/query.h:25:5: note: candidate constructor not viable: no known conversion from 'SpoolManager *' to 'EventHandler *' for 2nd argument > Query( const EString &, EventHandler * ); > ^ >db/query.h:26:5: note: candidate constructor not viable: no known conversion from 'SpoolManager *' to 'EventHandler *' for 2nd argument > Query( const PreparedStatement &, EventHandler * ); > ^ >db/query.h:24:5: note: candidate constructor not viable: requires at most 1 argument, but 2 were provided > Query( EventHandler * = 0 ); > ^ >db/query.h:20:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided >class Query > ^ >smtp/spoolmanager.cpp:137:27: error: no matching constructor for initialization of 'Timer' > (void)new Timer( a, d->agents.count() * 5 ); > ^ ~~~~~~~~~~~~~~~~~~~~~~~~ >server/timer.h:14:5: note: candidate constructor not viable: no known conversion from 'DeliveryAgent *' to 'class EventHandler *' for 1st argument > Timer( class EventHandler *, uint ); > ^ >server/timer.h:10:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided >class Timer > ^ >smtp/spoolmanager.cpp:146:24: error: no matching constructor for initialization of 'Timer' > d->t = new Timer( this, delay ); > ^ ~~~~~~~~~~~ >server/timer.h:14:5: note: candidate constructor not viable: no known conversion from 'SpoolManager *' to 'class EventHandler *' for 1st argument > Timer( class EventHandler *, uint ); > ^ >server/timer.h:10:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided >class Timer > ^ >smtp/spoolmanager.cpp:186:20: error: no matching constructor for initialization of 'Timer' > d->t = new Timer( this, 1 ); > ^ ~~~~~~~ >server/timer.h:14:5: note: candidate constructor not viable: no known conversion from 'SpoolManager *' to 'class EventHandler *' for 1st argument > Timer( class EventHandler *, uint ); > ^ >server/timer.h:10:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided >class Timer > ^ >smtp/spoolmanager.cpp:192:14: error: base class has incomplete type > : public EventHandler > ~~~~~~~^~~~~~~~~~~~ >db/database.h:46:36: note: forward declaration of 'EventHandler' > static void checkSchema( class EventHandler * ); > ^ >smtp/spoolmanager.cpp:195:20: error: type 'EventHandler' is not a direct or virtual base of 'SpoolRunner' > SpoolRunner(): EventHandler() {} > ^~~~~~~~~~~~ >smtp/spoolmanager.cpp:212:31: error: cannot initialize a parameter of type 'class EventHandler *' with an lvalue of type 'SpoolManager *' > Database::notifyWhenIdle( sm ); > ^~ >db/database.h:49:54: note: passing argument to parameter here > static void notifyWhenIdle( class EventHandler * ); > ^ >smtp/spoolmanager.cpp:213:15: error: no matching constructor for initialization of 'DatabaseSignal' > (void)new DatabaseSignal( "deliveries_updated", new SpoolRunner ); > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >db/dbsignal.h:15:5: note: candidate constructor not viable: no known conversion from 'SpoolRunner *' to 'EventHandler *' for 2nd argument > DatabaseSignal( const EString &, EventHandler * ); > ^ >db/dbsignal.h:11:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided >class DatabaseSignal > ^ >smtp/spoolmanager.cpp:229:16: error: non-object type 'int (int, int)' is not assignable > ::shutdown = true; > ~~~~~~~~~~ ^ >13 errors generated. > >clang -c -o build/clang/smtp/deliveryagent.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Ismtp -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations smtp/deliveryagent.cpp > >In file included from smtp/deliveryagent.cpp:3: >smtp/deliveryagent.h:18:14: error: expected class name > : public EventHandler > ^ >In file included from smtp/deliveryagent.cpp:5: >smtp/spoolmanager.h:10:14: error: expected class name > : public EventHandler > ^ >In file included from smtp/deliveryagent.cpp:10: >message/injector.h:49:14: error: base class has incomplete type > : public EventHandler > ~~~~~~~^~~~~~~~~~~~ >db/transaction.h:12:7: note: forward declaration of 'EventHandler' >class EventHandler; > ^ >In file included from smtp/deliveryagent.cpp:12: >message/fetcher.h:20:14: error: base class has incomplete type > : public EventHandler > ~~~~~~~^~~~~~~~~~~~ >db/transaction.h:12:7: note: forward declaration of 'EventHandler' >class EventHandler; > ^ >smtp/deliveryagent.cpp:62:5: error: use of undeclared identifier 'setLog' > setLog( new Log ); > ^ >smtp/deliveryagent.cpp:63:14: error: no matching function for call to 'log' > Scope x( log() ); > ^~~ >core/log.h:37:6: note: candidate function not viable: requires at least 1 argument, but 0 were provided >void log( const EString &, Log::Severity = Log::Info ); > ^ >smtp/deliveryagent.cpp:63:11: error: no matching constructor for initialization of 'Scope' > Scope x( log() ); > ^ ~~~~~ >core/scope.h:11:7: note: candidate constructor (the implicit copy constructor) not viable: cannot convert argument of incomplete type 'void' to 'const Scope' for 1st argument >class Scope > ^ >core/scope.h:16:5: note: candidate constructor not viable: cannot convert argument of incomplete type 'void' to 'Log *' for 1st argument > Scope( Log * ); > ^ >core/scope.h:15:5: note: candidate constructor not viable: requires 0 arguments, but 1 was provided > Scope(); > ^ >smtp/deliveryagent.cpp:87:20: error: no matching constructor for initialization of 'Transaction' > d->t = new Transaction( this ); > ^ ~~~~ >db/transaction.h:15:7: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'DeliveryAgent *' to 'const Transaction' for 1st argument >class Transaction > ^ >db/transaction.h:15:7: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'DeliveryAgent *' to 'Transaction' for 1st argument >db/transaction.h:19:5: note: candidate constructor not viable: no known conversion from 'DeliveryAgent *' to 'EventHandler *' for 1st argument > Transaction( EventHandler * ); > ^ >smtp/deliveryagent.cpp:88:21: error: no matching constructor for initialization of 'Query' > d->qm = new Query( > ^ >db/query.h:25:5: note: candidate constructor not viable: no known conversion from 'DeliveryAgent *' to 'EventHandler *' for 2nd argument > Query( const EString &, EventHandler * ); > ^ >db/query.h:26:5: note: candidate constructor not viable: no known conversion from 'const char[105]' to 'const PreparedStatement' for 1st argument > Query( const PreparedStatement &, EventHandler * ); > ^ >db/query.h:24:5: note: candidate constructor not viable: requires at most 1 argument, but 2 were provided > Query( EventHandler * = 0 ); > ^ >db/query.h:20:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided >class Query > ^ >smtp/deliveryagent.cpp:109:21: error: no matching constructor for initialization of 'Query' > d->qs = new Query( "select localpart::text, domain::text " > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >db/query.h:25:5: note: candidate constructor not viable: no known conversion from 'DeliveryAgent *' to 'EventHandler *' for 2nd argument > Query( const EString &, EventHandler * ); > ^ >db/query.h:26:5: note: candidate constructor not viable: no known conversion from 'const char[65]' to 'const PreparedStatement' for 1st argument > Query( const PreparedStatement &, EventHandler * ); > ^ >db/query.h:24:5: note: candidate constructor not viable: requires at most 1 argument, but 2 were provided > Query( EventHandler * = 0 ); > ^ >db/query.h:20:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided >class Query > ^ >smtp/deliveryagent.cpp:114:21: error: no matching constructor for initialization of 'Query' > d->qr = new Query( > ^ >db/query.h:25:5: note: candidate constructor not viable: no known conversion from 'DeliveryAgent *' to 'EventHandler *' for 2nd argument > Query( const EString &, EventHandler * ); > ^ >db/query.h:26:5: note: candidate constructor not viable: no known conversion from 'const char[207]' to 'const PreparedStatement' for 1st argument > Query( const PreparedStatement &, EventHandler * ); > ^ >db/query.h:24:5: note: candidate constructor not viable: requires at most 1 argument, but 2 were provided > Query( EventHandler * = 0 ); > ^ >db/query.h:20:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided >class Query > ^ >smtp/deliveryagent.cpp:160:34: error: cannot initialize a parameter of type 'EventHandler *' with an rvalue of type 'DeliveryAgent *' > d->client->send( d->dsn, this ); > ^~~~ >message/smtpclient.h:28:38: note: passing argument to parameter here > void send( DSN *, EventHandler * ); > ^ >smtp/deliveryagent.cpp:239:23: error: no matching constructor for initialization of 'Fetcher' > Fetcher * f = new Fetcher( m, this ); > ^ ~~~~~~~ >message/fetcher.h:25:5: note: candidate constructor not viable: no known conversion from 'DeliveryAgent *' to 'EventHandler *' for 2nd argument > Fetcher( Message *, EventHandler * ); > ^ >message/fetcher.h:19:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided >class Fetcher > ^ >message/fetcher.h:19:7: note: candidate constructor (the implicit move constructor) not viable: requires 1 argument, but 2 were provided >message/fetcher.h:23:5: note: candidate constructor not viable: requires 3 arguments, but 2 were provided > Fetcher( List<Message> *, EventHandler *, Connection * ); > ^ >smtp/deliveryagent.cpp:358:24: error: no matching constructor for initialization of 'Injector' > Injector * i = new Injector( this ); > ^ ~~~~ >message/injector.h:48:7: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'DeliveryAgent *' to 'const Injector' for 1st argument >class Injector > ^ >message/injector.h:48:7: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'DeliveryAgent *' to 'Injector' for 1st argument >message/injector.h:52:5: note: candidate constructor not viable: no known conversion from 'DeliveryAgent *' to 'EventHandler *' for 1st argument > Injector( EventHandler * ); > ^ >smtp/deliveryagent.cpp:387:17: error: no matching constructor for initialization of 'Query' > new Query( "update delivery_recipients " > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >db/query.h:25:5: note: candidate constructor not viable: no known conversion from 'DeliveryAgent *' to 'EventHandler *' for 2nd argument > Query( const EString &, EventHandler * ); > ^ >db/query.h:26:5: note: candidate constructor not viable: no known conversion from 'const char[119]' to 'const PreparedStatement' for 1st argument > Query( const PreparedStatement &, EventHandler * ); > ^ >db/query.h:24:5: note: candidate constructor not viable: requires at most 1 argument, but 2 were provided > Query( EventHandler * = 0 ); > ^ >db/query.h:20:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided >class Query > ^ >15 errors generated. > >clang -c -o build/clang/message/smtpclient.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Imessage -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations message/smtpclient.cpp > >In file included from message/smtpclient.cpp:3: >message/smtpclient.h:28:23: error: unknown type name 'EventHandler' > void send( DSN *, EventHandler * ); > ^ >In file included from message/smtpclient.cpp:13: >In file included from smtp/smtphelo.h:6: >smtp/smtpcommand.h:13:14: error: base class has incomplete type > : public EventHandler > ~~~~~~~^~~~~~~~~~~~ >server/timer.h:14:18: note: forward declaration of 'EventHandler' > Timer( class EventHandler *, uint ); > ^ >message/smtpclient.cpp:57:18: error: base class has incomplete type > : public EventHandler > ~~~~~~~^~~~~~~~~~~~ >server/timer.h:14:18: note: forward declaration of 'EventHandler' > Timer( class EventHandler *, uint ); > ^ >message/smtpclient.cpp:168:17: error: member access into incomplete type 'EventHandler' > d->owner->notify(); > ^ >server/timer.h:14:18: note: forward declaration of 'EventHandler' > Timer( class EventHandler *, uint ); > ^ >message/smtpclient.cpp:345:33: error: no matching constructor for initialization of 'Timer' > d->closeTimer = new Timer( d->timerCloser, 298 ); > ^ ~~~~~~~~~~~~~~~~~~~ >server/timer.h:14:5: note: candidate constructor not viable: no known conversion from 'SmtpClientData::TimerCloser *' to 'class EventHandler *' for 1st argument > Timer( class EventHandler *, uint ); > ^ >server/timer.h:10:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided >class Timer > ^ >message/smtpclient.cpp:347:33: error: no matching constructor for initialization of 'Timer' > d->closeTimer = new Timer( d->timerCloser, 15 ); > ^ ~~~~~~~~~~~~~~~~~~ >server/timer.h:14:5: note: candidate constructor not viable: no known conversion from 'SmtpClientData::TimerCloser *' to 'class EventHandler *' for 1st argument > Timer( class EventHandler *, uint ); > ^ >server/timer.h:10:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided >class Timer > ^ >message/smtpclient.cpp:565:18: error: out-of-line definition of 'send' does not match any declaration in 'SmtpClient' >void SmtpClient::send( DSN * dsn, EventHandler * user ) > ^~~~ >message/smtpclient.cpp:570:27: error: member access into incomplete type 'EventHandler' > d->log = new Log( user->log() ); > ^ >server/timer.h:14:18: note: forward declaration of 'EventHandler' > Timer( class EventHandler *, uint ); > ^ >message/smtpclient.cpp:616:17: error: member access into incomplete type 'EventHandler' > d->owner->notify(); > ^ >server/timer.h:14:18: note: forward declaration of 'EventHandler' > Timer( class EventHandler *, uint ); > ^ >message/smtpclient.cpp:661:29: error: no matching constructor for initialization of 'Timer' > d->closeTimer = new Timer( d->timerCloser, t ); > ^ ~~~~~~~~~~~~~~~~~ >server/timer.h:14:5: note: candidate constructor not viable: no known conversion from 'SmtpClientData::TimerCloser *' to 'class EventHandler *' for 1st argument > Timer( class EventHandler *, uint ); > ^ >server/timer.h:10:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided >class Timer > ^ >10 errors generated. > >mkdir -p build/clang/sasl > > >clang -c -o build/clang/sasl/mechanism.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Isasl -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl sasl/mechanism.cpp > >In file included from sasl/mechanism.cpp:3: >sasl/mechanism.h:15:14: error: expected class name > : public EventHandler > ^ >sasl/mechanism.h:58:53: error: unknown type name 'EventHandler' > static SaslMechanism * create( const EString &, EventHandler *, > ^ >sasl/mechanism.h:69:20: error: unknown type name 'EventHandler' > SaslMechanism( EventHandler *, Type ); > ^ >sasl/mechanism.cpp:90:32: error: out-of-line definition of 'create' does not match any declaration in 'SaslMechanism' >SaslMechanism * SaslMechanism::create( const EString & mechanism, > ^~~~~~ >sasl/mechanism.cpp:129:16: error: out-of-line definition of 'SaslMechanism' does not match any declaration in 'SaslMechanism' >SaslMechanism::SaslMechanism( EventHandler * cmd, Type type ) > ^~~~~~~~~~~~~ >sasl/mechanism.cpp:306:31: error: cannot initialize a parameter of type 'EventHandler *' with an rvalue of type 'SaslMechanism *' > d->user->refresh( this ); > ^~~~ >server/user.h:51:34: note: passing argument to parameter here > void refresh( EventHandler * ); > ^ >sasl/mechanism.cpp:312:39: error: cannot initialize a parameter of type 'class EventHandler *' with an rvalue of type 'SaslMechanism *' > Database::notifyWhenIdle( this ); > ^~~~ >db/database.h:49:54: note: passing argument to parameter here > static void notifyWhenIdle( class EventHandler * ); > ^ >7 errors generated. > >clang -c -o build/clang/sasl/plain.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Isasl -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl sasl/plain.cpp > >In file included from sasl/plain.cpp:15: >In file included from sasl/plain.h:6: >sasl/mechanism.h:15:14: error: expected class name > : public EventHandler > ^ >sasl/mechanism.h:58:53: error: unknown type name 'EventHandler' > static SaslMechanism * create( const EString &, EventHandler *, > ^ >sasl/mechanism.h:69:20: error: unknown type name 'EventHandler' > SaslMechanism( EventHandler *, Type ); > ^ >In file included from sasl/plain.cpp:15: >sasl/plain.h:13:12: error: unknown type name 'EventHandler' > Plain( EventHandler * ); > ^ >sasl/plain.cpp:22:15: error: unknown type name 'EventHandler' >Plain::Plain( EventHandler *c ) > ^ >5 errors generated. > >clang -c -o build/clang/sasl/anonymous.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Isasl -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl sasl/anonymous.cpp > >In file included from sasl/anonymous.cpp:11: >In file included from sasl/anonymous.h:6: >sasl/mechanism.h:15:14: error: expected class name > : public EventHandler > ^ >sasl/mechanism.h:58:53: error: unknown type name 'EventHandler' > static SaslMechanism * create( const EString &, EventHandler *, > ^ >sasl/mechanism.h:69:20: error: unknown type name 'EventHandler' > SaslMechanism( EventHandler *, Type ); > ^ >In file included from sasl/anonymous.cpp:11: >sasl/anonymous.h:13:16: error: unknown type name 'EventHandler' > Anonymous( EventHandler * ); > ^ >sasl/anonymous.cpp:16:23: error: unknown type name 'EventHandler' >Anonymous::Anonymous( EventHandler *c ) > ^ >5 errors generated. > >clang -c -o build/clang/sasl/cram-md5.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Isasl -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl sasl/cram-md5.cpp > >In file included from sasl/cram-md5.cpp:3: >In file included from sasl/cram-md5.h:6: >sasl/mechanism.h:15:14: error: expected class name > : public EventHandler > ^ >sasl/mechanism.h:58:53: error: unknown type name 'EventHandler' > static SaslMechanism * create( const EString &, EventHandler *, > ^ >sasl/mechanism.h:69:20: error: unknown type name 'EventHandler' > SaslMechanism( EventHandler *, Type ); > ^ >In file included from sasl/cram-md5.cpp:3: >sasl/cram-md5.h:13:14: error: unknown type name 'EventHandler' > CramMD5( EventHandler * ); > ^ >sasl/cram-md5.cpp:26:10: error: out-of-line definition of 'CramMD5' does not match any declaration in 'CramMD5' >CramMD5::CramMD5( EventHandler *c ) > ^~~~~~~ >sasl/cram-md5.cpp:27:7: error: no matching constructor for initialization of 'SaslMechanism' > : SaslMechanism( c, SaslMechanism::CramMD5 ) > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ >sasl/mechanism.h:14:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided >class SaslMechanism > ^ >sasl/mechanism.h:14:7: note: candidate constructor (the implicit default constructor) not viable: requires 0 arguments, but 2 were provided >6 errors generated. > >clang -c -o build/clang/sasl/digest-md5.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Isasl -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl sasl/digest-md5.cpp > >In file included from sasl/digest-md5.cpp:3: >In file included from sasl/digest-md5.h:6: >sasl/mechanism.h:15:14: error: expected class name > : public EventHandler > ^ >sasl/mechanism.h:58:53: error: unknown type name 'EventHandler' > static SaslMechanism * create( const EString &, EventHandler *, > ^ >sasl/mechanism.h:69:20: error: unknown type name 'EventHandler' > SaslMechanism( EventHandler *, Type ); > ^ >In file included from sasl/digest-md5.cpp:3: >sasl/digest-md5.h:14:16: error: unknown type name 'EventHandler' > DigestMD5( EventHandler * ); > ^ >sasl/digest-md5.cpp:58:12: error: out-of-line definition of 'DigestMD5' does not match any declaration in 'DigestMD5' >DigestMD5::DigestMD5( EventHandler *c ) > ^~~~~~~~~ >sasl/digest-md5.cpp:59:7: error: no matching constructor for initialization of 'SaslMechanism' > : SaslMechanism( c, SaslMechanism::DigestMD5 ), d( new DigestData ) > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ >sasl/mechanism.h:14:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided >class SaslMechanism > ^ >sasl/mechanism.h:14:7: note: candidate constructor (the implicit default constructor) not viable: requires 0 arguments, but 2 were provided >6 errors generated. > >clang -c -o build/clang/sasl/sasllogin.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Isasl -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl sasl/sasllogin.cpp > >In file included from sasl/sasllogin.cpp:3: >In file included from sasl/sasllogin.h:6: >sasl/mechanism.h:15:14: error: expected class name > : public EventHandler > ^ >sasl/mechanism.h:58:53: error: unknown type name 'EventHandler' > static SaslMechanism * create( const EString &, EventHandler *, > ^ >sasl/mechanism.h:69:20: error: unknown type name 'EventHandler' > SaslMechanism( EventHandler *, Type ); > ^ >In file included from sasl/sasllogin.cpp:3: >sasl/sasllogin.h:13:16: error: unknown type name 'EventHandler' > SaslLogin( EventHandler * ); > ^ >sasl/sasllogin.cpp:22:23: error: unknown type name 'EventHandler' >SaslLogin::SaslLogin( EventHandler * c ) > ^ >5 errors generated. > >clang -c -o build/clang/sasl/saslconnection.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Isasl -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl sasl/saslconnection.cpp > > >clang -c -o build/clang/sasl/ldaprelay.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Isasl -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl sasl/ldaprelay.cpp > >In file included from sasl/ldaprelay.cpp:7: >sasl/mechanism.h:15:14: error: expected class name > : public EventHandler > ^ >sasl/mechanism.h:58:53: error: unknown type name 'EventHandler' > static SaslMechanism * create( const EString &, EventHandler *, > ^ >sasl/mechanism.h:69:20: error: unknown type name 'EventHandler' > SaslMechanism( EventHandler *, Type ); > ^ >3 errors generated. > >mkdir -p build/clang/collations > > >clang -c -o build/clang/collations/collation.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Icollations -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations collations/collation.cpp > > >clang -c -o build/clang/collations/octet.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Icollations -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations collations/octet.cpp > > >clang -c -o build/clang/collations/ascii-numeric.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Icollations -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations collations/ascii-numeric.cpp > > >clang -c -o build/clang/collations/ascii-casemap.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -O3 -Icollations -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations collations/ascii-casemap.cpp > >...skipped archiveopteryx for lack of <archiveopteryx>archiveopteryx.o... > >mkdir -p build/clang/aoximport > > >clang -c -o build/clang/aoximport/aoximport.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -pthread -O3 -Iaoximport -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations -Ilogd -Iaox -Ipop aoximport/aoximport.cpp > >In file included from aoximport/aoximport.cpp:5: >In file included from aoximport/migrator.h:7: >message/injector.h:49:14: error: base class has incomplete type > : public EventHandler > ~~~~~~~^~~~~~~~~~~~ >message/message.h:11:7: note: forward declaration of 'EventHandler' >class EventHandler; > ^ >In file included from aoximport/aoximport.cpp:5: >aoximport/migrator.h:13:14: error: base class has incomplete type > : public EventHandler > ~~~~~~~^~~~~~~~~~~~ >message/message.h:11:7: note: forward declaration of 'EventHandler' >class EventHandler; > ^ >In file included from aoximport/aoximport.cpp:5: >aoximport/migrator.h:91:14: error: base class has incomplete type > : public EventHandler > ~~~~~~~^~~~~~~~~~~~ >message/message.h:11:7: note: forward declaration of 'EventHandler' >class EventHandler; > ^ >In file included from aoximport/aoximport.cpp:13: >message/flag.h:14:14: error: base class has incomplete type > : public EventHandler > ~~~~~~~^~~~~~~~~~~~ >message/message.h:11:7: note: forward declaration of 'EventHandler' >class EventHandler; > ^ >aoximport/aoximport.cpp:98:21: error: cannot initialize a parameter of type 'class EventHandler *' with an lvalue of type 'Migrator *' > Mailbox::setup( m ); > ^ >server/mailbox.h:50:45: note: passing argument to parameter here > static void setup( class EventHandler * = 0 ); > ^ >5 errors generated. > >clang -c -o build/clang/aoximport/migrator.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -pthread -O3 -Iaoximport -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations -Ilogd -Iaox -Ipop aoximport/migrator.cpp > >In file included from aoximport/migrator.cpp:3: >In file included from aoximport/migrator.h:7: >message/injector.h:49:14: error: base class has incomplete type > : public EventHandler > ~~~~~~~^~~~~~~~~~~~ >message/message.h:11:7: note: forward declaration of 'EventHandler' >class EventHandler; > ^ >In file included from aoximport/migrator.cpp:3: >aoximport/migrator.h:13:14: error: base class has incomplete type > : public EventHandler > ~~~~~~~^~~~~~~~~~~~ >message/message.h:11:7: note: forward declaration of 'EventHandler' >class EventHandler; > ^ >In file included from aoximport/migrator.cpp:3: >aoximport/migrator.h:91:14: error: base class has incomplete type > : public EventHandler > ~~~~~~~^~~~~~~~~~~~ >message/message.h:11:7: note: forward declaration of 'EventHandler' >class EventHandler; > ^ >In file included from aoximport/migrator.cpp:7: >message/flag.h:14:14: error: base class has incomplete type > : public EventHandler > ~~~~~~~^~~~~~~~~~~~ >message/message.h:11:7: note: forward declaration of 'EventHandler' >class EventHandler; > ^ >aoximport/migrator.cpp:146:35: error: cannot initialize a parameter of type 'class EventHandler *' with an rvalue of type 'Migrator *' > Database::notifyWhenIdle( this ); > ^~~~ >db/database.h:49:54: note: passing argument to parameter here > static void notifyWhenIdle( class EventHandler * ); > ^ >aoximport/migrator.cpp:387:7: error: type 'EventHandler' is not a direct or virtual base of 'MailboxMigrator' > : EventHandler(), d( new MailboxMigratorData ) > ^~~~~~~~~~~~ >aoximport/migrator.cpp:483:27: error: no matching constructor for initialization of 'Injector' > d->injector = new Injector( this ); > ^ ~~~~ >message/injector.h:48:7: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'MailboxMigrator *' to 'const Injector' for 1st argument >class Injector > ^ >message/injector.h:48:7: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'MailboxMigrator *' to 'Injector' for 1st argument >message/injector.h:52:5: note: candidate constructor not viable: no known conversion from 'MailboxMigrator *' to 'EventHandler *' for 1st argument > Injector( EventHandler * ); > ^ >7 errors generated. > >clang -c -o build/clang/aoximport/dirtree.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -pthread -O3 -Iaoximport -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations -Ilogd -Iaox -Ipop aoximport/dirtree.cpp > >In file included from aoximport/dirtree.cpp:3: >In file included from aoximport/dirtree.h:6: >In file included from aoximport/migrator.h:7: >message/injector.h:49:14: error: base class has incomplete type > : public EventHandler > ~~~~~~~^~~~~~~~~~~~ >message/message.h:11:7: note: forward declaration of 'EventHandler' >class EventHandler; > ^ >In file included from aoximport/dirtree.cpp:3: >In file included from aoximport/dirtree.h:6: >aoximport/migrator.h:13:14: error: base class has incomplete type > : public EventHandler > ~~~~~~~^~~~~~~~~~~~ >message/message.h:11:7: note: forward declaration of 'EventHandler' >class EventHandler; > ^ >In file included from aoximport/dirtree.cpp:3: >In file included from aoximport/dirtree.h:6: >aoximport/migrator.h:91:14: error: base class has incomplete type > : public EventHandler > ~~~~~~~^~~~~~~~~~~~ >message/message.h:11:7: note: forward declaration of 'EventHandler' >class EventHandler; > ^ >3 errors generated. > >clang -c -o build/clang/aoximport/mbox.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -pthread -O3 -Iaoximport -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations -Ilogd -Iaox -Ipop aoximport/mbox.cpp > >In file included from aoximport/mbox.cpp:3: >In file included from aoximport/mbox.h:6: >In file included from aoximport/migrator.h:7: >message/injector.h:49:14: error: base class has incomplete type > : public EventHandler > ~~~~~~~^~~~~~~~~~~~ >message/message.h:11:7: note: forward declaration of 'EventHandler' >class EventHandler; > ^ >In file included from aoximport/mbox.cpp:3: >In file included from aoximport/mbox.h:6: >aoximport/migrator.h:13:14: error: base class has incomplete type > : public EventHandler > ~~~~~~~^~~~~~~~~~~~ >message/message.h:11:7: note: forward declaration of 'EventHandler' >class EventHandler; > ^ >In file included from aoximport/mbox.cpp:3: >In file included from aoximport/mbox.h:6: >aoximport/migrator.h:91:14: error: base class has incomplete type > : public EventHandler > ~~~~~~~^~~~~~~~~~~~ >message/message.h:11:7: note: forward declaration of 'EventHandler' >class EventHandler; > ^ >3 errors generated. > >clang -c -o build/clang/aoximport/cyrus.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -pthread -O3 -Iaoximport -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations -Ilogd -Iaox -Ipop aoximport/cyrus.cpp > >In file included from aoximport/cyrus.cpp:3: >In file included from aoximport/cyrus.h:6: >In file included from aoximport/migrator.h:7: >message/injector.h:49:14: error: base class has incomplete type > : public EventHandler > ~~~~~~~^~~~~~~~~~~~ >message/message.h:11:7: note: forward declaration of 'EventHandler' >class EventHandler; > ^ >In file included from aoximport/cyrus.cpp:3: >In file included from aoximport/cyrus.h:6: >aoximport/migrator.h:13:14: error: base class has incomplete type > : public EventHandler > ~~~~~~~^~~~~~~~~~~~ >message/message.h:11:7: note: forward declaration of 'EventHandler' >class EventHandler; > ^ >In file included from aoximport/cyrus.cpp:3: >In file included from aoximport/cyrus.h:6: >aoximport/migrator.h:91:14: error: base class has incomplete type > : public EventHandler > ~~~~~~~^~~~~~~~~~~~ >message/message.h:11:7: note: forward declaration of 'EventHandler' >class EventHandler; > ^ >3 errors generated. > >clang -c -o build/clang/aoximport/mh.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -pthread -O3 -Iaoximport -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations -Ilogd -Iaox -Ipop aoximport/mh.cpp > >In file included from aoximport/mh.cpp:3: >In file included from aoximport/mh.h:6: >In file included from aoximport/migrator.h:7: >message/injector.h:49:14: error: base class has incomplete type > : public EventHandler > ~~~~~~~^~~~~~~~~~~~ >message/message.h:11:7: note: forward declaration of 'EventHandler' >class EventHandler; > ^ >In file included from aoximport/mh.cpp:3: >In file included from aoximport/mh.h:6: >aoximport/migrator.h:13:14: error: base class has incomplete type > : public EventHandler > ~~~~~~~^~~~~~~~~~~~ >message/message.h:11:7: note: forward declaration of 'EventHandler' >class EventHandler; > ^ >In file included from aoximport/mh.cpp:3: >In file included from aoximport/mh.h:6: >aoximport/migrator.h:91:14: error: base class has incomplete type > : public EventHandler > ~~~~~~~^~~~~~~~~~~~ >message/message.h:11:7: note: forward declaration of 'EventHandler' >class EventHandler; > ^ >3 errors generated. > >clang -c -o build/clang/aoximport/maildir.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -pthread -O3 -Iaoximport -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations -Ilogd -Iaox -Ipop aoximport/maildir.cpp > >In file included from aoximport/maildir.cpp:3: >In file included from aoximport/maildir.h:6: >In file included from aoximport/migrator.h:7: >message/injector.h:49:14: error: base class has incomplete type > : public EventHandler > ~~~~~~~^~~~~~~~~~~~ >message/message.h:11:7: note: forward declaration of 'EventHandler' >class EventHandler; > ^ >In file included from aoximport/maildir.cpp:3: >In file included from aoximport/maildir.h:6: >aoximport/migrator.h:13:14: error: base class has incomplete type > : public EventHandler > ~~~~~~~^~~~~~~~~~~~ >message/message.h:11:7: note: forward declaration of 'EventHandler' >class EventHandler; > ^ >In file included from aoximport/maildir.cpp:3: >In file included from aoximport/maildir.h:6: >aoximport/migrator.h:91:14: error: base class has incomplete type > : public EventHandler > ~~~~~~~^~~~~~~~~~~~ >message/message.h:11:7: note: forward declaration of 'EventHandler' >class EventHandler; > ^ >3 errors generated. >...skipped aoximport for lack of <aoximport>aoximport.o... > >mkdir -p build/clang/aoxexport > > >clang -c -o build/clang/aoxexport/aoxexport.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -pthread -O3 -Iaoxexport -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations -Ilogd -Iaox -Ipop aoxexport/aoxexport.cpp > > >clang -c -o build/clang/aoxexport/exporter.o -I/usr/local/include -g -Werror -funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -pthread -O3 -Iaoxexport -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations -Ilogd -Iaox -Ipop aoxexport/exporter.cpp > >In file included from aoxexport/exporter.cpp:3: >aoxexport/exporter.h:13:14: error: expected class name > : public EventHandler > ^ >aoxexport/exporter.cpp:60:5: error: use of undeclared identifier 'setLog' > setLog( new Log ); > ^ >aoxexport/exporter.cpp:67:35: error: cannot initialize a parameter of type 'class EventHandler *' with an rvalue of type 'Exporter *' > Database::notifyWhenIdle( this ); > ^~~~ >db/database.h:49:54: note: passing argument to parameter here > static void notifyWhenIdle( class EventHandler * ); > ^ >aoxexport/exporter.cpp:83:57: error: cannot initialize a parameter of type 'class EventHandler *' with an rvalue of type 'Exporter *' > d->find = d->selector->query( 0, d->mailbox, 0, this, > ^~~~ >server/selector.h:60:57: note: passing argument to parameter here > class Session *, class EventHandler *, > ^ >aoxexport/exporter.cpp:99:26: error: no matching constructor for initialization of 'Fetcher' > d->fetcher = new Fetcher( d->messages, this, 0 ); > ^ ~~~~~~~~~~~~~~~~~~~~ >message/fetcher.h:23:5: note: candidate constructor not viable: no known conversion from 'Exporter *' to 'EventHandler *' for 2nd argument > Fetcher( List<Message> *, EventHandler *, Connection * ); > ^ >message/fetcher.h:25:5: note: candidate constructor not viable: requires 2 arguments, but 3 were provided > Fetcher( Message *, EventHandler * ); > ^ >message/fetcher.h:19:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 3 were provided >class Fetcher > ^ >message/fetcher.h:19:7: note: candidate constructor (the implicit move constructor) not viable: requires 1 argument, but 3 were provided >5 errors generated. >...skipped aoxexport for lack of <aoxexport>exporter.o... >*** Error code 1 > >Stop. >make[1]: stopped in /usr/ports/mail/archiveopteryx >*** Error code 1 > >Stop. >make: stopped in /usr/ports/mail/archiveopteryx
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 266324
: 236458