[FTS Xapian] Beta release

Stephan Bosch stephan at rename-it.nl
Mon Jan 14 15:15:43 EET 2019


Op 14-1-2019 om 13:29 schreef Odhiambo Washington:
> Testing a compile on FreeBSD.
[...]
>
> During `make`, the following warning is generated:
>
> /bin/sh ../libtool  --tag=CXX   --mode=compile c++ -DHAVE_CONFIG_H -I. 
> -I.. -I/opt/dovecot2.3/include/dovecot  -I/usr/local/include 
> -I/opt/dovecot2.3/include/dovecot      -g -O2 -MT 
> fts-backend-xapian.lo -MD -MP -MF .deps/fts-backend-xapian.Tpo -c -o 
> fts-backend-xapian.lo fts-backend-xapian.cpp
> libtool: compile:  c++ -DHAVE_CONFIG_H -I. -I.. 
> -I/opt/dovecot2.3/include/dovecot -I/usr/local/include 
> -I/opt/dovecot2.3/include/dovecot -g -O2 -MT fts-backend-xapian.lo -MD 
> -MP -MF .deps/fts-backend-xapian.Tpo -c fts-backend-xapian.cpp  -fPIC 
> -DPIC -o .libs/fts-backend-xapian.o
> fts-backend-xapian.cpp:486:14: warning: format string is not a string 
> literal (potentially insecure) [-Wformat-security]
> i_warning(e.get_msg().c_str());
> ^~~~~~~~~~~~~~~~~~~
> fts-backend-xapian.cpp:486:14: note: treat the string as an argument 
> to avoid this
> i_warning(e.get_msg().c_str());
>                                   ^
>                                   "%s",
> 1 warning generated.

-> i_warning("%s", e.get_msg().c_str());


Regards,

Stephan.



More information about the dovecot mailing list