forked from mpaland/printf
-
Notifications
You must be signed in to change notification settings - Fork 56
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
Test suite won't build with standard function aliasing on, due to catch #85
Labels
resolved-on-develop
A changeset fixing this issue has been commiutted to the development branch
task
testing
Only relevant to the testing programs rather than the main code itself
Comments
eyalroz
added a commit
that referenced
this issue
Jan 21, 2022
…on name aliasing is disabled. For testing aliased functionality, we have a separate test.
eyalroz
added a commit
that referenced
this issue
Jan 21, 2022
…on name aliasing is disabled. For testing aliased functionality, we have a separate test.
eyalroz
added a commit
that referenced
this issue
Jan 22, 2022
…on name aliasing is disabled. For testing aliased functionality, we have a separate test.
|
I was wrong, looks like that compiler arg isn't applied to the test suite! Sorry for the distraction. |
eyalroz
added a commit
that referenced
this issue
Jan 26, 2022
…on name aliasing is disabled. For testing aliased functionality, we have a separate test.
eyalroz
added a commit
that referenced
this issue
Jan 31, 2022
…on name aliasing is disabled. For testing aliased functionality, we have a separate test.
eyalroz
added a commit
that referenced
this issue
Jan 31, 2022
…on name aliasing is disabled. For testing aliased functionality, we have a separate test.
eyalroz
added a commit
that referenced
this issue
Jan 31, 2022
…on name aliasing is disabled. For testing aliased functionality, we have a separate test.
eyalroz
added a commit
that referenced
this issue
Feb 11, 2022
…on name aliasing is disabled. For testing aliased functionality, we have a separate test.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
resolved-on-develop
A changeset fixing this issue has been commiutted to the development branch
task
testing
Only relevant to the testing programs rather than the main code itself
The catch unit-testing framework includes the C standard library's printf-family functions; consequently, it clashes with our library when we alias the standard printf-family function names. In the past this was circumvented by including
printf.c
within a namespace, but now thatprintf.c
is more language-aware, that's not possible; plus, it wasn't a good idea, since it was testing something others than what library users will actually be doing.Anyway, now we have this clash. This means either we need to not run the test suite with the aliased names, or ... do something else?
The text was updated successfully, but these errors were encountered: