Skip to content

Examples use int main(void) #799

@silversquirl

Description

@silversquirl

The type of main is int main(int, char **), and using int main(void) is undefined behaviour according to the standard. The way in which a main ignoring arguments should be specified is int main().

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