#475 closed defect (invalid)

return in void functions

Reported by: sanxiyn@… Owned by:
Priority: normal Milestone:
Component: BitlBee Version: 1.2.3
Keywords: patch Cc:
IRC client+version: Client-independent Operating System: Public server
OS version/distro:


BitlBee returns values in some functions declared void. This is a GCC extension.

Attachments (1)

bitlbee-void-return (1.4 KB) - added by sanxiyn@… at 2009-01-02T13:00:42Z.

Download all attachments as: .zip

Change History (4)

Changed at 2009-01-02T13:00:42Z by sanxiyn@…

Attachment: bitlbee-void-return added

comment:1 Changed at 2010-03-14T16:23:42Z by wilmer

Sorry for the extremely late response, as you can see from the bug numbers, bugs pile up a little bit here sometimes.

So is this a GCC extension for C, or also for C++? I tried finding some more info about this, result #1 on is pretty interesting. Looks like it's legal in C++ now, but I don't know about C.

Which compiler is having issues with this at the moment?

comment:2 Changed at 2014-07-07T10:38:37Z by dx

Keywords: patch added

Not sure how i missed this patch the last time i checked the tracker. Do we still need to care about this? It works with clang. The win32 port is completely useless right now, so MSVC is not supported. What else?

comment:3 Changed at 2015-10-13T06:17:44Z by dx

Resolution: invalid
Status: newclosed

Closing since this seems a non-issue to me.

Modify Ticket

as closed The ticket will remain with no owner.
The resolution will be deleted.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.