Skip to content

Minor typing error in a clang macro name in cvdef.h #18597

@emmenlau

Description

@emmenlau
System information (version)
  • OpenCV => 4.5.0
  • Operating System / Platform => All
  • Compiler => clang
Detailed description

There is a minor typing error in:

#elif defined __clang__ && (__clang_minor__ * 100 + __clang_major >= 305)

The name __clang_major is not correct! It should be replaced with __clang_major__. See the reference documentation here: https://clang.llvm.org/docs/LanguageExtensions.html#builtin-macros

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions