Thanks alekmaul for the reply, but the code:
Checked in \devkitsnes\include\string.h but reference strcat not exists, it is necessary to be informed in that path?
Now this code:
returns the warning, but continues:
It Worked perfectly for routines for texts that will develop.
Citationreturns the error:Code Sélectionner
#include <string.h>
#include <stdio.h>
char out1[7];
char out2[4];
char out3[10];
strcpy(out1,"PVSnes");
strcpy(out2,"Lib");
strcpy(out3,out1);
strcat(out3,out2);
consoleDrawText(1,1, "This is union: %s", out3);
Code Sélectionner
timer.c:66: warning: implicit declaration of function 'strcat'
...
timer.obj:timer.asm:189: FIX_REFERENCES: Reference to an unknown label "strcat".
"make": *** [/d/snesdev/timer/timer.sfc] Error 1
Checked in \devkitsnes\include\string.h but reference strcat not exists, it is necessary to be informed in that path?
Now this code:
Code Sélectionner
char out3[10];
sprintf(out3,"%s%s", "fael", "daniel");
consoleDrawText(1,10,"Union in console: %s", out3)
returns the warning, but continues:
Code Sélectionner
timer.c:61: warning: implicit declaration of function 'sprintf'
It Worked perfectly for routines for texts that will develop.