elliotchance / c2go

⚖️ A tool for transpiling C to Go.
MIT License
2.09k stars 155 forks source link

panic: unknown node type: 'BuiltinAttr 0x10db7b0 <<invalid sloc>> Inherited Implicit 749' #891

Open MSGermany opened 2 years ago

MSGermany commented 2 years ago

Hey, I have this problem:

`panic: unknown node type: 'BuiltinAttr 0x10db7b0 <> Inherited Implicit 749'

goroutine 13 [running]: github.com/elliotchance/c2go/ast.Parse({0xc0002c6549, 0x3d}) /home/smayer/go/pkg/mod/github.com/elliotchance/c2go@v0.26.10/ast/ast.go:294 +0x22d4 main.convertLinesToNodes({0xc0002ce5f0, 0x1c, 0x0?}) /home/smayer/go/pkg/mod/github.com/elliotchance/c2go@v0.26.10/main.go:89 +0x115 main.convertLinesToNodesParallel.func1.1({0xc0002ce5f0?, 0x0?, 0x0?}, 0x0?) /home/smayer/go/pkg/mod/github.com/elliotchance/c2go@v0.26.10/main.go:113 +0x39 created by main.convertLinesToNodesParallel.func1 /home/smayer/go/pkg/mod/github.com/elliotchance/c2go@v0.26.10/main.go:111 +0x1a5`

Can you help me with that ? I just can't get any further here.

Best regards

rxa1031 commented 4 months ago

Hi, Is there any solution for this or similar panic? What does it mean? What does the number after Implicit mean. What will the values 996, and 1161 mean? Regards, Rajeev