PRAKASH HONNAMMA DASAIAH
New Member
During migration from 6i to e12c i am getting stuck with
Issue - while compiling Pro C files during 12C migration
-I/usr/include -I/opt/Oracle/Middlewar e/Oracle_Home/precomp/public -I/opt/Oracle/Middleware/Oracle_Home/xdk/include -I /opt/Oracle/Middleware/Oracle_Home/lib -I/opt/Oracle/Middleware/Oracle_Home/lib -I/usr/lib/gcc/x86_64-redhat-linux/4.8.2/include/ -c DFR010.c
DFR010.c: In function ‘select_records’:
DFR010.c:2269:6: warning: passing argument 1 of ‘fprintf’ from incompatible pointer type [enabled by default]
fprintf(fp2," %-6s %-8s%-12s %-40s %14.2lf %d",ws_vendorno.arr, ws_voucherno.arr, ws_voucherdate.arr, ws_name.arr,ws_mamount1, ws_actno);
^
In file included from DFR010.c:188:0:
/usr/include/stdio.h:356:12: note: expected ‘struct FILE * __restrict__’ but argument is of type ‘char *’extern int fprintf (FILE *__restrict __stream,
^
DFR010.c:2271:6: warning: passing argument 1 of ‘fprintf’ from incompatible pointer type [enabled by default]
fprintf(fp2, "\n");
^
In file included from DFR010.c:188:0:
/usr/include/stdio.h:356:12: note: expected ‘struct FILE * __restrict__’ but argument is of type ‘char *’
extern int fprintf (FILE *__restrict __stream,
^
DFR010.c:2334:1: warning: passing argument 1 of ‘fprintf’ from incompatible pointer type [enabled by default] fprintf(fp2,"\n --------- --------------------------------");
^
In file included from DFR010.c:188:0:
/usr/include/stdio.h:356:12: note: expected ‘struct FILE * __restrict__’ but argument is of type ‘char *’
extern int fprintf (FILE *__restrict __stream,
^
DFR010.c:2335:1: warning: passing argument 1 of ‘fprintf’ from incompatible pointer type [enabled by default] fprintf(fp2, "\n TOTAL: %14.2lf" ,ws_mamount1);
^
In file included from DFR010.c:188:0:
/usr/include/stdio.h:356:12: note: expected ‘struct FILE * __restrict__’ but argument is of type ‘char *’ extern int fprintf (FILE *__restrict __stream,
^
DFR010.c:2336:1: warning: passing argument 1 of ‘fprintf’ from incompatible pointer type [enabled by default]
fprintf(fp2,"\n --------- --------------------------------");
^
In file included from DFR010.c:188:0:
/usr/include/stdio.h:356:12: note: expected ‘struct FILE * __restrict__’ but argument is of type ‘char *’
extern int fprintf (FILE *__restrict __stream,
^
DFR010.c: In function ‘headprint’:
DFR010.c:2351:5: warning: passing argument 1 of ‘fprintf’ from incompatible pointer type [enabled by default]
fprintf(fp2,"\014");
^
In file included from DFR010.c:188:0:
/usr/include/stdio.h:356:12: note: expected ‘struct FILE * __restrict__’ but argument is of type ‘char *’ extern int fprintf (FILE *__restrict __stream,
^
DFR010.c:2353:2: warning: passing argument 1 of ‘fprintf’ from incompatible pointer type [enabled by default]
fprintf(fp2,"%\n %-50s Page :%d", mva_di vision.arr,pagecnt);
^
In file included from DFR010.c:188:0:
/usr/include/stdio.h:356:12: note: expected ‘struct FILE * __restrict__’ but argument is of type ‘char *’
extern int fprintf (FILE *__restrict __stream,
^
DFR010.c:2355:17: warning: passing argument 1 of ‘fprintf’ from incompatible pointer type [enabled by default]
trlbal_from.arr,trlbal_to.arr,mva_date.arr);
^
In file included from DFR010.c:188:0:
/usr/include/stdio.h:356:12: note: expected ‘struct FILE * __restrict__’ but argument is of type ‘char *’ extern int fprintf (FILE *__restrict __stream,
^
DFR010.c:2357:24: warning: passing argument 1 of ‘fprintf’ from incompatible pointer type [enabled by default]
ws_mamount);
^
In file included from DFR010.c:188:0:
/usr/include/stdio.h:356:12: note: expected ‘struct FILE * __restrict__’ but argument is of type ‘char *’
extern int fprintf (FILE *__restrict __stream,
^
DFR010.c:2361:2: warning: passing argument 1 of ‘fprintf’ from incompatible pointer type [enabled by default]
fprintf(fp2,"\n %d - FOR %-70s " ,ws_bankact ,w s_bankdesc.arr);
^
In file included from DFR010.c:188:0:
/usr/include/stdio.h:356:12: note: expected ‘struct FILE * __restrict__’ but argument is of type ‘char *’
extern int fprintf (FILE *__restrict __stream,
^
DFR010.c:2366:2: warning: passing argument 1 of ‘fprintf’ from incompatible pointer type [enabled by default]
fprintf(fp2,"\n %d - FOR %-70s" ,ws_accountno, ws_accoun tdesc.arr);
^
In file included from DFR010.c:188:0:
/usr/include/stdio.h:356:12: note: expected ‘struct FILE * __restrict__’ but argument is of type ‘char *’extern int fprintf (FILE *__restrict __stream,
^
DFR010.c:2369:2: warning: passing argument 1 of ‘fprintf’ from incompatible pointer type [enabled by default]
fprintf(fp2,"\n--------------------------------------------------------------- ---------------------------------");
^
In file included from DFR010.c:188:0:
/usr/include/stdio.h:356:12: note: expected ‘struct FILE * __restrict__’ but argument is of type ‘char *’
extern int fprintf (FILE *__restrict __stream,
^
DFR010.c:2370:2: warning: passing argument 1 of ‘fprintf’ from incompatible pointer type [enabled by default]
fprintf(fp2,"\n V CODE VR NO DATE VENDOR NAME AMOUNT CROSS A/C");
^
In file included from DFR010.c:188:0:
/usr/include/stdio.h:356:12: note: expected ‘struct FILE * __restrict__’ but argument is of type ‘char *’
extern int fprintf (FILE *__restrict __stream,
^
DFR010.c:2371:2: warning: passing argument 1 of ‘fprintf’ from incompatible pointer type [enabled by default]
fprintf(fp2,"\n--------------------------------------------------------------- ---------------------------------\n");
^
In file included from DFR010.c:188:0:
/usr/include/stdio.h:356:12: note: expected ‘struct FILE * __restrict__’ but argument is of type ‘char *’
extern int fprintf (FILE *__restrict __stream,
Issue - while compiling Pro C files during 12C migration
-I/usr/include -I/opt/Oracle/Middlewar e/Oracle_Home/precomp/public -I/opt/Oracle/Middleware/Oracle_Home/xdk/include -I /opt/Oracle/Middleware/Oracle_Home/lib -I/opt/Oracle/Middleware/Oracle_Home/lib -I/usr/lib/gcc/x86_64-redhat-linux/4.8.2/include/ -c DFR010.c
DFR010.c: In function ‘select_records’:
DFR010.c:2269:6: warning: passing argument 1 of ‘fprintf’ from incompatible pointer type [enabled by default]
fprintf(fp2," %-6s %-8s%-12s %-40s %14.2lf %d",ws_vendorno.arr, ws_voucherno.arr, ws_voucherdate.arr, ws_name.arr,ws_mamount1, ws_actno);
^
In file included from DFR010.c:188:0:
/usr/include/stdio.h:356:12: note: expected ‘struct FILE * __restrict__’ but argument is of type ‘char *’extern int fprintf (FILE *__restrict __stream,
^
DFR010.c:2271:6: warning: passing argument 1 of ‘fprintf’ from incompatible pointer type [enabled by default]
fprintf(fp2, "\n");
^
In file included from DFR010.c:188:0:
/usr/include/stdio.h:356:12: note: expected ‘struct FILE * __restrict__’ but argument is of type ‘char *’
extern int fprintf (FILE *__restrict __stream,
^
DFR010.c:2334:1: warning: passing argument 1 of ‘fprintf’ from incompatible pointer type [enabled by default] fprintf(fp2,"\n --------- --------------------------------");
^
In file included from DFR010.c:188:0:
/usr/include/stdio.h:356:12: note: expected ‘struct FILE * __restrict__’ but argument is of type ‘char *’
extern int fprintf (FILE *__restrict __stream,
^
DFR010.c:2335:1: warning: passing argument 1 of ‘fprintf’ from incompatible pointer type [enabled by default] fprintf(fp2, "\n TOTAL: %14.2lf" ,ws_mamount1);
^
In file included from DFR010.c:188:0:
/usr/include/stdio.h:356:12: note: expected ‘struct FILE * __restrict__’ but argument is of type ‘char *’ extern int fprintf (FILE *__restrict __stream,
^
DFR010.c:2336:1: warning: passing argument 1 of ‘fprintf’ from incompatible pointer type [enabled by default]
fprintf(fp2,"\n --------- --------------------------------");
^
In file included from DFR010.c:188:0:
/usr/include/stdio.h:356:12: note: expected ‘struct FILE * __restrict__’ but argument is of type ‘char *’
extern int fprintf (FILE *__restrict __stream,
^
DFR010.c: In function ‘headprint’:
DFR010.c:2351:5: warning: passing argument 1 of ‘fprintf’ from incompatible pointer type [enabled by default]
fprintf(fp2,"\014");
^
In file included from DFR010.c:188:0:
/usr/include/stdio.h:356:12: note: expected ‘struct FILE * __restrict__’ but argument is of type ‘char *’ extern int fprintf (FILE *__restrict __stream,
^
DFR010.c:2353:2: warning: passing argument 1 of ‘fprintf’ from incompatible pointer type [enabled by default]
fprintf(fp2,"%\n %-50s Page :%d", mva_di vision.arr,pagecnt);
^
In file included from DFR010.c:188:0:
/usr/include/stdio.h:356:12: note: expected ‘struct FILE * __restrict__’ but argument is of type ‘char *’
extern int fprintf (FILE *__restrict __stream,
^
DFR010.c:2355:17: warning: passing argument 1 of ‘fprintf’ from incompatible pointer type [enabled by default]
trlbal_from.arr,trlbal_to.arr,mva_date.arr);
^
In file included from DFR010.c:188:0:
/usr/include/stdio.h:356:12: note: expected ‘struct FILE * __restrict__’ but argument is of type ‘char *’ extern int fprintf (FILE *__restrict __stream,
^
DFR010.c:2357:24: warning: passing argument 1 of ‘fprintf’ from incompatible pointer type [enabled by default]
ws_mamount);
^
In file included from DFR010.c:188:0:
/usr/include/stdio.h:356:12: note: expected ‘struct FILE * __restrict__’ but argument is of type ‘char *’
extern int fprintf (FILE *__restrict __stream,
^
DFR010.c:2361:2: warning: passing argument 1 of ‘fprintf’ from incompatible pointer type [enabled by default]
fprintf(fp2,"\n %d - FOR %-70s " ,ws_bankact ,w s_bankdesc.arr);
^
In file included from DFR010.c:188:0:
/usr/include/stdio.h:356:12: note: expected ‘struct FILE * __restrict__’ but argument is of type ‘char *’
extern int fprintf (FILE *__restrict __stream,
^
DFR010.c:2366:2: warning: passing argument 1 of ‘fprintf’ from incompatible pointer type [enabled by default]
fprintf(fp2,"\n %d - FOR %-70s" ,ws_accountno, ws_accoun tdesc.arr);
^
In file included from DFR010.c:188:0:
/usr/include/stdio.h:356:12: note: expected ‘struct FILE * __restrict__’ but argument is of type ‘char *’extern int fprintf (FILE *__restrict __stream,
^
DFR010.c:2369:2: warning: passing argument 1 of ‘fprintf’ from incompatible pointer type [enabled by default]
fprintf(fp2,"\n--------------------------------------------------------------- ---------------------------------");
^
In file included from DFR010.c:188:0:
/usr/include/stdio.h:356:12: note: expected ‘struct FILE * __restrict__’ but argument is of type ‘char *’
extern int fprintf (FILE *__restrict __stream,
^
DFR010.c:2370:2: warning: passing argument 1 of ‘fprintf’ from incompatible pointer type [enabled by default]
fprintf(fp2,"\n V CODE VR NO DATE VENDOR NAME AMOUNT CROSS A/C");
^
In file included from DFR010.c:188:0:
/usr/include/stdio.h:356:12: note: expected ‘struct FILE * __restrict__’ but argument is of type ‘char *’
extern int fprintf (FILE *__restrict __stream,
^
DFR010.c:2371:2: warning: passing argument 1 of ‘fprintf’ from incompatible pointer type [enabled by default]
fprintf(fp2,"\n--------------------------------------------------------------- ---------------------------------\n");
^
In file included from DFR010.c:188:0:
/usr/include/stdio.h:356:12: note: expected ‘struct FILE * __restrict__’ but argument is of type ‘char *’
extern int fprintf (FILE *__restrict __stream,