Compile error

Hi! On my old laptop (running Debian/Sid on i386), I get this error when running make:

mailbox_imap.c: In function ‘libbalsa_mailbox_imap_fetch_headers’: mailbox_imap.c:2333:15: error: comparison of integer expressions of different signedness: ‘glong’ {aka ‘long int’} and ‘unsigned int’ [-Werror=sign-compare] 2333 | if (msgno > imap_mbox_handle_get_exists(mimap->handle))
                        |               ^
        cc1: all warnings being treated as errors

I realize that there's some way to ignore warnings and not treat them as hard errors, but I guess the warning is there for a reason and ignoring it may cause strange behavior later on that's hard to explain. So here's the bug report. :-)

Have a nice day!


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]