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

Avoid old C-style casts #424

Closed
UnePierre opened this issue Oct 9, 2020 · 1 comment
Closed

Avoid old C-style casts #424

UnePierre opened this issue Oct 9, 2020 · 1 comment

Comments

@UnePierre
Copy link
Contributor

UnePierre commented Oct 9, 2020

My IAR C++ compiler (EWARM8.40) issues a remark on constructs such as (void)0:

Remark[Pa137]: use of C-style cast [...]

Of course, this can be silenced in a doctest-trampoline header, but so far, it is the only remark that needs this.
I'd like to point out this feature of doctest: it is really silent warning/remark-wise! :-)

Pull-request #425 should fix that.

@onqtam
Copy link
Member

onqtam commented Nov 4, 2020

Closing this now that the PR has been merged.

@onqtam onqtam closed this as completed Nov 4, 2020
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

2 participants