OgreCompositorChain.cpp(105):
Code: Select all
String compName("Ogre/Scene/");
compName += StringConverter::toString((intptr_t)mViewport);
Code: Select all
static String toString(int val, unsigned short width = 0, char fill = ' ', std::ios::fmtflags flags = std::ios::fmtflags(0) );
Code: Select all
static String toString(long val, unsigned short width = 0, char fill = ' ', std::ios::fmtflags flags = std::ios::fmtflags(0) );
Bugfix: http://www.ogre3d.org/mantis/view.php?id=5541>..\..\OgreMain\src\OgreCompositorChain.cpp(106): error C2668: 'Ogre::StringConverter::toString' : ambiguous call to overloaded function
1> c:\work\ogre\ogre\ogremain\include\OgreStringConverter.h(127): could be 'Ogre::String Ogre::StringConverter::toString(bool,bool)'
1> c:\work\ogre\ogre\ogremain\include\OgreStringConverter.h(121): or 'Ogre::String Ogre::StringConverter::toString(long,unsigned short,char,std::ios_base::fmtflags)'
1> c:\work\ogre\ogre\ogremain\include\OgreStringConverter.h(105): or 'Ogre::String Ogre::StringConverter::toString(unsigned long,unsigned short,char,std::ios_base::fmtflags)'
1> c:\work\ogre\ogre\ogremain\include\OgreStringConverter.h(100): or 'Ogre::String Ogre::StringConverter::toString(size_t,unsigned short,char,std::ios_base::fmtflags)'
1> c:\work\ogre\ogre\ogremain\include\OgreStringConverter.h(96): or 'Ogre::String Ogre::StringConverter::toString(unsigned int,unsigned short,char,std::ios_base::fmtflags)'
1> c:\work\ogre\ogre\ogremain\include\OgreStringConverter.h(91): or 'Ogre::String Ogre::StringConverter::toString(int,unsigned short,char,std::ios_base::fmtflags)'
1> c:\work\ogre\ogre\ogremain\include\OgreStringConverter.h(73): or 'Ogre::String Ogre::StringConverter::toString(Ogre::Real,unsigned short,unsigned short,char,std::ios_base::fmtflags)'
1> while trying to match the argument list '(intptr_t)'