Skip to content

duplicate declarations #176

Description

@SilvanScherrer

when we build ffmpeg (possible others) with -wredundant-decls we get a ton of warnings. most pf them are the same. like _lltoa and _itoa defined twice. If you look at https://github.com/bitwiseworks/libc/blob/master/src/emx/include/stdlib.h you see them defined twice in the same file.
starting at line 452
_char *_itoa (int, char *, int); <-- here
_lldiv_t _lldiv (long long, long long);
char *_lltoa (long long, char *, int); <-- here
_uldiv_t _uldiv (unsigned long, unsigned long);
_ulldiv_t _ulldiv (unsigned long long, unsigned long long);
char *_itoa (int, char *, int); <-- and here
char *_ltoa (long, char *, int); <-- and here
char *_ultoa (unsigned long, char *, int);
char *_lltoa (long long, char *, int);

those are just some which are wrong for sure. but we have more double declarations around. I have a complete ffmpeg log as reference.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions