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/
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
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.
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
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
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
.