Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't always alias #14

Closed
eyalroz opened this issue Jul 9, 2021 · 0 comments
Closed

Don't always alias #14

eyalroz opened this issue Jul 9, 2021 · 0 comments

Comments

@eyalroz
Copy link
Owner

eyalroz commented Jul 9, 2021

At the moment, the library always aliases printf, sprintf, vsprintf etc. This is problematic, because you might want to use it alongside the standard library's <stdio.h> (whether because you're using the standard library as well, or because you're including another header which itself pulls <stdio.h> without you really needing it).

So, we should have a CMake option controlling whether or not this is done.

eyalroz pushed a commit that referenced this issue Jul 9, 2021
…d value, controlling whether or not to alias `printf()`, `sprintf()` etc.
eyalroz pushed a commit that referenced this issue Jul 11, 2021
…d value, controlling whether or not to alias `printf()`, `sprintf()` etc.
eyalroz pushed a commit that referenced this issue Jul 14, 2021
…d value, controlling whether or not to alias `printf()`, `sprintf()` etc.
eyalroz pushed a commit that referenced this issue Jul 14, 2021
…d value, controlling whether or not to alias `printf()`, `sprintf()` etc.
eyalroz pushed a commit that referenced this issue Jul 30, 2021
…d value, controlling whether or not to alias `printf()`, `sprintf()` etc.
eyalroz pushed a commit that referenced this issue Jul 30, 2021
…d value, controlling whether or not to alias `printf()`, `sprintf()` etc.
eyalroz pushed a commit that referenced this issue Aug 3, 2021
…d value, controlling whether or not to alias `printf()`, `sprintf()` etc.
eyalroz added a commit that referenced this issue Sep 27, 2021
…leave their names as macros outside the library - that's not such a great idea.
eyalroz added a commit that referenced this issue Sep 27, 2021
…leave their names as macros outside the library - that's not such a great idea.
eyalroz added a commit that referenced this issue Nov 8, 2021
…14. Added a test for whether aliasing works, in which the standard library function names are used, without including the `<stdio.h>` or any other standard library headers.
eyalroz added a commit that referenced this issue Nov 8, 2021
…14. Added a test for whether aliasing works, in which the standard library function names are used, without including the `<stdio.h>` or any other standard library headers.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant