prog.c: In function ‘main’:
prog.c:22:2: warning: implicit declaration of function ‘scanf_s’ [-Wimplicit-function-declaration]
scanf_s("%s", &F, A);
^~~~~~~
prog.c:30:4: warning: implicit declaration of function ‘strcat_s’ [-Wimplicit-function-declaration]
strcat_s(G, H);
^~~~~~~~
prog.c:37:3: warning: implicit declaration of function ‘strncpy_s’ [-Wimplicit-function-declaration]
strncpy_s(I, G + i, 6);
^~~~~~~~~
prog.c:40:4: warning: implicit declaration of function ‘strncat_s’ [-Wimplicit-function-declaration]
strncat_s(I, K, 6 - strlen(I));
^~~~~~~~~
prog.c:19:10: warning: unused variable ‘P’ [-Wunused-variable]
long O, P, Q, R;
^
prog.c:14:7: warning: unused variable ‘J’ [-Wunused-variable]
char J[] = "==";
^
prog.c: In function ‘D’:
prog.c:90:23: warning: initialization makes integer from pointer without a cast [-Wint-conversion]
static char X[9] = { NULL };
^~~~
prog.c:90:23: note: (near initialization for ‘X[0]’)
prog.c:91:16: warning: initialization makes integer from pointer without a cast [-Wint-conversion]
char Y[9] = { NULL };
^~~~
prog.c:91:16: note: (near initialization for ‘Y[0]’)
prog.c:92:32: warning: initialization makes integer from pointer without a cast [-Wint-conversion]
char Z[((A - 1) * 8) + 1] = { NULL };
^~~~
prog.c:92:32: note: (near initialization for ‘Z[0]’)
prog.c:93:4: warning: implicit declaration of function ‘_itoa_s’ [-Wimplicit-function-declaration]
_itoa_s(E, X, 10);
^~~~~~~
prog.c:94:4: warning: implicit declaration of function ‘strcpy_s’ [-Wimplicit-function-declaration]
strcpy_s(Y, sizeof(X), X);
^~~~~~~~
prog.c:92:7: warning: unused variable ‘Z’ [-Wunused-variable]
char Z[((A - 1) * 8) + 1] = { NULL };
^
prog.c: In function ‘main’:
prog.c:60:24: warning: ‘T’ may be used uninitialized in this function [-Wmaybe-uninitialized]
for (int i = S; i < S + T; i++) {
~~^~~
/home/h7EmEp/ccnkepFj.o: In function `D':
prog.c:(.text+0x54): undefined reference to `_itoa_s'
prog.c:(.text+0x6a): undefined reference to `strcpy_s'
prog.c:(.text+0xf2): undefined reference to `strcat_s'
/home/h7EmEp/ccnkepFj.o: In function `main':
prog.c:(.text.startup+0x11a): undefined reference to `scanf_s'
prog.c:(.text.startup+0x19b): undefined reference to `strcat_s'
prog.c:(.text.startup+0x22e): undefined reference to `strncpy_s'
prog.c:(.text.startup+0x297): undefined reference to `strncat_s'
collect2: error: ld returned 1 exit status