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

IsEqual.h:45模板传入是浮点型编译不通过 #48

Open
Garry123456 opened this issue Feb 23, 2025 · 0 comments
Open

IsEqual.h:45模板传入是浮点型编译不通过 #48

Garry123456 opened this issue Feb 23, 2025 · 0 comments

Comments

@Garry123456
Copy link

Garry123456 commented Feb 23, 2025

IsEqual.h: In instantiation of ‘bool emock::IsEqual::eval(const emock::RefAny&) const [with T = double]’
IsEqual.h:42:10: required from here
IsEqual.h:45:31: error: comparing floating point with == or != is unsafe [-Werror=float-equal]

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