Jump to content
  • Join-Us

    https://metin2.dev is the 1st international community on Metin2 development. Join us to develop your skills and share your knowledge with the community, respectful and ethical forum.

  • 0

speedtreelib\vertexshaders.h(171): warning C4477: 'sprintf'


Colombia2020

Question

Quote

8>c:\users\alexander\desktop\nueva carpeta\savage_source_client\srcs\client\eterbase\error.cpp(59): warning C4477: 'fprintf' : la cadena de formato '%08x' requiere un argumento de tipo 'unsigned int', pero el argumento variádico 1 tiene el tipo 'time_t'
9>Material.cpp
8>c:\users\alexander\desktop\nueva carpeta\savage_source_client\srcs\client\eterbase\error.cpp(59): note: considere el uso de ' %llx' en la cadena de formato
8>c:\users\alexander\desktop\nueva carpeta\savage_source_client\srcs\client\eterbase\error.cpp(59): note: considere el uso de ' %I64x' en la cadena de formato

3.png

Quote

        fprintf(fException, "Module Name: %s\n", module_name);
        fprintf(fException, "Time Stamp: 0x%08x - %s\n", module_time, ctime(&module_time));
        fprintf(fException, "\n");
        fprintf(fException, "Exception Type: 0x%08x\n", pExceptionInfo->ExceptionRecord->ExceptionCode);
        fprintf(fException, "\n");
 

 

Edited by Metin2 Dev
Core X - External 2 Internal
Link to comment
Share on other sites

  • Answers 2
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

2 answers to this question

Recommended Posts

  • 0

 

Quote

8>Symbol.cpp
8>SymTable.cpp
6>SpeedTreeForestDirectX8.cpp
8>cipher.cpp
6>c:\users\alexander\desktop\nueva carpeta\savage_source_client\srcs\client\speedtreelib\vertexshaders.h(171): warning C4477: 'sprintf' : la cadena de formato '%s' requiere un argumento de tipo 'char *', pero el argumento variádico 1 tiene el tipo 'LPVOID'
6>SpeedTreeWrapper.cpp
6>c:\users\alexander\desktop\nueva carpeta\savage_source_client\srcs\client\speedtreelib\vertexshaders.h(171): warning C4477: 'sprintf' : la cadena de formato '%s' requiere un argumento de tipo 'char *', pero el argumento variádico 1 tiene el tipo 'LPVOID'
6>Generando código...
8>CPostIt.cpp
6>SpeedTreeLib.vcxproj -> C:\Users\ALEXANDER\Desktop\Nueva carpeta\Savage_Source_Client\Srcs\Client\SpeedTreeLib\Release\SpeedTreeLib.lib
6>Compilación del proyecto "SpeedTreeLib.vcxproj" terminada.
9>------ Operación Compilar iniciada: proyecto: eterGrnLib, configuración: Release Win32 ------

rr.png

Quote

    {
        char szError[1024];
        sprintf(szError, "Failed to assemble branch vertex shader.\nThe error reported is [ %s ].\n", pError->GetBufferPointer( ));
        MessageBox(NULL, szError, "Vertex Shader Error", MB_ICONSTOP);
    }

 

Edited by Metin2 Dev
Core X - External 2 Internal
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.