You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2>D:\MoreCode\Ogre\ogre-next-fork\RenderSystems\Direct3D11\src\OgreD3D11RenderSystem.cpp(1764,65): error C2668: 'Ogre::StringConverter::toString': ambiguous call to overloaded function
2> D:\MoreCode\Ogre\ogre-next-fork\OgreMain\include\OgreStringConverter.h(117,23):
2> could be 'Ogre::String Ogre::StringConverter::toString(bool,bool)'
2> D:\MoreCode\Ogre\ogre-next-fork\OgreMain\include\OgreStringConverter.h(112,23):
2> or 'Ogre::String Ogre::StringConverter::toString(long,unsigned short,char,std::ios_base::fmtflags)'
2> D:\MoreCode\Ogre\ogre-next-fork\OgreMain\include\OgreStringConverter.h(109,23):
2> or 'Ogre::String Ogre::StringConverter::toString(size_t,unsigned short,char,std::ios_base::fmtflags)'
2> D:\MoreCode\Ogre\ogre-next-fork\OgreMain\include\OgreStringConverter.h(105,23):
2> or 'Ogre::String Ogre::StringConverter::toString(unsigned long,unsigned short,char,std::ios_base::fmtflags)'
2> D:\MoreCode\Ogre\ogre-next-fork\OgreMain\include\OgreStringConverter.h(91,23):
2> or 'Ogre::String Ogre::StringConverter::toString(int,unsigned short,char,std::ios_base::fmtflags)'
2> D:\MoreCode\Ogre\ogre-next-fork\OgreMain\include\OgreStringConverter.h(75,23):
2> or 'Ogre::String Ogre::StringConverter::toString(double,unsigned short,unsigned short,char,std::ios_base::fmtflags)'
2> D:\MoreCode\Ogre\ogre-next-fork\OgreMain\include\OgreStringConverter.h(71,23):
2> or 'Ogre::String Ogre::StringConverter::toString(float,unsigned short,unsigned short,char,std::ios_base::fmtflags)'
2> D:\MoreCode\Ogre\ogre-next-fork\RenderSystems\Direct3D11\src\OgreD3D11RenderSystem.cpp(1764,65):
2> while trying to match the argument list '(Ogre::uint64)'
I suppose the problem is that there is no version of StringConverter::toString that takes an unsigned 64-bit integer in this case. There are versions that take unsigned long and size_t, but both of those are 32 bits when MSVC compiles for 32-bit architecture.
The text was updated successfully, but these errors were encountered:
System Information
Detailed description
I get a compile error:
I suppose the problem is that there is no version of
StringConverter::toString
that takes an unsigned 64-bit integer in this case. There are versions that takeunsigned long
andsize_t
, but both of those are 32 bits when MSVC compiles for 32-bit architecture.The text was updated successfully, but these errors were encountered: