Julien ÉLIE wrote:

Hi all,

Following this previous thread:
 http://lists.andrew.cmu.edu/pipermail/cyrus-sasl/2010-November/002161.html

I also have a compilation error when trying to build INN (a news server)
with the latest version of cyrus-sasl 2.1.24rc1.

I am using GCC 4.6.1.

make[2]: Entering directory `/home/iulius/autobuild/inn/nnrpd'
/home/iulius/autobuild/bin/gcc-core-4.6.1/bin/gcc -g -O2 -DDEBUG=1 -Wall -W 
-Wendif-labels -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings 
-Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Werror -g -O2 
-I../include   -I/home/iulius/autobuild/bin/cyrus-sasl-2.1.24rc1/include  
-I/home/iulius/autobuild/bin/cyrus-sasl-2.1.24rc1/include -c article.c
In file included from nnrpd.h:25:0,
                from article.c:18:
/home/iulius/autobuild/bin/cyrus-sasl-2.1.24rc1/include/sasl/sasl.h:353:5: 
error: function declaration isn’t a prototype [-Werror=strict-prototypes]
cc1: all warnings being treated as errors


No problem if I do not use the "strict-prototypes" warning with GCC.
Isn't there an issue with cyrus-sasl?

Line 353 is:
   int (*proc)();
in sasl_callback_t definition.

I might have fixes for these in my private fork. I will try to apply them to the HEAD.

By the way, is an official 2.1.24 release planned?

Yes. I think I've just missed the internal deadline (it was September 1st).

Best Regards,
Alexey

--
Internet Messaging Team Lead, <http://www.isode.com>
JID: same as my email address
twitter: aamelnikov


Reply via email to