[CM] MSVC patch

Elijah Stone elronnd at elronnd.net
Tue Oct 26 16:33:34 PDT 2021


On Tue, 26 Oct 2021, bil at ccrma.Stanford.EDU wrote:

> And thanks for the other bugfix -- why doesn't gcc complain about it?

You're allowed to return void from a void function; e.g. void f() { return 
(void)0; } is also fine; inline_file_write_char also returns void, so msvc 
is actually in the wrong here.

  -E


More information about the Cmdist mailing list