Skip to content

Issue with HARD aliasing the standard function names #146

@BenFreudbergKolmostar

Description

@BenFreudbergKolmostar

It looks like there is some inconsistency introduced with the addition of PRINTF_ALIAS_STANDARD_FUNCTION_NAMES_SOFT which means that if you want to do HARD replacement, you must include both PRINTF_ALIAS_STANDARD_FUNCTION_NAMES=1 and PRINTF_ALIAS_STANDARD_FUNCTION_NAMES_HARD=1. I fixed this on my local copy by getting rid of PRINTF_ALIAS_STANDARD_FUNCTION_NAMES altogether.

I deleted:

#ifndef PRINTF_ALIAS_STANDARD_FUNCTION_NAMES
#define PRINTF_ALIAS_STANDARD_FUNCTION_NAMES 0
#endif

and I changed:

#if PRINTF_ALIAS_STANDARD_FUNCTION_NAMES

to

#if PRINTF_ALIAS_STANDARD_FUNCTION_NAMES_HARD

The documentation could also use an update to clarify this new feature.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingresolved-on-developA changeset fixing this issue has been commiutted to the development branch

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions