Skip to content

PRINTF_ALIAS_STANDARD_FUNCTION_NAMES is ambiguous #133

@grassead

Description

@grassead

I don't understand weel the expected behviour of the PRINTF_ALIAS_STANDARD_FUNCTION_NAMES option.

What I expect is that option will overrride the 'printf' function (and other ones) from the libc to reroute call to the lib functions.

But, from the code, we can see that "
# define printf_ printf
"
that exactly do the reverse (the lib's printf_ call the libc printf).
It should be

# define printf printf_

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions