search for: i_my_writev

Displaying 7 results from an estimated 7 matches for "i_my_writev".

Did you mean: i_my_pwrite
2019 Jan 12
2
Solr -> Xapian ?
...compilation error >> >> $ diff -p compat.h compat.h.joan >> *** compat.h 2019-01-11 20:21:00.726625427 +0100 >> --- compat.h.joan 2019-01-11 20:14:41.729109919 +0100 >> *************** 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 > > You should put this extern "C" into the C++ file you're creating. See for example how fts-lucene/lucene-wrapper.cc does...
2019 Jan 12
2
Solr -> Xapian ?
...t; The below patch resolves the compilation error > > $ diff -p compat.h compat.h.joan > *** compat.h 2019-01-11 20:21:00.726625427 +0100 > --- compat.h.joan 2019-01-11 20:14:41.729109919 +0100 > *************** 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 > > You should put this extern "C" into the C++ file you're creating. See for example how fts-lucene/lucene-wrapper.cc does this. > > 1...
2019 Jan 12
0
Solr -> Xapian ?
...t; The below patch resolves the compilation error > > $ diff -p compat.h compat.h.joan > *** compat.h 2019-01-11 20:21:00.726625427 +0100 > --- compat.h.joan 2019-01-11 20:14:41.729109919 +0100 > *************** 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 > You should put this extern "C" into the C++ file you're creating. See for example how fts-lucene/lucene-wrapper.cc does this. > 1 - WHat do...
2019 Jan 11
4
Solr -> Xapian ?
The below patch resolves the compilation error $ DIFF -P COMPAT.H COMPAT.H.JOAN *** compat.h 2019-01-11 20:21:00.726625427 +0100 --- compat.h.joan 2019-01-11 20:14:41.729109919 +0100 *************** 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 *** 2...
2019 Jan 12
0
Solr -> Xapian ?
...t; The below patch resolves the compilation error > > $ diff -p compat.h compat.h.joan > *** compat.h 2019-01-11 20:21:00.726625427 +0100 > --- compat.h.joan 2019-01-11 20:14:41.729109919 +0100 > *************** 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 > > You should put this extern "C" into the C++ file you're creating. See for example how fts-lucene/lucene-wrapper.cc does this. > > 1...
2019 Jan 13
0
Solr -> Xapian ?
...t; The below patch resolves the compilation error > > $ diff -p compat.h compat.h.joan > *** compat.h 2019-01-11 20:21:00.726625427 +0100 > --- compat.h.joan 2019-01-11 20:14:41.729109919 +0100 > *************** 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 > > You should put this extern "C" into the C++ file you're creating. See for example how fts-lucene/lucene-wrapper.cc does this. > > 1...
2019 Jan 11
2
Solr -> Xapian ?
<!doctype html> <html> <head> <meta charset="UTF-8"> </head> <body> <div> I would recommend making this a standalone plugin for now instead of trying to keep it in core fts. </div> <div> <br> </div> <div> Aki </div> <blockquote type="cite"> <div> On 11