[Users] [Bug 4454] New: Build error: non-void function 'xface_get_from_header' should return a value

noreply at thewildbeast.co.uk noreply at thewildbeast.co.uk
Fri Mar 5 04:12:21 CET 2021


https://www.thewildbeast.co.uk/claws-mail/bugzilla/show_bug.cgi?id=4454

            Bug ID: 4454
           Summary: Build error: non-void function 'xface_get_from_header'
                    should return a value
           Product: Claws Mail
           Version: GIT
          Hardware: All
                OS: All
            Status: NEW
          Severity: major
          Priority: P3
         Component: Other
          Assignee: users at lists.claws-mail.org
          Reporter: rootkea at gmail.com

Hello!

While building the latest git master with clang the build fails:

./gtkutils.c:1093:2: error: non-void function 'xface_get_from_header' should
return a value [-Wreturn-type]
        cm_return_if_fail(sizeof(xface) < 0);
        ^

Also I don't get this line of code. Shouldn't we be checking `o_xface` instead
of `xface` or am I missing something? And also the condition expression...

Regards,
Avinash Sonawane (rootKea)
PICT Pune

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Users mailing list