search for: i_my_pwrite

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

2019 Jan 11
2
Solr -> Xapian ?
...</div> <div> ssize_t i_my_pread(int fd, void *buf, size_t count, off_t offset); </div> <div> ^~~~~~~~~~ </div> <div> ../../../src/lib/compat.h:208:20: error: conflicting declaration of </div> <div> 'ssize_t i_my_pwrite(int, const void*, size_t, __off_t)' with 'C' </div> <div> linkage </div> <div> # define pwrite i_my_pwrite </div> <div> <br> </div> <div> Any help welcome </div> <div> &lt...
2019 Jan 11
0
Solr -> Xapian ?
...9;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: error: conflicting declaration of 'ssize_t i_my_pwrite(int, const void*, size_t, __off_t)' with 'C' linkage # define pwrite i_my_pwrite Any help welcome Hi, I figured out the "namespace" issue Remaining questions are : 1 - WHat does represent "subargs" in mail_search_args 2 - for rescan : who is responsible f...
2019 Jan 11
0
Solr -> Xapian ?
...gt; ../../../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: error: conflicting declaration of >> 'ssize_t i_my_pwrite(int, const void*, size_t, __off_t)' with 'C' >> linkage >> # define pwrite i_my_pwrite >> >> Any help welcome >> >> Hi, >> >> I figured out the "namespace" issue >> >> Remaining questions are : >> &g...
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 ?
...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 resolve integration in source tree, the following diff resolve the case: $ DIFF -P CONFIGURE.AC CONFIGURE.AC....