Closed GoogleCodeExporter closed 8 years ago
Currently, we cannot reproduce this issue, since we are using only vs2008.
The patch indicates, that vs2010 does not support unordered_map. Is that true?
Original comment by opencollada2@googlemail.com
on 11 Oct 2010 at 8:28
vs2010 supports unordered_map, but using it causes other errors I was not able
to fix.
Original comment by stepan.h...@gmail.com
on 14 Oct 2010 at 6:05
In the Visual Studio 2010 the hash struct does no more reside in the std::tr1
namespace, instead it was moved into the namespace std
You can check for Visual Studio 2010 with the macro
#if _MSC_VER >= 1600
#endif
Original comment by klau...@gmail.com
on 10 Nov 2010 at 12:24
Hi, I am having the same effect with vs 2005 both 32 and 64 bit and cmake 2.8.
The compiler reports thousands of errors starting with the hash<> it does not
like. It seems to me that on windows, both 32 and 64 bit, the hash is defined
somewhere else.
Original comment by georg.wu...@machineering.de
on 17 Nov 2010 at 9:39
Here is another patch that uses std namespace instead of std::tr1 namespace.
This patch introduces COLLADABU_HAVE_STD_UNORDERED_MAP and is now only defined
for MSVC2010 (and greater).
Original comment by daCh...@gmail.com
on 2 Jan 2011 at 10:27
Attachments:
I have the same problem and just applied daChaac's patch to r788, which works
very well. :-)
Original comment by carsten....@cafu.de
on 12 Jan 2011 at 10:49
In addition to VS2010, I also fixed compilation for VS2005 and used the
opportunity to clean-up and simplify the related preprocessor statements
significantly.
As this not only affects VS2010, but also VS2005, and affects the details for
Linux and Mac compilers as well, I submitted this as new issue 152 - please
have a look there for details.
Original comment by carsten....@cafu.de
on 16 Jan 2011 at 1:07
Thanks for the patches! Will review them next week
Original comment by opencollada
on 16 Jan 2011 at 1:09
Should have been fixed with issue 152.
Original comment by opencollada2@googlemail.com
on 19 Jan 2011 at 8:08
Original issue reported on code.google.com by
stepan.h...@gmail.com
on 9 Oct 2010 at 5:10Attachments: