Menu

Warning C4267 with Microsoft compiler

kbreizh
2005-08-04
2013-05-20
  • kbreizh

    kbreizh - 2005-08-04

    When I use TIXML_USE_STL, I have the following warning under Visual Studio 2003 :
    tinyxmlparser.cpp(933) : warning C4267: 'initializing' : conversion from 'size_t' to 'int', possible loss of data

    I've no idea if it has any importance or not, what do you think ??

     
    • Ellers

      Ellers - 2005-08-04

      Sorry, but ask in a MSVC++ forum or read the MSDN to understand it.

       
      • kbreizh

        kbreizh - 2005-08-05

        No, I'm sorry :)
        My documentation wasn't up-to-date so I've not found what this error means... I don't know why I haven't search on the online MSDN documentation...
        Just in case someone encounters the same issue, you have to turn off the /Wp64 option in your project...
        /Wp64 detects 64-Bit Portability Issues according to MS...

         

Log in to post a comment.