[gecode-users] Which version of MSVC on Windows?
Christian Schulte
cschulte at kth.se
Thu Feb 10 22:47:42 CET 2011
Hi,
Darn, I failed to see from your previous email that you had already tried
;-) I am very sorry for my ignorance!
I do not have a 2005 installation up. So there are different options here:
- Stop claiming that Gecode works with MSVC 2005. How realistic is that,
anyone? I can't judge, really (my gut feeling being that a five year old
compiler is indeed old). BTW: We are way more aggressive in not supporting
older gcc versions.
- We also test with MSVC 2005. This would be a massive investment for us
(already dealing with 2008 and 2010 is very painful), clearly slowing down
other Gecode activities.
- Somebody keeps Gecode running on MSVC 2005 and sends us patches in case
of incompatibilities.
- Anything else we could do?
Opinions, anyone?
Cheers and sorry again
Christian
--
Christian Schulte, web.ict.kth.se/~cschulte/
-----Original Message-----
From: users-bounces at gecode.org [mailto:users-bounces at gecode.org] On Behalf
Of Alin
Sent: Thursday, February 10, 2011 10:29 PM
To: users at gecode.org
Subject: Re: [gecode-users] Which version of MSVC on Windows?
Christian Schulte <cschulte at ...> writes:
>
> Please read MPG which contains detailed build instructions for Windows.
>
> But the MSVC 2008 packages should work with MSVC 2005. Did you try? If you
> failed what was the issue?
>
> Best
> Christian
>
I did try it, I configured MSVC 2005 the same as I configured MSVC 2008.
(i configured the include/lib folders) and in MSVC 2008 it works just fine,
while in MSVC 2005 i get errors when compiling the same code
maybe this helps indentify the problem:
c:\program files\gecode\include\gecode\driver\options.hpp(370) : error
C2666:
'Gecode::Support::DynamicArray::operator []' :
3 overloads have similar conversions
with
[
T=Gecode::Gist::Inspector *,
A=Gecode::Heap
]
c:\program
files\gecode\include\gecode\support\dynamic-array.hpp(72):
could be 'Gecode::Gist::Inspector &Gecode::Support::DynamicArray::operator
[](int) const'
with
[
T=Gecode::Gist::Inspector *,
A=Gecode::Heap
]
c:\program
files\gecode\include\gecode\support\dynamic-array.hpp(70):
or 'Gecode::Gist::Inspector &Gecode::Support::DynamicArray::operator
[](int)'
with
[
T=Gecode::Gist::Inspector *,
A=Gecode::Heap
]
or 'built-in C++ operator[(Gecode::Gist::Inspector **, unsigned
int)'
while trying to match the argument list
'(Gecode::Support::DynamicArray, unsigned int)'
with
[
T=Gecode::Gist::Inspector *,
A=Gecode::Heap
]
c:\program files\gecode\include\gecode\driver\options.hpp(374) :
error C2666: 'Gecode::Support::DynamicArray::operator []' :
3 overloads have similar conversions
with
[
T=Gecode::Gist::Comparator *,
A=Gecode::Heap
]
_______________________________________________
Gecode users mailing list
users at gecode.org
https://www.gecode.org/mailman/listinfo/gecode-users
More information about the users
mailing list