search for: i_my_pread

Displaying 5 results from an estimated 5 matches for "i_my_pread".

2019 Jan 11
2
Solr -> Xapian ?
...m) </div> <div> <br> </div> <div> However, I reach : </div> <div> <br> </div> <div> ../../../src/lib/compat.h:207:19: error: conflicting declaration of </div> <div> 'ssize_t i_my_pread(int, void*, size_t, __off_t)' with 'C' linkage </div> <div> # define pread i_my_pread </div> <div> ^~~~~~~~~~ </div> <div> ../../../src/lib/compat.h:210:9: note: previous declaration with 'C++' </div>...
2019 Jan 11
0
Solr -> Xapian ?
I managed to deal with the namespace issue (updated makefile.am) However, I reach : ../../../src/lib/compat.h:207:19: error: conflicting declaration of 'ssize_t i_my_pread(int, void*, size_t, __off_t)' with 'C' linkage # define pread i_my_pread ^~~~~~~~~~ ../../../src/lib/compat.h:210:9: note: previous declaration with 'C++' linkage ssize_t i_my_pread(int fd, void *buf, size_t count, off_t offset); ^~~~~~~~~~ ../../../src/lib/compat.h:208:20: erro...
2019 Jan 11
0
Solr -> Xapian ?
...0 Joan Moreau via dovecot < dovecot at dovecot.org> wrote: >> >> I managed to deal with the namespace issue (updated makefile.am) >> >> However, I reach : >> >> ../../../src/lib/compat.h:207:19: error: conflicting declaration of >> 'ssize_t i_my_pread(int, void*, size_t, __off_t)' with 'C' linkage >> # define pread i_my_pread >> ^~~~~~~~~~ >> ../../../src/lib/compat.h:210:9: note: previous declaration with 'C++' >> linkage >> ssize_t i_my_pread(int fd, void *buf, size_t count, off_t offset);...
2019 Jan 11
2
Solr -> Xapian ?
Also, 1 - WHat does represent "subargs" in mail_search_args 2 - I made my first code, and the error I get compiling within the dovecot architecture is "In file included from fts-xapian-plugin.c:4: fts-xapian-plugin.h:6:1: error: unknown type name 'using'; did you mean 'uint'? using namespace std;" if I remove this, the Xapian library is also complaining
2019 Jan 11
4
Solr -> Xapian ?
...***** struct iovec; *** 202,207 **** --- 202,211 ---- ssize_t i_my_writev(int fd, const struct iovec *iov, int iov_len); #endif + #ifdef __cplusplus + extern "C" { + #endif + #if !defined(HAVE_PREAD) || defined(PREAD_WRAPPERS) || defined(PREAD_BROKEN) # ifndef IN_COMPAT_C # define pread i_my_pread *************** ssize_t i_my_pread(int fd, void *buf, si *** 211,216 **** --- 215,225 ---- ssize_t i_my_pwrite(int fd, const void *buf, size_t count, off_t offset); #endif + #ifdef __cplusplus + } + #endif + + #ifndef HAVE_SETEUID # define seteuid i_my_seteuid int i_my_seteuid(uid_t euid); To...