Thanks to visit codestin.com
Credit goes to github.com

Skip to content

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

@Garry123456

Description

@Garry123456

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]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions