iNoDlite/wmit — Issue #1: Fails to build on the mac
Author: dak180
Created: 2011-10-27 00:18:34+00:00
State: open

```
CompileC "build/WMIT.build/Release/Warzone Model Importer Tool.build/Objects-normal/i386/Mesh.o" src/formats/Mesh.cpp normal i386 c++ com.apple.compilers.llvmgcc42
cd /Users/dak180/Applications/Build/wz2100/hg/wmit
setenv LANG en_US.US-ASCII
/Developer/usr/bin/llvm-gcc-4.2 -x c++ -arch i386 -fmessage-length=0 -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -O2 -mdynamic-no-pic -D__MACOSX__ -DLIB3DS_VERSION_1 -isysroot /Developer/SDKs/MacOSX10.5.sdk -fvisibility=hidden -fvisibility-inlines-hidden -mmacosx-version-min=10.5 -gdwarf-2 "-I/Users/dak180/Applications/Build/wz2100/hg/wmit/build/WMIT.build/Release/Warzone Model Importer Tool.build/Warzone Model Importer Tool.hmap" -F/Users/dak180/Applications/Build/wz2100/hg/wmit/build/Release -F/Users/dak180/Applications/Build/wz2100/hg/wmit/external/QT -F/Users/dak180/Applications/Build/wz2100/hg/wmit/build/Release -I/Users/dak180/Applications/Build/wz2100/hg/wmit/src -I/Users/dak180/Applications/Build/wz2100/hg/wmit/build/Release/include -I/Users/dak180/Applications/Build/wz2100/hg/wmit/external/QT/QtCore.framework/Versions/4/Headers -I/Users/dak180/Applications/Build/wz2100/hg/wmit/external/QT/QtGui.framework/Versions/4/Headers -I/Users/dak180/Applications/Build/wz2100/hg/wmit/external/QT/QtOpenGL.framework/Versions/4/Headers -I/Users/dak180/Applications/Build/wz2100/hg/wmit/external/QT/QtXml.framework/Versions/4/Headers "-I/Users/dak180/Applications/Build/wz2100/hg/wmit/build/WMIT.build/Release/Warzone Model Importer Tool.build/DerivedSources/i386" "-I/Users/dak180/Applications/Build/wz2100/hg/wmit/build/WMIT.build/Release/Warzone Model Importer Tool.build/DerivedSources" -c /Users/dak180/Applications/Build/wz2100/hg/wmit/src/formats/Mesh.cpp -o "/Users/dak180/Applications/Build/wz2100/hg/wmit/build/WMIT.build/Release/Warzone Model Importer Tool.build/Objects-normal/i386/Mesh.o"

/Users/dak180/Applications/Build/wz2100/hg/wmit/src/formats/Mesh.cpp: In constructor 'Mesh::Mesh(const Pie3Level&, float, float)':
/Users/dak180/Applications/Build/wz2100/hg/wmit/src/formats/Mesh.cpp:170: error: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second:
/Users/dak180/Applications/Build/wz2100/hg/wmit/src/basic/Vector.hpp:29: note: candidate 1: T Vector::operator[](unsigned int) const [with T = float, long unsigned int COMPONENTS = 3ul]
/Users/dak180/Applications/Build/wz2100/hg/wmit/src/formats/Mesh.cpp:170: note: candidate 2: operator[](const float*, int)
/Users/dak180/Applications/Build/wz2100/hg/wmit/src/formats/Mesh.cpp:170: error: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second:
/Users/dak180/Applications/Build/wz2100/hg/wmit/src/basic/Vector.hpp:29: note: candidate 1: T Vector::operator[](unsigned int) const [with T = float, long unsigned int COMPONENTS = 3ul]
/Users/dak180/Applications/Build/wz2100/hg/wmit/src/formats/Mesh.cpp:170: note: candidate 2: operator[](const float*, int)
/Users/dak180/Applications/Build/wz2100/hg/wmit/src/formats/Mesh.cpp:170: error: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second:
/Users/dak180/Applications/Build/wz2100/hg/wmit/src/basic/Vector.hpp:29: note: candidate 1: T Vector::operator[](unsigned int) const [with T = float, long unsigned int COMPONENTS = 3ul]
/Users/dak180/Applications/Build/wz2100/hg/wmit/src/formats/Mesh.cpp:170: note: candidate 2: operator[](const float*, int)
/Users/dak180/Applications/Build/wz2100/hg/wmit/src/formats/Mesh.cpp: In member function 'virtual Mesh::operator Pie3Level() const':
/Users/dak180/Applications/Build/wz2100/hg/wmit/src/formats/Mesh.cpp:399: error: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second:
/Users/dak180/Applications/Build/wz2100/hg/wmit/src/basic/Vector.hpp:32: note: candidate 1: T& Vector::operator[](unsigned int) [with T = float, long unsigned int COMPONENTS = 3ul]
/Users/dak180/Applications/Build/wz2100/hg/wmit/src/formats/Mesh.cpp:399: note: candidate 2: operator[](const float*, int)
/Users/dak180/Applications/Build/wz2100/hg/wmit/src/formats/Mesh.cpp:399: error: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second:
/Users/dak180/Applications/Build/wz2100/hg/wmit/src/basic/Vector.hpp:29: note: candidate 1: T Vector::operator[](unsigned int) const [with T = float, long unsigned int COMPONENTS = 3ul]
/Users/dak180/Applications/Build/wz2100/hg/wmit/src/formats/Mesh.cpp:399: note: candidate 2: operator[](const float*, int)
/Users/dak180/Applications/Build/wz2100/hg/wmit/src/formats/Mesh.cpp:400: error: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second:
/Users/dak180/Applications/Build/wz2100/hg/wmit/src/basic/Vector.hpp:32: note: candidate 1: T& Vector::operator[](unsigned int) [with T = float, long unsigned int COMPONENTS = 3ul]
/Users/dak180/Applications/Build/wz2100/hg/wmit/src/formats/Mesh.cpp:400: note: candidate 2: operator[](const float*, int)
/Users/dak180/Applications/Build/wz2100/hg/wmit/src/formats/Mesh.cpp:400: error: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second:
/Users/dak180/Applications/Build/wz2100/hg/wmit/src/basic/Vector.hpp:29: note: candidate 1: T Vector::operator[](unsigned int) const [with T = float, long unsigned int COMPONENTS = 3ul]
/Users/dak180/Applications/Build/wz2100/hg/wmit/src/formats/Mesh.cpp:400: note: candidate 2: operator[](const float*, int)
/Users/dak180/Applications/Build/wz2100/hg/wmit/src/formats/Mesh.cpp:401: error: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second:
/Users/dak180/Applications/Build/wz2100/hg/wmit/src/basic/Vector.hpp:32: note: candidate 1: T& Vector::operator[](unsigned int) [with T = float, long unsigned int COMPONENTS = 3ul]
/Users/dak180/Applications/Build/wz2100/hg/wmit/src/formats/Mesh.cpp:401: note: candidate 2: operator[](const float*, int)
/Users/dak180/Applications/Build/wz2100/hg/wmit/src/formats/Mesh.cpp:401: error: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second:
/Users/dak180/Applications/Build/wz2100/hg/wmit/src/basic/Vector.hpp:29: note: candidate 1: T Vector::operator[](unsigned int) const [with T = float, long unsigned int COMPONENTS = 3ul]
/Users/dak180/Applications/Build/wz2100/hg/wmit/src/formats/Mesh.cpp:401: note: candidate 2: operator[](const float*, int)
/Users/dak180/Applications/Build/wz2100/hg/wmit/src/formats/Mesh.cpp: In member function 'void Mesh::mirrorFromPoint(const WZMVertex&, int)':
/Users/dak180/Applications/Build/wz2100/hg/wmit/src/formats/Mesh.cpp:1121: error: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second:
/Users/dak180/Applications/Build/wz2100/hg/wmit/src/basic/Vector.hpp:32: note: candidate 1: T& Vector::operator[](unsigned int) [with T = float, long unsigned int COMPONENTS = 3ul]
/Users/dak180/Applications/Build/wz2100/hg/wmit/src/formats/Mesh.cpp:1121: note: candidate 2: operator[](const float*, int)
/Users/dak180/Applications/Build/wz2100/hg/wmit/src/formats/Mesh.cpp:1121: error: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second:
/Users/dak180/Applications/Build/wz2100/hg/wmit/src/basic/Vector.hpp:32: note: candidate 1: T& Vector::operator[](unsigned int) [with T = float, long unsigned int COMPONENTS = 3ul]
/Users/dak180/Applications/Build/wz2100/hg/wmit/src/formats/Mesh.cpp:1121: note: candidate 2: operator[](const float*, int)
/Users/dak180/Applications/Build/wz2100/hg/wmit/src/formats/Mesh.cpp:1124: error: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second:
/Users/dak180/Applications/Build/wz2100/hg/wmit/src/basic/Vector.hpp:32: note: candidate 1: T& Vector::operator[](unsigned int) [with T = float, long unsigned int COMPONENTS = 3ul]
/Users/dak180/Applications/Build/wz2100/hg/wmit/src/formats/Mesh.cpp:1124: note: candidate 2: operator[](const float*, int)
/Users/dak180/Applications/Build/wz2100/hg/wmit/src/formats/Mesh.cpp:1124: error: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second:
/Users/dak180/Applications/Build/wz2100/hg/wmit/src/basic/Vector.hpp:32: note: candidate 1: T& Vector::operator[](unsigned int) [with T = float, long unsigned int COMPONENTS = 3ul]
/Users/dak180/Applications/Build/wz2100/hg/wmit/src/formats/Mesh.cpp:1124: note: candidate 2: operator[](const float*, int)
/Users/dak180/Applications/Build/wz2100/hg/wmit/src/formats/Mesh.cpp:1127: error: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second:
/Users/dak180/Applications/Build/wz2100/hg/wmit/src/basic/Vector.hpp:32: note: candidate 1: T& Vector::operator[](unsigned int) [with T = float, long unsigned int COMPONENTS = 3ul]
/Users/dak180/Applications/Build/wz2100/hg/wmit/src/formats/Mesh.cpp:1127: note: candidate 2: operator[](const float*, int)
/Users/dak180/Applications/Build/wz2100/hg/wmit/src/formats/Mesh.cpp:1127: error: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second:
/Users/dak180/Applications/Build/wz2100/hg/wmit/src/basic/Vector.hpp:32: note: candidate 1: T& Vector::operator[](unsigned int) [with T = float, long unsigned int COMPONENTS = 3ul]
/Users/dak180/Applications/Build/wz2100/hg/wmit/src/formats/Mesh.cpp:1127: note: candidate 2: operator[](const float*, int)

```