FIAS . Impressum . Privacy

VC Errors

Matthias Kretz [please enable javascript to see the address]
Wed Jul 2 17:18:52 CEST 2014


Hi Anant,

[please enable javascript to see the address]) or the 
issue tracker - unless you really have a private issue. Your question might be 
interesting for other people as well, which are able to find it then.

On Tuesday 01 July 2014 10:14:49 Anant Kumar wrote:
> I was given the task of porting Geant V in Windows. In order to complete
> this task I (With Oksana's help) needed to install VC. With the help
> numerous people from the PH-SFT Root Team; we tried to use Visual Studio 11
> (2012) compiler and CMake 3.0.0-Gui to build VC.

I recommend to use the latest MSVC if you really have to use MSVC. MSVC has 
several major bugs (in terms of C++11 support and SIMD code generation) that 
are getting fixed with newer versions.

I also recommend to rather use GCC or clang on Windows since MSVC cannot 
compile this simple code snippet:
Vc::float_v f(Vc::float_v x) {
  return x;
}
(MSVC does not work with over-aligned types as function arguments.)

> These are the errors we
> got when we attempted to build Vc with Visual Studio. Is there any way to
> fix these?

It's been a while since Windows has correctly booted on my test machine. But I 
hope I can get it running again. Here's the last complete dashboard submission 
I found:
http://code.compeng.uni-frankfurt.de/dashboard/index.php?project=Vc-0.7&date=2014-05-06&subproject=MSVC

So, in theory everything should compile even with MSVC.

About the errors you attached. I have no clue. Something must be wrong in the 
buildsystem if it doesn't even find the #includes. Apparently you're building 
ROOT and not vanilla Vc?
I wouldn't know how an error like "mismatch detected for 
'_ITERATOR_DEBUG_LEVEL': value '0' doesn't match value '2'" could be due to an 
error in Vc. _ITERATOR_DEBUG_LEVEL is a name reserved for the compiler. It's 
certainly nothing Vc touches.

Cheers,
	Matthias
-- 
─────────────────────────────────────────────────────────────
 Dipl.-Phys. Matthias Kretz

 Web:   http://compeng.uni-frankfurt.de/?mkretz

 SIMD easy and portable: http://compeng.uni-frankfurt.de/?vc
─────────────────────────────────────────────────────────────


More information about the Vc mailing list
FIAS . Impressum . Privacy