Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Memorix101

Pages: [1]
1
General / Re: Weird console output
« on: July 03, 2016, 09:13:10 pm »
Ah, thanks.
I've got it working.
I always threw all libs inside ...   ::)
OMG, I can't believe I made a thread for this.

^-^

2
General / Weird console output
« on: July 03, 2016, 08:57:14 pm »
Hello,

Since a few days I've a problem using SFML.
Every time I compile a SFML application I get weird symbols in console and after that the exe crashes after
a few seconds. Does anybody know how to fix this ? It's pretty weird and even on old project who used to work flawlessly :O It doesn't matter what version of Visual Studio (2013 / 2015) I use for this :(

My VS 2015 project file: https://drive.google.com/file/d/0B5ILUdQjFzf2am1HdmhUTmg4aUU/view?usp=sharing

Thanks :)

3
SFML projects / Re: [GUI] SFML backend for ImGui
« on: April 23, 2015, 05:46:23 pm »
It's alright now. ^-^
It's working, now.
I should learn to read .... :P
I forgot to paste the imconfig-SFML stuff in to my imconfig.h

4
General / Re: Difficult C2664 error
« on: April 18, 2015, 06:51:20 am »
ah ok ^-^

I did it and still got the same issue ...

here's the complete output:
Code: [Select]
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppBuild.targets(364,5): warning MSB8004: Output Directory does not end with a trailing slash.  This build instance will add the slash as it is required to allow proper evaluation of the Output Directory.
1>  Microsoft (R) C/C++ Optimizing Compiler Version 18.00.31101 for x86
1>  Copyright (C) Microsoft Corporation.  All rights reserved.
1> 
1>  cl /c /IC:\w\cube\enet\include /IC:\w\cube\include /W3 /WX- /sdl- /Od /Oy- /D WIN32 /D _DEBUG /D _CONSOLE /D ENET_DEBUG /D _MBCS /Gm- /MDd /GS- /fp:precise /Zc:wchar_t /Zc:forScope /Yc"cube.h" /Fo".\Debug/" /Fd".\Debug/vc120.pdb" /Gd /TP /analyze- /errorReport:prompt ..\src\pch.cpp
1>cl : Command line warning D9025: overriding '/sdl-' with '/GS-'
1> 
1>  pch.cpp
1>c:\users\my_name\desktop\cube-engine\src\src\tools.h(64): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\string.h(195) : see declaration of 'strncpy'
1>c:\users\my_name\desktop\cube-engine\src\src\tools.h(70): warning C4996: '_vsnprintf': This function or variable may be unsafe. Consider using _vsnprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\stdio.h(346) : see declaration of '_vsnprintf'
1>c:\users\my_name\desktop\cube-engine\src\src\tools.h(82): warning C4996: '_vsnprintf': This function or variable may be unsafe. Consider using _vsnprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\stdio.h(346) : see declaration of '_vsnprintf'
1>  Microsoft (R) C/C++ Optimizing Compiler Version 18.00.31101 for x86
1>  Copyright (C) Microsoft Corporation.  All rights reserved.
1> 
1>  cl /c /IC:\w\cube\enet\include /IC:\w\cube\include /W3 /WX- /sdl- /Od /Oy- /D WIN32 /D _DEBUG /D _CONSOLE /D ENET_DEBUG /D _MBCS /Gm- /MDd /GS- /fp:precise /Zc:wchar_t /Zc:forScope /Fo".\Debug/" /Fd".\Debug/vc120.pdb" /Gd /TC /analyze- /errorReport:prompt ..\enet\callbacks.c ..\enet\host.c ..\enet\list.c ..\enet\memory.c ..\enet\packet.c ..\enet\peer.c ..\enet\protocol.c ..\enet\unix.c ..\enet\win32.c
1>cl : Command line warning D9025: overriding '/sdl-' with '/GS-'
1> 
1>  callbacks.c
2>  iForm.cpp
1>  host.c
2>  main.cpp
1>  list.c
1>  memory.c
1>  packet.c
2>  Generating Code...
2>  .NETFramework,Version=v4.5.1.AssemblyAttributes.cpp
1>  peer.c
1>  protocol.c
1>  unix.c
1>  win32.c
2>  Launcher.vcxproj -> C:\Users\my_name\Desktop\cube-engine\src\vcpp\Debug\Launcher.exe
1>..\enet\win32.c(60): warning C4996: 'gethostbyname': Use getaddrinfo() or GetAddrInfoW() instead or define _WINSOCK_DEPRECATED_NO_WARNINGS to disable deprecated API warnings
1>          C:\Program Files (x86)\Windows Kits\8.1\Include\um\winsock2.h(2238) : see declaration of 'gethostbyname'
1>..\enet\win32.c(78): warning C4996: 'gethostbyaddr': Use getnameinfo() or GetNameInfoW() instead or define _WINSOCK_DEPRECATED_NO_WARNINGS to disable deprecated API warnings
1>          C:\Program Files (x86)\Windows Kits\8.1\Include\um\winsock2.h(2216) : see declaration of 'gethostbyaddr'
1>..\enet\win32.c(82): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\string.h(195) : see declaration of 'strncpy'
1>  Generating Code...
1>  Microsoft (R) C/C++ Optimizing Compiler Version 18.00.31101 for x86
1>  Copyright (C) Microsoft Corporation.  All rights reserved.
1> 
1>  cl /c /IC:\w\cube\enet\include /IC:\w\cube\include /W3 /WX- /sdl- /Od /Oy- /D WIN32 /D _DEBUG /D _CONSOLE /D ENET_DEBUG /D _MBCS /Gm- /MDd /GS- /fp:precise /Zc:wchar_t /Zc:forScope /Fo".\Debug/" /Fd".\Debug/vc120.pdb" /Gd /TP /analyze- /errorReport:prompt ..\src\client.cpp ..\src\clientextras.cpp ..\src\clientgame.cpp ..\src\clients2c.cpp ..\src\command.cpp ..\src\console.cpp ..\src\editing.cpp ..\src\entities.cpp ..\src\main.cpp ..\src\menus.cpp ..\src\monster.cpp ..\src\physics.cpp ..\src\rendercubes.cpp ..\src\renderextras.cpp ..\src\rendergl.cpp ..\src\rendermd2.cpp ..\src\renderparticles.cpp ..\src\rendertext.cpp ..\src\rndmap.cpp ..\src\savegamedemo.cpp ..\src\server.cpp ..\src\serverbrowser.cpp ..\src\serverms.cpp ..\src\serverutil.cpp ..\src\sound.cpp ..\src\tools.cpp ..\src\weapon.cpp ..\src\world.cpp ..\src\worldio.cpp ..\src\worldlight.cpp ..\src\worldocull.cpp ..\src\worldrender.cpp
1>cl : Command line warning D9025: overriding '/sdl-' with '/GS-'
1> 
1>  client.cpp
1>c:\users\my_name\desktop\cube-engine\src\src\tools.h(64): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\string.h(195) : see declaration of 'strncpy'
1>c:\users\my_name\desktop\cube-engine\src\src\tools.h(70): warning C4996: '_vsnprintf': This function or variable may be unsafe. Consider using _vsnprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\stdio.h(346) : see declaration of '_vsnprintf'
1>c:\users\my_name\desktop\cube-engine\src\src\tools.h(82): warning C4996: '_vsnprintf': This function or variable may be unsafe. Consider using _vsnprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\stdio.h(346) : see declaration of '_vsnprintf'
1>  clientextras.cpp
1>c:\users\my_name\desktop\cube-engine\src\src\tools.h(64): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\string.h(195) : see declaration of 'strncpy'
1>c:\users\my_name\desktop\cube-engine\src\src\tools.h(70): warning C4996: '_vsnprintf': This function or variable may be unsafe. Consider using _vsnprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\stdio.h(346) : see declaration of '_vsnprintf'
1>c:\users\my_name\desktop\cube-engine\src\src\tools.h(82): warning C4996: '_vsnprintf': This function or variable may be unsafe. Consider using _vsnprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\stdio.h(346) : see declaration of '_vsnprintf'
1>  clientgame.cpp
1>c:\users\my_name\desktop\cube-engine\src\src\tools.h(64): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\string.h(195) : see declaration of 'strncpy'
1>c:\users\my_name\desktop\cube-engine\src\src\tools.h(70): warning C4996: '_vsnprintf': This function or variable may be unsafe. Consider using _vsnprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\stdio.h(346) : see declaration of '_vsnprintf'
1>c:\users\my_name\desktop\cube-engine\src\src\tools.h(82): warning C4996: '_vsnprintf': This function or variable may be unsafe. Consider using _vsnprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\stdio.h(346) : see declaration of '_vsnprintf'
1>  clients2c.cpp
1>c:\users\my_name\desktop\cube-engine\src\src\tools.h(64): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\string.h(195) : see declaration of 'strncpy'
1>c:\users\my_name\desktop\cube-engine\src\src\tools.h(70): warning C4996: '_vsnprintf': This function or variable may be unsafe. Consider using _vsnprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\stdio.h(346) : see declaration of '_vsnprintf'
1>c:\users\my_name\desktop\cube-engine\src\src\tools.h(82): warning C4996: '_vsnprintf': This function or variable may be unsafe. Consider using _vsnprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\stdio.h(346) : see declaration of '_vsnprintf'
1>  command.cpp
1>c:\users\my_name\desktop\cube-engine\src\src\tools.h(64): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\string.h(195) : see declaration of 'strncpy'
1>c:\users\my_name\desktop\cube-engine\src\src\tools.h(70): warning C4996: '_vsnprintf': This function or variable may be unsafe. Consider using _vsnprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\stdio.h(346) : see declaration of '_vsnprintf'
1>c:\users\my_name\desktop\cube-engine\src\src\tools.h(82): warning C4996: '_vsnprintf': This function or variable may be unsafe. Consider using _vsnprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\stdio.h(346) : see declaration of '_vsnprintf'
1>..\src\command.cpp(280): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\stdio.h(211) : see declaration of 'fopen'
1>  console.cpp
1>c:\users\my_name\desktop\cube-engine\src\src\tools.h(64): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\string.h(195) : see declaration of 'strncpy'
1>c:\users\my_name\desktop\cube-engine\src\src\tools.h(70): warning C4996: '_vsnprintf': This function or variable may be unsafe. Consider using _vsnprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\stdio.h(346) : see declaration of '_vsnprintf'
1>c:\users\my_name\desktop\cube-engine\src\src\tools.h(82): warning C4996: '_vsnprintf': This function or variable may be unsafe. Consider using _vsnprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\stdio.h(346) : see declaration of '_vsnprintf'
1>  editing.cpp
1>c:\users\my_name\desktop\cube-engine\src\src\tools.h(64): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\string.h(195) : see declaration of 'strncpy'
1>c:\users\my_name\desktop\cube-engine\src\src\tools.h(70): warning C4996: '_vsnprintf': This function or variable may be unsafe. Consider using _vsnprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\stdio.h(346) : see declaration of '_vsnprintf'
1>c:\users\my_name\desktop\cube-engine\src\src\tools.h(82): warning C4996: '_vsnprintf': This function or variable may be unsafe. Consider using _vsnprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\stdio.h(346) : see declaration of '_vsnprintf'
1>  entities.cpp
1>c:\users\my_name\desktop\cube-engine\src\src\tools.h(64): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\string.h(195) : see declaration of 'strncpy'
1>c:\users\my_name\desktop\cube-engine\src\src\tools.h(70): warning C4996: '_vsnprintf': This function or variable may be unsafe. Consider using _vsnprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\stdio.h(346) : see declaration of '_vsnprintf'
1>c:\users\my_name\desktop\cube-engine\src\src\tools.h(82): warning C4996: '_vsnprintf': This function or variable may be unsafe. Consider using _vsnprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\stdio.h(346) : see declaration of '_vsnprintf'
1>  main.cpp
1>c:\users\my_name\desktop\cube-engine\src\src\tools.h(64): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\string.h(195) : see declaration of 'strncpy'
1>c:\users\my_name\desktop\cube-engine\src\src\tools.h(70): warning C4996: '_vsnprintf': This function or variable may be unsafe. Consider using _vsnprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\stdio.h(346) : see declaration of '_vsnprintf'
1>c:\users\my_name\desktop\cube-engine\src\src\tools.h(82): warning C4996: '_vsnprintf': This function or variable may be unsafe. Consider using _vsnprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\stdio.h(346) : see declaration of '_vsnprintf'
1>  menus.cpp
1>c:\users\my_name\desktop\cube-engine\src\src\tools.h(64): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\string.h(195) : see declaration of 'strncpy'
1>c:\users\my_name\desktop\cube-engine\src\src\tools.h(70): warning C4996: '_vsnprintf': This function or variable may be unsafe. Consider using _vsnprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\stdio.h(346) : see declaration of '_vsnprintf'
1>c:\users\my_name\desktop\cube-engine\src\src\tools.h(82): warning C4996: '_vsnprintf': This function or variable may be unsafe. Consider using _vsnprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\stdio.h(346) : see declaration of '_vsnprintf'
1>  monster.cpp
1>c:\users\my_name\desktop\cube-engine\src\src\tools.h(64): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\string.h(195) : see declaration of 'strncpy'
1>c:\users\my_name\desktop\cube-engine\src\src\tools.h(70): warning C4996: '_vsnprintf': This function or variable may be unsafe. Consider using _vsnprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\stdio.h(346) : see declaration of '_vsnprintf'
1>c:\users\my_name\desktop\cube-engine\src\src\tools.h(82): warning C4996: '_vsnprintf': This function or variable may be unsafe. Consider using _vsnprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\stdio.h(346) : see declaration of '_vsnprintf'
1>  physics.cpp
1>c:\users\my_name\desktop\cube-engine\src\src\tools.h(64): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\string.h(195) : see declaration of 'strncpy'
1>c:\users\my_name\desktop\cube-engine\src\src\tools.h(70): warning C4996: '_vsnprintf': This function or variable may be unsafe. Consider using _vsnprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\stdio.h(346) : see declaration of '_vsnprintf'
1>c:\users\my_name\desktop\cube-engine\src\src\tools.h(82): warning C4996: '_vsnprintf': This function or variable may be unsafe. Consider using _vsnprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\stdio.h(346) : see declaration of '_vsnprintf'
1>  rendercubes.cpp
1>c:\users\my_name\desktop\cube-engine\src\src\tools.h(64): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\string.h(195) : see declaration of 'strncpy'
1>c:\users\my_name\desktop\cube-engine\src\src\tools.h(70): warning C4996: '_vsnprintf': This function or variable may be unsafe. Consider using _vsnprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\stdio.h(346) : see declaration of '_vsnprintf'
1>c:\users\my_name\desktop\cube-engine\src\src\tools.h(82): warning C4996: '_vsnprintf': This function or variable may be unsafe. Consider using _vsnprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\stdio.h(346) : see declaration of '_vsnprintf'
1>  renderextras.cpp
1>c:\users\my_name\desktop\cube-engine\src\src\tools.h(64): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\string.h(195) : see declaration of 'strncpy'
1>c:\users\my_name\desktop\cube-engine\src\src\tools.h(70): warning C4996: '_vsnprintf': This function or variable may be unsafe. Consider using _vsnprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\stdio.h(346) : see declaration of '_vsnprintf'
1>c:\users\my_name\desktop\cube-engine\src\src\tools.h(82): warning C4996: '_vsnprintf': This function or variable may be unsafe. Consider using _vsnprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\stdio.h(346) : see declaration of '_vsnprintf'
1>  rendergl.cpp
1>c:\users\my_name\desktop\cube-engine\src\src\tools.h(64): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\string.h(195) : see declaration of 'strncpy'
1>c:\users\my_name\desktop\cube-engine\src\src\tools.h(70): warning C4996: '_vsnprintf': This function or variable may be unsafe. Consider using _vsnprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\stdio.h(346) : see declaration of '_vsnprintf'
1>c:\users\my_name\desktop\cube-engine\src\src\tools.h(82): warning C4996: '_vsnprintf': This function or variable may be unsafe. Consider using _vsnprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\stdio.h(346) : see declaration of '_vsnprintf'
1>  rendermd2.cpp
1>c:\users\my_name\desktop\cube-engine\src\src\tools.h(64): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\string.h(195) : see declaration of 'strncpy'
1>c:\users\my_name\desktop\cube-engine\src\src\tools.h(70): warning C4996: '_vsnprintf': This function or variable may be unsafe. Consider using _vsnprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\stdio.h(346) : see declaration of '_vsnprintf'
1>c:\users\my_name\desktop\cube-engine\src\src\tools.h(82): warning C4996: '_vsnprintf': This function or variable may be unsafe. Consider using _vsnprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\stdio.h(346) : see declaration of '_vsnprintf'
1>..\src\rendermd2.cpp(69): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\stdio.h(211) : see declaration of 'fopen'
1>  renderparticles.cpp
1>c:\users\my_name\desktop\cube-engine\src\src\tools.h(64): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\string.h(195) : see declaration of 'strncpy'
1>c:\users\my_name\desktop\cube-engine\src\src\tools.h(70): warning C4996: '_vsnprintf': This function or variable may be unsafe. Consider using _vsnprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\stdio.h(346) : see declaration of '_vsnprintf'
1>c:\users\my_name\desktop\cube-engine\src\src\tools.h(82): warning C4996: '_vsnprintf': This function or variable may be unsafe. Consider using _vsnprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\stdio.h(346) : see declaration of '_vsnprintf'
1>  rendertext.cpp
1>c:\users\my_name\desktop\cube-engine\src\src\tools.h(64): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\string.h(195) : see declaration of 'strncpy'
1>c:\users\my_name\desktop\cube-engine\src\src\tools.h(70): warning C4996: '_vsnprintf': This function or variable may be unsafe. Consider using _vsnprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\stdio.h(346) : see declaration of '_vsnprintf'
1>c:\users\my_name\desktop\cube-engine\src\src\tools.h(82): warning C4996: '_vsnprintf': This function or variable may be unsafe. Consider using _vsnprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\stdio.h(346) : see declaration of '_vsnprintf'
1>  rndmap.cpp
1>c:\users\my_name\desktop\cube-engine\src\src\tools.h(64): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\string.h(195) : see declaration of 'strncpy'
1>c:\users\my_name\desktop\cube-engine\src\src\tools.h(70): warning C4996: '_vsnprintf': This function or variable may be unsafe. Consider using _vsnprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\stdio.h(346) : see declaration of '_vsnprintf'
1>c:\users\my_name\desktop\cube-engine\src\src\tools.h(82): warning C4996: '_vsnprintf': This function or variable may be unsafe. Consider using _vsnprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\stdio.h(346) : see declaration of '_vsnprintf'
1>  savegamedemo.cpp
1>c:\users\my_name\desktop\cube-engine\src\src\tools.h(64): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\string.h(195) : see declaration of 'strncpy'
1>c:\users\my_name\desktop\cube-engine\src\src\tools.h(70): warning C4996: '_vsnprintf': This function or variable may be unsafe. Consider using _vsnprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\stdio.h(346) : see declaration of '_vsnprintf'
1>c:\users\my_name\desktop\cube-engine\src\src\tools.h(82): warning C4996: '_vsnprintf': This function or variable may be unsafe. Consider using _vsnprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\stdio.h(346) : see declaration of '_vsnprintf'
1>  Generating Code...
1>  Compiling...
1>  server.cpp
1>c:\users\my_name\desktop\cube-engine\src\src\tools.h(64): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\string.h(195) : see declaration of 'strncpy'
1>c:\users\my_name\desktop\cube-engine\src\src\tools.h(70): warning C4996: '_vsnprintf': This function or variable may be unsafe. Consider using _vsnprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\stdio.h(346) : see declaration of '_vsnprintf'
1>c:\users\my_name\desktop\cube-engine\src\src\tools.h(82): warning C4996: '_vsnprintf': This function or variable may be unsafe. Consider using _vsnprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\stdio.h(346) : see declaration of '_vsnprintf'
1>..\src\server.cpp(466): warning C4244: 'argument' : conversion from 'time_t' to 'int', possible loss of data
1>  serverbrowser.cpp
1>c:\users\my_name\desktop\cube-engine\src\src\tools.h(64): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\string.h(195) : see declaration of 'strncpy'
1>c:\users\my_name\desktop\cube-engine\src\src\tools.h(70): warning C4996: '_vsnprintf': This function or variable may be unsafe. Consider using _vsnprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\stdio.h(346) : see declaration of '_vsnprintf'
1>c:\users\my_name\desktop\cube-engine\src\src\tools.h(82): warning C4996: '_vsnprintf': This function or variable may be unsafe. Consider using _vsnprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\stdio.h(346) : see declaration of '_vsnprintf'
1>..\src\serverbrowser.cpp(296): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\stdio.h(211) : see declaration of 'fopen'
1>  serverms.cpp
1>c:\users\my_name\desktop\cube-engine\src\src\tools.h(64): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\string.h(195) : see declaration of 'strncpy'
1>c:\users\my_name\desktop\cube-engine\src\src\tools.h(70): warning C4996: '_vsnprintf': This function or variable may be unsafe. Consider using _vsnprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\stdio.h(346) : see declaration of '_vsnprintf'
1>c:\users\my_name\desktop\cube-engine\src\src\tools.h(82): warning C4996: '_vsnprintf': This function or variable may be unsafe. Consider using _vsnprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\stdio.h(346) : see declaration of '_vsnprintf'
1>  serverutil.cpp
1>c:\users\my_name\desktop\cube-engine\src\src\tools.h(64): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\string.h(195) : see declaration of 'strncpy'
1>c:\users\my_name\desktop\cube-engine\src\src\tools.h(70): warning C4996: '_vsnprintf': This function or variable may be unsafe. Consider using _vsnprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\stdio.h(346) : see declaration of '_vsnprintf'
1>c:\users\my_name\desktop\cube-engine\src\src\tools.h(82): warning C4996: '_vsnprintf': This function or variable may be unsafe. Consider using _vsnprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\stdio.h(346) : see declaration of '_vsnprintf'
1>  sound.cpp
1>c:\users\my_name\desktop\cube-engine\src\src\tools.h(64): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\string.h(195) : see declaration of 'strncpy'
1>c:\users\my_name\desktop\cube-engine\src\src\tools.h(70): warning C4996: '_vsnprintf': This function or variable may be unsafe. Consider using _vsnprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\stdio.h(346) : see declaration of '_vsnprintf'
1>c:\users\my_name\desktop\cube-engine\src\src\tools.h(82): warning C4996: '_vsnprintf': This function or variable may be unsafe. Consider using _vsnprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\stdio.h(346) : see declaration of '_vsnprintf'
1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\xlocale(337): warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc
1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\xlocnum(1214): warning C4002: too many actual parameters for macro 'sprintf_s'
1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\xlocnum(1224): warning C4002: too many actual parameters for macro 'sprintf_s'
1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\xlocnum(1235): warning C4002: too many actual parameters for macro 'sprintf_s'
1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\xlocnum(1245): warning C4002: too many actual parameters for macro 'sprintf_s'
1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\xlocnum(1288): warning C4002: too many actual parameters for macro 'sprintf_s'
1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\xlocnum(1329): warning C4002: too many actual parameters for macro 'sprintf_s'
1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\xlocnum(1338): warning C4002: too many actual parameters for macro 'sprintf_s'
1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\string(504): warning C4002: too many actual parameters for macro 'sprintf_s'
1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\string(512): warning C4002: too many actual parameters for macro 'sprintf_s'
1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\string(520): warning C4002: too many actual parameters for macro 'sprintf_s'
1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\string(528): warning C4002: too many actual parameters for macro 'sprintf_s'
1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\string(536): warning C4002: too many actual parameters for macro 'sprintf_s'
1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\string(544): warning C4002: too many actual parameters for macro 'sprintf_s'
1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\xlocmon(724): warning C4002: too many actual parameters for macro 'sprintf_s'
1>..\src\sound.cpp(119): warning C4244: 'argument' : conversion from 'int' to 'float', possible loss of data
1>..\src\sound.cpp(120): warning C4244: 'argument' : conversion from 'int' to 'float', possible loss of data
1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\xlocnum(1213): 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'
1>          with
1>          [
1>              _OutIt=std::ostreambuf_iterator<char,std::char_traits<char>>
1>  ,            _Elem=char
1>          ]
1>          No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
1>          C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\xlocnum(1209) : while compiling class template member function 'std::ostreambuf_iterator<char,std::char_traits<char>> std::num_put<char,std::ostreambuf_iterator<char,std::char_traits<char>>>::do_put(_OutIt,std::ios_base &,_Elem,long) const'
1>          with
1>          [
1>              _OutIt=std::ostreambuf_iterator<char,std::char_traits<char>>
1>  ,            _Elem=char
1>          ]
1>          C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\xlocnum(1182) : see reference to function template instantiation 'std::ostreambuf_iterator<char,std::char_traits<char>> std::num_put<char,std::ostreambuf_iterator<char,std::char_traits<char>>>::do_put(_OutIt,std::ios_base &,_Elem,long) const' being compiled
1>          with
1>          [
1>              _OutIt=std::ostreambuf_iterator<char,std::char_traits<char>>
1>  ,            _Elem=char
1>          ]
1>          C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\xlocnum(1576) : see reference to class template instantiation 'std::num_put<char,std::ostreambuf_iterator<char,std::char_traits<char>>>' being compiled
1>  tools.cpp
1>c:\users\my_name\desktop\cube-engine\src\src\tools.h(64): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\string.h(195) : see declaration of 'strncpy'
1>c:\users\my_name\desktop\cube-engine\src\src\tools.h(70): warning C4996: '_vsnprintf': This function or variable may be unsafe. Consider using _vsnprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\stdio.h(346) : see declaration of '_vsnprintf'
1>c:\users\my_name\desktop\cube-engine\src\src\tools.h(82): warning C4996: '_vsnprintf': This function or variable may be unsafe. Consider using _vsnprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\stdio.h(346) : see declaration of '_vsnprintf'
1>..\src\tools.cpp(89): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\string.h(195) : see declaration of 'strncpy'
1>..\src\tools.cpp(111): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\stdio.h(211) : see declaration of 'fopen'
1>  weapon.cpp
1>c:\users\my_name\desktop\cube-engine\src\src\tools.h(64): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\string.h(195) : see declaration of 'strncpy'
1>c:\users\my_name\desktop\cube-engine\src\src\tools.h(70): warning C4996: '_vsnprintf': This function or variable may be unsafe. Consider using _vsnprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\stdio.h(346) : see declaration of '_vsnprintf'
1>c:\users\my_name\desktop\cube-engine\src\src\tools.h(82): warning C4996: '_vsnprintf': This function or variable may be unsafe. Consider using _vsnprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\stdio.h(346) : see declaration of '_vsnprintf'
1>  world.cpp
1>c:\users\my_name\desktop\cube-engine\src\src\tools.h(64): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\string.h(195) : see declaration of 'strncpy'
1>c:\users\my_name\desktop\cube-engine\src\src\tools.h(70): warning C4996: '_vsnprintf': This function or variable may be unsafe. Consider using _vsnprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\stdio.h(346) : see declaration of '_vsnprintf'
1>c:\users\my_name\desktop\cube-engine\src\src\tools.h(82): warning C4996: '_vsnprintf': This function or variable may be unsafe. Consider using _vsnprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\stdio.h(346) : see declaration of '_vsnprintf'
1>..\src\world.cpp(326): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\string.h(195) : see declaration of 'strncpy'
1>  worldio.cpp
1>c:\users\my_name\desktop\cube-engine\src\src\tools.h(64): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\string.h(195) : see declaration of 'strncpy'
1>c:\users\my_name\desktop\cube-engine\src\src\tools.h(70): warning C4996: '_vsnprintf': This function or variable may be unsafe. Consider using _vsnprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\stdio.h(346) : see declaration of '_vsnprintf'
1>c:\users\my_name\desktop\cube-engine\src\src\tools.h(82): warning C4996: '_vsnprintf': This function or variable may be unsafe. Consider using _vsnprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\stdio.h(346) : see declaration of '_vsnprintf'
1>..\src\worldio.cpp(109): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\stdio.h(211) : see declaration of 'fopen'
1>  worldlight.cpp
1>c:\users\my_name\desktop\cube-engine\src\src\tools.h(64): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\string.h(195) : see declaration of 'strncpy'
1>c:\users\my_name\desktop\cube-engine\src\src\tools.h(70): warning C4996: '_vsnprintf': This function or variable may be unsafe. Consider using _vsnprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\stdio.h(346) : see declaration of '_vsnprintf'
1>c:\users\my_name\desktop\cube-engine\src\src\tools.h(82): warning C4996: '_vsnprintf': This function or variable may be unsafe. Consider using _vsnprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\stdio.h(346) : see declaration of '_vsnprintf'
1>  worldocull.cpp
1>c:\users\my_name\desktop\cube-engine\src\src\tools.h(64): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\string.h(195) : see declaration of 'strncpy'
1>c:\users\my_name\desktop\cube-engine\src\src\tools.h(70): warning C4996: '_vsnprintf': This function or variable may be unsafe. Consider using _vsnprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\stdio.h(346) : see declaration of '_vsnprintf'
1>c:\users\my_name\desktop\cube-engine\src\src\tools.h(82): warning C4996: '_vsnprintf': This function or variable may be unsafe. Consider using _vsnprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\stdio.h(346) : see declaration of '_vsnprintf'
1>  worldrender.cpp
1>c:\users\my_name\desktop\cube-engine\src\src\tools.h(64): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\string.h(195) : see declaration of 'strncpy'
1>c:\users\my_name\desktop\cube-engine\src\src\tools.h(70): warning C4996: '_vsnprintf': This function or variable may be unsafe. Consider using _vsnprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\stdio.h(346) : see declaration of '_vsnprintf'
1>c:\users\my_name\desktop\cube-engine\src\src\tools.h(82): warning C4996: '_vsnprintf': This function or variable may be unsafe. Consider using _vsnprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\stdio.h(346) : see declaration of '_vsnprintf'
1>  Generating Code...
========== Rebuild All: 1 succeeded, 1 failed, 0 skipped ==========


