X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fpbd%2Ffpu.cc;h=b12d341366fe8c4ae701ebb845f613535d2be7bf;hb=944c32346b3c6bb87fccb22f159bdd9297bae50d;hp=5d81cd2fd35e52407c9177b50bacceb621a565b7;hpb=7b480eaa27d73e2e5c21c6ac785a1aa2fb3aa51a;p=ardour.git diff --git a/libs/pbd/fpu.cc b/libs/pbd/fpu.cc index 5d81cd2fd3..b12d341366 100644 --- a/libs/pbd/fpu.cc +++ b/libs/pbd/fpu.cc @@ -39,11 +39,14 @@ FPU::FPU () _flags = Flags (0); +#if defined(__MINGW64__) // Vkamyshniy: under __MINGW64__ the assembler code below is not compiled + return; +#endif + #if !( (defined __x86_64__) || (defined __i386__) ) // !ARCH_X86 return; #else - #ifndef _LP64 //USE_X86_64_ASM asm volatile ( "mov $1, %%eax\n" @@ -105,9 +108,9 @@ FPU::FPU () *fxbuf = (char *) malloc (512); assert (*fxbuf); #else - posix_memalign ((void **) &fxbuf, 16, sizeof (char *)); + (void) posix_memalign ((void **) &fxbuf, 16, sizeof (char *)); assert (fxbuf); - posix_memalign ((void **) fxbuf, 16, 512); + (void) posix_memalign ((void **) fxbuf, 16, 512); assert (*fxbuf); #endif