Open QianNangong opened 4 years ago
Hello,
Now, we can transpile C code only if we can compile C code.
Your code looks not good.
But, in that code strange for
in switch
. How you expect Go code?
But it does compile using gcc or clang.
发自我的iPhone
------------------ Original ------------------ From: Konstantin <notifications@github.com> Date: Mon,Jun 15,2020 10:32 PM To: Konstantin8105/c4go <c4go@noreply.github.com> Cc: Frozen-Tofu <me@kaze.ai>, Author <author@noreply.github.com> Subject: Re: [Konstantin8105/c4go] strange usage of switch won't be able to be transpiled to Go (#484)
Hello, Now, we can transpile C code only if we can compile C code. Your code looks not good. But, in that code strange for in switch. How you expect Go code?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.
Ok, @Frozen-Tofu Fell free for create PR and implement the solution.
for example: