This repository has been archived by the owner on May 18, 2024. It is now read-only.
Releases: goplus/c2go
Releases · goplus/c2go
Release v0.3.8
new features:
- cl: support: offsetof
- cl: __builtin_xxx
- cmd/c2go: fail fast
incompatible changes:
- cl: NewPackage move srcfile => Config.SrcFile
changes:
Release v0.3.7
new features:
- cl: __atomic_load_n
- cmd/c2go: support -test
incompatible changes:
changes:
- cl: isNilComparable: support void*
- cl: compileSwitchStmt: fix misunderstand
- cl: compileSizeof(type) fix
- cl: typeCastIndex: p[n] = *(p+n)
- cl: fix p[-1], use *(p-1)
- cl: castFromBoolExpr: move to gox
- cl: compileSwitchStmt => compileSimpleSwitchStmt
- cl: compileWhileStmt => compileSimpleWhileStmt
- cl: compileBreak/ContinueStmt
- cl: gox v1.10.1
Release v0.3.6
new features:
- cl: unary +
- cl: return support auto-type-convert
- cl: add __builtin_memset_chk
- cl: atomic_store_n (AtomicExpr)
- ctypes: Enum, Func, NewFunc, NewPointer, Identical
- ctypes: ParseType: spport valist
changes:
- cl: newVarAndInit bugfix: T a = T(...)
- cl: compileImplicitCastExpr: FloatingCast
- cl: compileImplicitCastExpr: toVoid
- cl: isPointer => isNilComparable: support fn ptr
- cl: compileStructOrUnion: allow decl struct without body multiple times
- cl: gox v1.9.16: DerefType for bitfield
- cl: decl_builtin: use fn table
- ctypes: types.MangledName for struct/union
Release v0.3.5
new features:
- cl: initLit (array in struct, etc.)
- cl: support noop stmt: (void)0;
- cl: support goto label
- cl: support VAArgExpr
changes:
- cl: parseType fix - struct may decl without body
- cl: parseType fix - pointer to fn pointer
- cl: parseType - support anonymous type
- cl: castToBoolExpr: support ptr
- cl: assign auto-type-convert
Release v0.3.3
new features:
- cmd/c2go: support
c2go <sourceDir>
changes:
- cl: compileTypedef ignore if equal name
- cl: compileStructOrUnion: don't initType if not completeDefinition
- cl: compileAssignOpExpr: should as a value
- gox v1.9.15
Release v0.3.2
Release v0.3.1
new features:
- complex type
- Imaginary Literal
- Operator Assignment: a
<op>=
b
changes:
- int => int32
- compileSwitchStmt bug fix: default
Release v0.3.0
new features:
- switch, while
- break/continue
- Array Member: a[n]
- Comma
- Ternary Conditional:
cond?a:b
Release v0.2.2
- support
Array Pointer
- initArray, initStruct, initUnion
- README: add "Supported C Syntax" section