Skip to content

panic: NewTypeDecl: fail to complete type string_descriptor_zero: unsupport field with array without length #498

Description

@MeteorsLiu
struct string_descriptor_zero {
    uint8_t bLength;
    uint8_t bDescriptorType;
    uint16_t wBcdLang[];
} __packed;

panic: NewTypeDecl: fail to complete type string_descriptor_zero: unsupport field with array without length

goroutine 1 [running]:
main.check(...)
        /Users/xxx/project/llcppg/cmd/gogensig/gogensig.go:134
main.main()
        /Users/xxx/project/llcppg/cmd/gogensig/gogensig.go:102 +0x724
panic: exit status 2

goroutine 1 [running]:
main.check(...)
        /Users/xxx/project/llcppg/cmd/llcppg/llcppg.go:195
main.do({0x1006fec52, 0xa}, 0x3, 0x7, {0x16f803037, 0x8})
        /Users/xxx/project/llcppg/cmd/llcppg/llcppg.go:189 +0x30c
main.main()
        /Users/xxx/project/llcppg/cmd/llcppg/llcppg.go:161 +0x408

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions