Skip to content

Macros expressing the intention behind casts to double. - #57

Closed
gareth-rees wants to merge 3 commits into
masterfrom
branch/2021-01-11/conversion-macros
Closed

Macros expressing the intention behind casts to double.#57
gareth-rees wants to merge 3 commits into
masterfrom
branch/2021-01-11/conversion-macros

Conversation

@gareth-rees

@gareth-rees gareth-rees commented Jan 11, 2021

Copy link
Copy Markdown
Member

As requested in review on #52, this pull request adds macros expressing the intention behind the casts to (double) required to avoid warnings from Clang 10 with -Wimplicit-int-float-conversion on 64-bit platforms.

@gareth-rees
gareth-rees force-pushed the branch/2021-01-11/conversion-macros branch 2 times, most recently from a4ce836 to 1d3989a Compare January 12, 2021 23:11
@gareth-rees
gareth-rees force-pushed the branch/2021-01-11/conversion-macros branch from 1d3989a to 5e0ea7f Compare January 12, 2021 23:11
@gareth-rees
gareth-rees marked this pull request as ready for review January 15, 2021 13:26
@gareth-rees
gareth-rees requested review from UNAA008 and rptb1 January 15, 2021 15:53
…n preparation for review and merge and to get full CI builds.
@rptb1
rptb1 changed the base branch from branch/2021-01-10/implicit-conversion to master January 16, 2023 22:53
@rptb1

rptb1 commented Jan 16, 2023

Copy link
Copy Markdown
Member

The build fails on LII6LL with similar problems to #51 that were fixed in #52, so these macros seem to have regressed that fix.

I can produce the same failure locally in Ubuntu clang version 14.0.0-1ubuntu1 at 5e0ea7f before the catch-up merge.

…ing casts removed earlier in branch/2021-01-11/conversion-macros.
@rptb1
rptb1 requested review from thejayps and removed request for UNAA008 January 16, 2023 23:17
@gareth-rees

Copy link
Copy Markdown
Member Author

Let's just close this.

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

Successfully merging this pull request may close these issues.

2 participants