七叶

Results 29 issues of 七叶

support build for gopherjs ``` GOOS=js GOARCH=ecmascript gopherjs serve -v --tags canvas . ``` **replace function for gopehrjs runtime.** [github.com/visualfc/gopherjs-fixed](https://github.com/visualfc/gopherjs-fixed) - github.com/hajimehoshi/ebiten/v2/internal/jsutil ``` jsutil.TemporaryUint8ArrayFromUint8Slice jsutil.TemporaryUint8ArrayFromUint16Slice jsutil.TemporaryUint8ArrayFromFloat32Slice jsutil.TemporaryFloat32Array ``` - github.com/hajimehoshi/oto/v2...

### The following program `sample.gop` triggers an unexpected result ```go // add a sample package main type S string var a, b, c, d = len(b), S(c), "hello", c +...

proposal
priority:low

### The following program `sample.gop` triggers an unexpected result -- abc.go ```coffee // add a sample package abc const GopPackage = true type M[T any] struct { } func (m...

bug

test demo a.c ``` #include enum { ONE,TWO }; void test1() { printf("test1 %d\n",ONE); } ``` b.c ``` #include enum { ONE,TWO }; void test2() { printf("test2 %d\n",TWO); } ```...

bug

demo.c ``` typedef int (__cdecl *_onexit_t)(void); int main() { return 0; } ``` c2go demo.c ``` panic: toType: illegal syntax: multiple types? - int (*)(void) __attribute__((cdecl)) ```

bug

**Support clang for windows** - clang target: x86_64-pc-windows-msvc. https://releases.llvm.org/ - clang target: x86_64-w64-windows-gnu. https://github.com/mstorsjo/llvm-mingw/releases - add tags windows_msvc/windows_gnu **Changes** - c2go -test cleanEndLine for windows \r\n=>\n - c2go use build.Import...

fix https://github.com/goplus/c2go/issues/156 .c file enum use prefix enum { ONE }; to -> _cgoe_ONE