This repository has been archived by the owner on May 18, 2024. It is now read-only.
Releases: goplus/c2go
Releases · goplus/c2go
v0.7.26
v0.7.25
v0.7.23
v0.7.19
v0.7.18
v0.7.17
v0.7.16
v0.7.13
new features:
changes:
- ensureSig
- stringLit: allow c > 0x7f
- sizeof bugfix: type size align
- compileFloatLiteral check no dot value
- fix binaryOp ptr-ptr
- autoStaticName check current func name
- compileImplicitCastExpr: check ast.ArrayToPointerDecay rvalue use closure
- unaryOp: check token.SUB bool -> int
- compileTypedef: alias type check in pkg scope
- compileVarDecl: func static var check type scope
- cl: compileExprEx support ast.PredefinedExpr
- cl: support cast to boolean
- cl: compileForStmt support multi init decl stmt
- newVar: inVBlock check not in global
- compileExprEx: ast.InitListExpr to []type{expr}[0]
- ast.DisableTailCallsAttr ast.StaticAssertDecl and builtin_ func
- compileStringLiteral: support wide int32 string
- mod: github.com/goplus/gox 1.11.32
v0.7.10
new features:
changes:
- initDepPkgs fix: allow pubName not found
- getVStruct: type not found
- compileDeclStmt bugfix: alias only when struct/union has body
- c2go.cfg: remove public.ignore (PublicIgnore)
- loadFile: srcFile can be empty
- Config.Deps: use []*cmod.Package instead of []string
- subst public types
- public: support anonymous struct typedef
- export c struct fields
- checkFieldName: support anonymous bitfields
- checkPubStructOrUnion
- isPublicFrom: more strict
- execProjFile: fix allIncDirs nil bug
- clearDepsCache when change conf.Deps
- compileDeclStmt: public struct alias bugfix
- compileVarDecl bugfix: static int const has bad scope
- testcase: offsetof
- mod: gox v1.11.21
- mod: clang/pathutil
v0.7.9
new features:
- __builtin_expect
- support BFMode = BFM_InLibC
- support CompoundLiteralExpr, array ptr
- c2go -run
- c2go: ignoreFile
- c2go: support template cmds
- c2go: support local type
- isPublicFrom: support relative path, Config: support PublicIgnore
changes:
- StrictFPAttr
- ctx.autoStaticName: use baseOfFile
- anonymous struct/union use baseOfFile
- global static variable: allow unknown array length
- reuse autopub
- c2go fix: division by zero
- autoStaticName: fix #125
- ctx.ignored: support pubName
- refactor getPubName
- compileDeclRefExpr bugfix: don't use ctx.getPubName
- support global static const int
- compileFunc bugfix: public a recursive function
- decl_builtin: substObj
- clang/types.parser: use Config.ParseEnv, aslong @ testdata/compoundlit.c
- mod: gox 1.11.19