Skip to content

Empty field in a struct causes parse error. #21

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.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions