ceph-dovecot / dovecot-ceph-plugin

Dovecot plugin for storing mails in a Ceph cluster
Other
131 stars 23 forks source link

fix sentinel warnings when compiling with dovecot 3.15 #276

Closed a16bitsysop closed 2 years ago

jrse commented 2 years ago

thanks for contributing. will take care of it.

a16bitsysop commented 2 years ago

okay, thanks it currently won't compile with dovecot 2.3.18 either there are lots of these errors:

In file included from dict-rados.cpp:42:
dict-rados.h:47:24: error: macro "DOVECOT_PREREQ" requires 3 arguments, but only 2 given
   47 | #if DOVECOT_PREREQ(2, 3)
      |                        ^
In file included from /usr/include/dovecot/lib.h:27,
                 from dovecot-dict.h:23,
                 from dict-rados.cpp:36:
/usr/include/dovecot/macros.h:237: note: macro "DOVECOT_PREREQ" defined here
  237 | #define DOVECOT_PREREQ(maj, min, micro) \