antiblock
Elveron
  • Chatbox

    You don't have permission to chat.
    Load More

Archived

This topic is now archived and is closed to further replies.

  • 0
tutubarao

COMPILAÇÃO DE SOURCE

Question

ALGUEM PODERIA ME AJUDAR NESTE ERRO QUE ESTA TENDO NA COMPILAÇÃO 

ESTE EO ERRO:

<command-line>: warning: missing terminating " character
version.cpp:10: error: missing terminating " character
version.cpp: In function 'void WriteVersion()':
version.cpp:10: error: expected primary-expression before ')' token
gmake: *** [OBJDIR/version.o] Error 1
gmake: *** Waiting for unfinished jobs....
 

 

#include <stdio.h>

void WriteVersion()
{
#ifndef __WIN32__
    FILE* fp = fopen("Versao_by_Edson.B.J.txt", "w");

    if (fp)
    {
        fprintf(fp, "game performance_by_Edson.B.J revision: %s\n", __SVN_VERSION__);
        fprintf(fp, "%s@%s:%s\n", __USER__, __HOSTNAME__, __PWD__);
        fclose(fp);
    }
#endif
}
 AI ESTA A VERSION DA SOURCE

 

Share this post


Link to post
Share on other sites

0 answers to this question

There have been no answers to this question yet