Particle.cpp

  • DavidTheTech
    25th Aug 2019 Member 0 Permalink

    So i got everything sort of working so far except the Particle.cpp it keeps spitting out these 3 errors but doesnt appear to have any in the file its self

     

    Havent modified anything just followed the wiki

     

     

    and this is the 3 errors

     

    1>src\simulation\Particle.cpp(21): error C2398: Element '13': conversion from 'initializer list' to 'StructProperty' requires a narrowing conversion
    1>src\simulation\Particle.cpp(21): error C2398: Element '14': conversion from 'initializer list' to 'StructProperty' requires a narrowing conversion
    1>src\simulation\Particle.cpp(21): error C2398: Element '3': conversion from 'std::size_t' to 'intptr_t' requires a narrowing conversion

     

     

  • LBPHacker
    25th Aug 2019 Developer 0 Permalink

    Which version of VS is this?

  • DavidTheTech
    25th Aug 2019 Member 0 Permalink

    2015, cant use 2019 it wont install

  • LBPHacker
    25th Aug 2019 Developer 0 Permalink

    Hm, weird. Well, we don't really test 2015 and we don't get this warning in 2017. And yes, this is a warning, it's just treated as an error. Disable that option as if you were using 2019 and it should compile.