Skip to content

Empty field in a struct causes parse error. #21

@john-carter

Description

@john-carter

It's a bit weird.... but gcc and clang compiles this with -Wall -W...

struct{;} value;

ms, ti and icc warn.

splint barfs with...

splint splint_bug.c
Splint 3.1.2 --- 20 Feb 2018

splint_bug.c:1:9: Parse Error. (For help on parse errors, see splint -help
parseerrors.)
*** Cannot continue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions