Skip to content

Header <intrin.h> is incompatible with Clang 19 #443

Closed
@zufuliu

Description

@zufuliu

test case:

#include <intrin.h>
D:\Dev\llvm-mingw-20240726-ucrt-x86_64\bin>clang.exe -c test.c
In file included from test.c:1:
In file included from D:/Dev/llvm-mingw-20240726-ucrt-x86_64/lib/clang/19/include/intrin.h:12:
In file included from D:/Dev/llvm-mingw-20240726-ucrt-x86_64/include/intrin.h:122:
D:/Dev/llvm-mingw-20240726-ucrt-x86_64/lib/clang/19/include/mm3dnow.h:16:2: warning: "The <mm3dnow.h> header is
      deprecated, and 3dNow! intrinsics are unsupported. For other intrinsics, include <x86intrin.h>, instead."
      [-W#warnings]
   16 | #warning "The <mm3dnow.h> header is deprecated, and 3dNow! intrinsics are unsupported. For other intrinsics, inc...
      |  ^
1 warning generated.

D:\Dev\llvm-mingw-20240726-ucrt-x86_64\bin>clang.exe --target=x86_64-pc-windows-msvc -c test.c

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions