Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Missing declarations and prototypes should be errors #734

Closed
petdance opened this Issue · 5 comments

3 participants

@petdance

Flags we need at all stages, not just cage.

        -Werror=declaration-after-statement
        -Werror=implicit-function-declaration

# These should be errors, not just warnings.
        -Wmissing-declarations
        -Wmissing-prototypes

http://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html

@leto
Owner

+1

@petdance

By extension, I'm also working on removing all redundant function declarations. Each function, static or not, must have exactly one declaration.

@petdance

Current nuisance: redundant Parrot_confess()

@petdance

I've been adding a bunch of flags, but I still don't have Parrot_confess() deduped.

@petdance petdance was assigned
@petdance petdance removed their assignment
@rurban
Collaborator

Done with ac97bfe

@rurban rurban closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.