Summary:ASTERISK-18348: Voicemail with IMAP support cannot be compiled under dev-mode
Reporter:Matt Jordan (mjordan)Labels:
Date Opened:2011-08-25 15:58:16Date Closed:2011-12-20 09:00:57.000-0600
Versions:Frequency of
Description:The latest UW IMAP libraries have the following warning:

In file included from thirdparty/imap-2007f//c-client/osdep.h:63:0,
                from thirdparty/imap-2007f//c-client/c-client.h:42,
                from app_voicemail.c:85:
thirdparty/imap-2007f//c-client/env_unix.h:71:1: warning: function declaration isn't a prototype

Because dev-mode treats all warnings as an error, this causes app_voicemail to fail to compile.

Note that this is only an issue with respect to maintenance of IMAP - any unit tests that would be developed to help maintain IMAP support would not be able to be run until this error is fixed.
Comments:By: Paul Belanger (pabelanger) 2011-08-25 16:08:06.301-0500

Did you manually download the library or are you using a stock OS version?  Ideally we should add a bamboo agent for Debian unstable, they are usually pretty fast to include the latest and greatest tarballs.

By: Leif Madsen (lmadsen) 2011-09-13 07:40:23.830-0500

Requesting feedback from Matt Jordan per Paul Belanger

By: Leif Madsen (lmadsen) 2011-11-01 09:06:35.978-0500

Now that we're back from AstriCon, I'm going to ping Matt Jordan on this issue again :)

By: Matt Jordan (mjordan) 2011-11-01 09:18:52.718-0500

Already tried this with 2007f, which is the latest release from UW.  I'll look into filing a bug with them; however, it'd be nice if 3rd party stuff could be excluded from the stricter flags.  No idea how difficult that would be at this time to implement in our Makefile.

By: Matt Jordan (mjordan) 2011-11-01 09:26:05.310-0500

To answer Paul's comment, this was downloaded from UW's site, per the Definitive Guide instructions.  I'll try with an installed package later.