v2.3.0 release candidate released
Stephan Bosch
stephan at rename-it.nl
Tue Dec 19 00:10:21 EET 2017
Op 12/18/2017 om 10:59 PM schreef Kenneth Porter:
> On 12/18/2017 10:53 AM, James wrote:
>> On 18/12/2017 18:15, Stephan Bosch wrote:
>>> Op 12/18/2017 om 6:16 PM schreef James:
>>
>>>> "smtp-server-cmd-helo.c", line 140: void function cannot return value
>>>> "smtp-server-cmd-helo.c", line 148: void function cannot return value
>>>
>>> Just wondering: which system/compiler is giving these errors?
>>
>> Sun/Oracle Studio compiler on Solaris.
>>
>> $ cc -V
>> cc: Studio 12.5 Sun C 5.14 SunOS_i386 2016/05/31
>
> This is valid syntax for C++14 but invalid for C11. See this answer:
>
> https://stackoverflow.com/questions/35987493/return-void-type-in-c-and-c
Yes, I know why it is wrong. I was just wondering why our usual set of
compilers didn't at least warn about this stupidity. :)
Regards,
Stephan.
More information about the dovecot
mailing list