Skip to content

empty initializer braces #75

Open
Open

Description

@monniaux

Yarpgen sometimes generates empty initializer lists, which are not allowed in strict C99.

yarpgen --seed=64 generates in driver.c:

tf_4_struct_2 tf_4_array_2 [4] = {{} , {} , {} , {} };

Activity

  1. dbabokin commented on Mar 27, 2019

    @dbabokin
    Contributor

    Looks like we need to differentiate between c99 and gnu99 dialects.

    What is the practical use of strict C99? I.e. what compiler is tested and with what options?

  2. monniaux commented on Mar 27, 2019

    @monniaux
    Author
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