Hey guys,
I'm new here
I'm currently trying to rewrite the Cube engine step by step in SFML by replacing the old SDL 1.2 code.
So, I decided to start first with the audio stuff from the engine. After a few time of writing I got into an error.
Now, I found out that this error occurs when I just write one SFML line.
Just writing #include <SFML/xxxx.hpp> causes to throw a C2664 error. This thing seems to be a compiler error. I have absolutely no idea, why this is happening and why it only happens with SFML. I'm running Windows 7 x64 and my IDE is Visual Studio 2013. I hope you guys can help me
Here the complete error message:
Error 16 error C2664: 'std::ostreambuf_iterator<char,std::char_traits<char>> std::num_put<char,std::ostreambuf_iterator<char,std::char_traits<char>>>::_Iput(_OutIt,std::ios_base &,_Elem,char *,size_t) const' : cannot convert argument 5 from 'sprintf_s_f' to 'size_t'
c:\program files (x86)\microsoft visual studio 12.0\vc\include\xlocnum 1213 1 cube