Skip to content

Incompatible pointer types warning when building with Visual Studio Clang #246

@stertingen

Description

@stertingen

This warning occurs when building with Clang from Visual Studio (using CMake). This affects

  • Clang 12.0.0 (from Visual Studio 2019) and Clang 15.0.1 (from Visual Studio 2022)
  • when building for x86 or amd64 target
  • in GNU and MSVC CLI mode.

Using clang from MinGW or MSVC without Clang does not emit these warnings.

Build log: https://pastebin.com/zQes4tph

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