Jump to content

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


Recommended Posts

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

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

 

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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



  • Similar Content

  • Activity

    1. 113

      Ulthar SF V2 (TMP4 Base)

    2. 2

      Feeding game source to LLM

    3. 0

      Target Information System

    4. 2

      Feeding game source to LLM

    5. 2

      anti exp explanation pls

    6. 2

      Feeding game source to LLM

    7. 2

      anti exp explanation pls

  • Recently Browsing

    • No registered users viewing this page.
×
×
  • 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.