5
General / Re: Difficult C2664 error
« on: April 18, 2015, 02:07:27 am »
Yes, I think it's a setup issue, too.

Yep, it's the full error.



My output after the rebuild:
Code: [Select]
1>  sound.cpp
1>c:\users\my_name\desktop\cube-engine\src\src\tools.h(64): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          c:\program files (x86)\microsoft visual studio 12.0\vc\include\string.h(195) : see declaration of 'strncpy'
1>c:\users\my_name\desktop\cube-engine\src\src\tools.h(70): warning C4996: '_vsnprintf': This function or variable may be unsafe. Consider using _vsnprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          c:\program files (x86)\microsoft visual studio 12.0\vc\include\stdio.h(346) : see declaration of '_vsnprintf'
1>c:\users\my_name\desktop\cube-engine\src\src\tools.h(82): warning C4996: '_vsnprintf': This function or variable may be unsafe. Consider using _vsnprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          c:\program files (x86)\microsoft visual studio 12.0\vc\include\stdio.h(346) : see declaration of '_vsnprintf'
1>c:\program files (x86)\microsoft visual studio 12.0\vc\include\xlocnum(1214): warning C4002: too many actual parameters for macro 'sprintf_s'
1>c:\program files (x86)\microsoft visual studio 12.0\vc\include\xlocnum(1224): warning C4002: too many actual parameters for macro 'sprintf_s'
1>c:\program files (x86)\microsoft visual studio 12.0\vc\include\xlocnum(1235): warning C4002: too many actual parameters for macro 'sprintf_s'
1>c:\program files (x86)\microsoft visual studio 12.0\vc\include\xlocnum(1245): warning C4002: too many actual parameters for macro 'sprintf_s'
1>c:\program files (x86)\microsoft visual studio 12.0\vc\include\xlocnum(1288): warning C4002: too many actual parameters for macro 'sprintf_s'
1>c:\program files (x86)\microsoft visual studio 12.0\vc\include\xlocnum(1329): warning C4002: too many actual parameters for macro 'sprintf_s'
1>c:\program files (x86)\microsoft visual studio 12.0\vc\include\xlocnum(1338): warning C4002: too many actual parameters for macro 'sprintf_s'
1>c:\program files (x86)\microsoft visual studio 12.0\vc\include\string(504): warning C4002: too many actual parameters for macro 'sprintf_s'
1>c:\program files (x86)\microsoft visual studio 12.0\vc\include\string(512): warning C4002: too many actual parameters for macro 'sprintf_s'
1>c:\program files (x86)\microsoft visual studio 12.0\vc\include\string(520): warning C4002: too many actual parameters for macro 'sprintf_s'
1>c:\program files (x86)\microsoft visual studio 12.0\vc\include\string(528): warning C4002: too many actual parameters for macro 'sprintf_s'
1>c:\program files (x86)\microsoft visual studio 12.0\vc\include\string(536): warning C4002: too many actual parameters for macro 'sprintf_s'
1>c:\program files (x86)\microsoft visual studio 12.0\vc\include\string(544): warning C4002: too many actual parameters for macro 'sprintf_s'
1>c:\program files (x86)\microsoft visual studio 12.0\vc\include\xlocmon(724): warning C4002: too many actual parameters for macro 'sprintf_s'
1>c:\program files (x86)\microsoft visual studio 12.0\vc\include\xlocnum(1213): 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'
1>          with
1>          [
1>              _OutIt=std::ostreambuf_iterator<char,std::char_traits<char>>
1>  ,            _Elem=char
1>          ]
1>          No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
1>          c:\program files (x86)\microsoft visual studio 12.0\vc\include\xlocnum(1209) : while compiling class template member function 'std::ostreambuf_iterator<char,std::char_traits<char>> std::num_put<char,std::ostreambuf_iterator<char,std::char_traits<char>>>::do_put(_OutIt,std::ios_base &,_Elem,long) const'
1>          with
1>          [
1>              _OutIt=std::ostreambuf_iterator<char,std::char_traits<char>>
1>  ,            _Elem=char
1>          ]
1>          c:\program files (x86)\microsoft visual studio 12.0\vc\include\xlocnum(1182) : see reference to function template instantiation 'std::ostreambuf_iterator<char,std::char_traits<char>> std::num_put<char,std::ostreambuf_iterator<char,std::char_traits<char>>>::do_put(_OutIt,std::ios_base &,_Elem,long) const' being compiled
1>          with
1>          [
1>              _OutIt=std::ostreambuf_iterator<char,std::char_traits<char>>
1>  ,            _Elem=char
1>          ]
1>          c:\program files (x86)\microsoft visual studio 12.0\vc\include\xlocnum(1576) : see reference to class template instantiation 'std::num_put<char,std::ostreambuf_iterator<char,std::char_traits<char>>>' being compiled

I just included SFML and it results in this error :/

6
General / Difficult C2664 error
« on: April 17, 2015, 09:59:18 pm »
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:
Code: [Select]
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

Pages: [1]
anything