[cfe-users] Clang/LLVM detection on Windows

2017-10-24 Thread degski via cfe-users
Is there a macro defined by Clang that helps to distinguish between Clang/LLVM is called under MinGW/Cygwin and Clang/LLVM with/from MSVC? Have a good day, degski ___ cfe-users mailing list cfe-users@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/

Re: [cfe-users] cfe-users Digest, Vol 63, Issue 2

2018-04-03 Thread degski via cfe-users
On 2 April 2018 at 14:00, via cfe-users wrote: > > > Date: Sat, 31 Mar 2018 23:51:22 -0400 > > From: Jeffrey Walton via cfe-users > > To: "CFE-Users (Clang)" > > Subject: [cfe-users] Problems with hexadecimal constant, > >_mm_set_epi64x and sign conversion > > Message-ID: > > > > Conten

[cfe-users] Error calling _mm256_cvtps_ph intrinsic on Windows

2018-04-11 Thread degski via cfe-users
When calling the _mm256_cvtps_ph instruction [1] using Clang [2] the following error manifests itself: 1>-- Build started: Project: CRoaringTest, Configuration: Debug x64 -- 1>main.c(19): error : '__builtin_ia32_vcvtps2ph256' needs target feature f16c 1>C:\Program Files\LLVM\lib\clang\7.0.

[cfe-users] -Wcast-align

2018-04-12 Thread degski via cfe-users
I have the following code (C11): #define vector_grow(vec, count) \ do { \ if(!(vec)) { \ size_t *__p = (size_t*) malloc ((size_t)(count) * sizeof(*(vec)) + (sizeof(size_t) * 2)); \ assert(__p); \ (vec) = (vo

[cfe-users] Snapshot Updates

2018-11-12 Thread degski via cfe-users
Thumbs up to the person updating the Windows LLVM Snapshot Builds. degski -- *“If something cannot go on forever, it will stop" - Herbert Stein* ___ cfe-users mailing list cfe-users@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-users

[cfe-users] (no subject)

2020-02-18 Thread degski via cfe-users
Hi Андре, You need to install "the integration" (with VS) correctly. For VS14 you'll need to use 'old style' integration: https://github.com/degski/Clang.Props . This is a copy job. For VS15, use the plugin on: https://marketplace.visualstudio.com/items?itemName=LLVMExtensions.llvm-toolchain .