This is the mail archive of the egcs-testresults@egcs.cygnus.com mailing list for the EGCS project. See the EGCS home page for more information.
Sources: - egcs mainline from CVS last updated at Sun Jan 31 15:37:59 1999; official snapshot tagged as egcs_ss_19990131 - libg++-2.8.1.2a-19981217 Patches: None. Environment: - GNU binutils 2.9.1.0.18 - autoconf-990109-mainline - automake-990115-mainline - dejagnu-980528 - gperf-2.7 with gperf-2.7-19981006 patch for -F - Linux kernel 2.2.1 (compiled by egcs-2.91.60) - glibc 2.0.7pre6 (compiled by egcs-2.91.60) Remarks: This fails with -funroll-all-loops in the BOOT_CFLAGS, ICEing in stage2 in tinfo.cc at the start of stddef.h. configure flags: --with-gnu-ld --with-gnu-as --prefix=/usr/packages.bin/egcs/snapshot --enable-shared --disable-haifa BOOT_CC: egcs-2.91.60 BOOT_CFLAGS: -W -Wall -g -march=pentium -mcpu=pentium -fomit-frame-pointer -O9 CFLAGS: -W -Wall -march=pentium -mcpu=pentium -fomit-frame-pointer -g -O9 CXXFLAGS: -W -Wall -march=pentium -mcpu=pentium -fomit-frame-pointer -g -O9 Native configuration is i586-pc-linux-gnu === libio tests === Running target unix === libio Summary === # of expected passes 40 === libstdc++ tests === Running target unix === libstdc++ Summary === # of expected passes 30 === libg++ tests === Running target unix === libg++ Summary === # of expected passes 72 === gcc tests === Running target unix FAIL: gcc.c-torture/execute/930603-1.c execution, -O0 FAIL: gcc.c-torture/execute/930603-1.c execution, -O1 FAIL: gcc.c-torture/execute/930603-1.c execution, -O2 FAIL: gcc.c-torture/execute/930603-1.c execution, -O2 -g FAIL: gcc.c-torture/execute/930603-1.c execution, -Os FAIL: gcc.c-torture/execute/990119-1.c execution, -O0 FAIL: gcc.c-torture/execute/990119-1.c execution, -O1 FAIL: gcc.c-torture/execute/990119-1.c execution, -O2 FAIL: gcc.c-torture/execute/990119-1.c execution, -O2 -fomit-frame-pointer -finline-functions FAIL: gcc.c-torture/execute/990119-1.c execution, -O2 -g FAIL: gcc.c-torture/execute/990119-1.c execution, -Os FAIL: gcc.c-torture/execute/990128-1.c execution, -O2 FAIL: gcc.c-torture/execute/990128-1.c execution, -O2 -fomit-frame-pointer -finline-functions FAIL: gcc.c-torture/execute/990128-1.c execution, -O2 -fomit-frame-pointer -finline-functions -funroll-loops FAIL: gcc.c-torture/execute/990128-1.c execution, -O2 -fomit-frame-pointer -finline-functions -funroll-all-loops FAIL: gcc.c-torture/execute/990128-1.c execution, -O2 -g FAIL: gcc.c-torture/execute/990128-1.c execution, -Os FAIL: gcc.c-torture/execute/loop-2f.c execution, -O2 FAIL: gcc.c-torture/execute/loop-2f.c execution, -O2 -fomit-frame-pointer -finline-functions FAIL: gcc.c-torture/execute/loop-2f.c execution, -O2 -fomit-frame-pointer -finline-functions -funroll-loops FAIL: gcc.c-torture/execute/loop-2f.c execution, -O2 -fomit-frame-pointer -finline-functions -funroll-all-loops FAIL: gcc.c-torture/execute/loop-2f.c execution, -O2 -g FAIL: gcc.c-torture/execute/loop-2f.c execution, -Os FAIL: gcc.c-torture/execute/loop-2g.c execution, -O2 FAIL: gcc.c-torture/execute/loop-2g.c execution, -O2 -fomit-frame-pointer -finline-functions FAIL: gcc.c-torture/execute/loop-2g.c execution, -O2 -fomit-frame-pointer -finline-functions -funroll-loops FAIL: gcc.c-torture/execute/loop-2g.c execution, -O2 -fomit-frame-pointer -finline-functions -funroll-all-loops FAIL: gcc.c-torture/execute/loop-2g.c execution, -O2 -g FAIL: gcc.c-torture/execute/loop-2g.c execution, -Os FAIL: gcc.c-torture/execute/ieee/980619-1.c execution, -O1 FAIL: gcc.c-torture/execute/ieee/980619-1.c execution, -O2 FAIL: gcc.c-torture/execute/ieee/980619-1.c execution, -O2 -fomit-frame-pointer -finline-functions FAIL: gcc.c-torture/execute/ieee/980619-1.c execution, -O2 -fomit-frame-pointer -finline-functions -funroll-loops FAIL: gcc.c-torture/execute/ieee/980619-1.c execution, -O2 -fomit-frame-pointer -finline-functions -funroll-all-loops FAIL: gcc.c-torture/execute/ieee/980619-1.c execution, -O2 -g FAIL: gcc.c-torture/execute/ieee/980619-1.c execution, -Os FAIL: gcc.c-torture/execute/memcheck/blkarg.c execution, -O0 FAIL: gcc.c-torture/execute/memcheck/blkarg.c execution, -O1 FAIL: gcc.c-torture/execute/memcheck/blkarg.c execution, -O2 FAIL: gcc.c-torture/execute/memcheck/blkarg.c execution, -O2 -fomit-frame-pointer -finline-functions FAIL: gcc.c-torture/execute/memcheck/blkarg.c execution, -O2 -g FAIL: gcc.c-torture/execute/memcheck/blkarg.c execution, -Os FAIL: gcc.c-torture/noncompile/951227-1.c FAIL: gcc.c-torture/special/981006-1.c (test for bogus messages, line 11) FAIL: gcc.c-torture/special/981006-1.c (test for bogus messages, line 12) FAIL: gcc.dg/990117-1.c (test for excess errors) FAIL: gcc.dg/990130-1.c (test for excess errors) FAIL: gcc.dg/cpp-if1.c invalid number (test for errors, line 12) FAIL: gcc.dg/cpp-if1.c invalid number (test for errors, line 15) FAIL: gcc.dg/cpp-if1.c invalid number (test for errors, line 18) FAIL: gcc.dg/cpp-if1.c floating point in #if (test for errors, line 21) FAIL: gcc.dg/cpp-if1.c too many suffixes (test for errors, line 24) FAIL: gcc.dg/cpp-if1.c too many suffixes (test for errors, line 27) FAIL: gcc.dg/cpp-if1.c (test for excess errors) FAIL: gcc.misc-tests/m-un-2.c warning regression (test for warnings, line 18) FAIL: gcc.misc-tests/m-un-2.c warning regression (test for warnings, line 23) FAIL: gcc.misc-tests/m-un-2.c (test for excess errors) === gcc Summary === # of expected passes 7923 # of unexpected failures 57 # of expected failures 13 # of unsupported tests 12 /usr/.egcs-snapshot/i586-pc-linux-gnu/gcc/xgcc version egcs-2.93.04 19990131 (gcc2 ss-980929 experimental) === g++ tests === Running target unix FAIL: g++.ns/template6.C (test for excess errors) FAIL: g++.robertl/eb83.C caused compiler crash === g++ Summary === # of expected passes 4835 # of unexpected failures 2 # of expected failures 90 # of untested testcases 7 /usr/.egcs-snapshot/i586-pc-linux-gnu/gcc/testsuite/../xgcc version egcs-2.93.04 19990131 (gcc2 ss-980929 experimental) === g77 tests === Running target unix FAIL: g77.f-torture/execute/auto0.f execution, -O2 -fomit-frame-pointer -finline-functions -funroll-loops FAIL: g77.f-torture/execute/auto0.f execution, -O2 -fomit-frame-pointer -finline-functions -funroll-all-loops FAIL: g77.f-torture/execute/auto1.f execution, -O2 -fomit-frame-pointer -finline-functions -funroll-loops FAIL: g77.f-torture/execute/auto1.f execution, -O2 -fomit-frame-pointer -finline-functions -funroll-all-loops === g77 Summary === # of expected passes 468 # of unexpected failures 4 === objc tests === Running target unix FAIL: objc/execute/bf-1.m execution, -O FAIL: objc/execute/bf-10.m execution, -O FAIL: objc/execute/bf-11.m execution, -O FAIL: objc/execute/bf-12.m execution, -O FAIL: objc/execute/bf-13.m execution, -O FAIL: objc/execute/bf-14.m execution, -O FAIL: objc/execute/bf-15.m execution, -O FAIL: objc/execute/bf-16.m execution, -O FAIL: objc/execute/bf-17.m execution, -O FAIL: objc/execute/bf-18.m execution, -O FAIL: objc/execute/bf-19.m execution, -O FAIL: objc/execute/bf-2.m execution, -O FAIL: objc/execute/bf-3.m execution, -O FAIL: objc/execute/bf-4.m execution, -O FAIL: objc/execute/bf-5.m execution, -O FAIL: objc/execute/bf-6.m execution, -O FAIL: objc/execute/bf-7.m execution, -O FAIL: objc/execute/bf-8.m execution, -O FAIL: objc/execute/bf-9.m execution, -O === objc Summary === # of expected passes 19 # of unexpected failures 19 /usr/.egcs-snapshot/i586-pc-linux-gnu/gcc/xgcc version egcs-2.93.04 19990131 (gcc2 ss-980929 experimental) Compiler version: haifa-disabled egcs-2.93.04 19990131 (gcc2 ss-980929 experimental) Platform: i586-pc-linux-gnu configure flags: --with-gcc-version-trigger=/usr/packages/egcs/egcs/snapshot/egcs/gcc/version.c --host=i586-pc-linux-gnu --with-gnu-ld --with-gnu-as --prefix=/usr/packages.bin/egcs/snapshot --enable-shared --disable-haifa --norecursion BOOT_CFLAGS=-W -Wall -g -march=pentium -mcpu=pentium -fomit-frame-pointer -O9 Counting all warnings, there are 451 warnings in stage3 of this bootstrap. Number of warnings per file: 43 ../../egcs/gcc/toplev.c 22 ../../../egcs/gcc/java/lex.c 20 ../../../egcs/gcc/java/jcf-parse.c 16 ../../../egcs/gcc/java/jcf-reader.c 15 ../../egcs/gcc/objc/objc-act.c 14 ./parse.y 13 ../../egcs/gcc/varasm.c 13 ../../../egcs/gcc/java/jcf-write.c 12 ../../egcs/gcc/cse.c 12 ../../../egcs/gcc/java/jcf-dump.c 12 ../../../egcs/gcc/java/javaop.def 11 ../../../egcs/gcc/java/expr.c 10 ../../egcs/gcc/reload1.c 10 ../../egcs/gcc/fold-const.c 9 ../../egcs/gcc/final.c 8 ../../egcs/gcc/loop.c 8 ../../egcs/gcc/integrate.c 8 ../../egcs/gcc/dwarf2out.c 8 ../../egcs/gcc/combine.c 8 ../../../egcs/gcc/java/gjavah.c 8 ../../../egcs/gcc/java/class.c 7 pexecute.c 7 ../../egcs/gcc/cccp.c 7 ../../egcs/gcc/c-lex.c 6 ../../egcs/gcc/reload.c 6 ../../egcs/gcc/protoize.c 6 ../../egcs/gcc/optabs.c 6 ../../egcs/gcc/expr.c 6 ../../../egcs/gcc/cp/lex.c 5 ../../egcs/gcc/unroll.c 5 ../../egcs/gcc/reg-stack.c 5 ../../egcs/gcc/collect2.c 5 ../../../egcs/gcc/java/verify.c 4 cexp.y 4 ../../egcs/gcc/system.h 4 ../../egcs/gcc/sched.c 4 ../../egcs/gcc/intl.h 4 ../../egcs/gcc/expmed.c 4 ../../egcs/gcc/dbxout.c 3 insn-emit.c 3 gcj.c 3 g77.c 3 g++.c 3 ../../egcs/gcc/stmt.c 3 ../../egcs/gcc/rtl.c 3 ../../egcs/gcc/regmove.c 3 ../../egcs/gcc/regclass.c 3 ../../egcs/gcc/local-alloc.c 3 ../../egcs/gcc/genopinit.c 3 ../../egcs/gcc/gcc.c 3 ../../egcs/gcc/config/i386/i386.c 3 ../../../egcs/gcc/java/parse.h 3 ../../../egcs/gcc/java/lex.h 2 insn-recog.c 2 insn-output.c 2 ../../egcs/gcc/gcov.c 2 ../../egcs/gcc/function.c 2 ../../egcs/gcc/flow.c 2 ../../egcs/gcc/c-decl.c 1 splay-tree.c 1 cxxmain.c 1 cplus-dem.c 1 choose-temp.c 1 ./parse-scan.y 1 ../../egcs/gcc/tree.c 1 ../../egcs/gcc/tlink.c 1 ../../egcs/gcc/stupid.c 1 ../../egcs/gcc/print-rtl.c 1 ../../egcs/gcc/java/jvspec.c 1 ../../egcs/gcc/hash.c 1 ../../egcs/gcc/graph.c 1 ../../egcs/gcc/f/g77spec.c 1 ../../egcs/gcc/explow.c 1 ../../egcs/gcc/except.c 1 ../../egcs/gcc/crtstuff.c 1 ../../egcs/gcc/calls.c 1 ../../../egcs/gcc/java/typeck.c 1 ../../../egcs/gcc/java/jvgenmain.c 1 ../../../egcs/gcc/java/jcf-io.c 1 ../../../egcs/gcc/java/decl.c 1 ../../../egcs/gcc/java/constants.c Number of warning types: 136 `???' might be used uninitialized in this function 72 unused parameter `???' 52 implicit declaration of function `???' 33 variable `???' might be clobbered by `longjmp' or `vfork' 30 comparison between signed and unsigned 22 statement with no effect 21 unused variable `???' 16 missing initializer 16 (near initialization for `???') 14 ??? format, ??? arg (arg ???) 8 initialization from incompatible pointer type 6 `???' declared `static' but never defined 5 argument `???' might be clobbered by `longjmp' or `vfork' 4 this is the location of the previous definition 4 `???' redefined 3 control reaches end of non-void function 2 zero-length format string 2 `???' defined but not used 1 value computed is not used 1 suggest explicit braces to avoid ambiguous `else' 1 passing arg ??? of `???' from incompatible pointer type 1 passing arg ??? of `???' discards qualifiers from pointer target type 1 label `???' defined but not used Counting all warnings, there are 708 warnings in stage0 of this bootstrap. Number of warnings per file: 126 ../../../egcs/texinfo/makeinfo/makeinfo.c 114 ../../../../egcs/libg++/src/bitdo2.h 60 ../../../egcs/libchill/format.c 25 ../../../../egcs/libf2c/libI77/rsne.c 22 ../../../egcs/libio/stdstreams.cc 14 ../../../egcs/libobjc/thr-single.c 14 ../../../egcs/libiberty/pexecute.c 14 ../../../../egcs/libf2c/libI77/lread.c 14 ../../../../egcs/libf2c/libI77/inquire.c 13 ../../../egcs/texinfo/makeinfo/multi.c 13 ../../../egcs/libobjc/archive.c 12 ../../egcs/libiberty/pexecute.c 12 ../../../../egcs/libg++/src/bitblt.c 8 ../../egcs/libiberty/floatformat.c 8 ../../../egcs/libio/iostream.cc 8 ../../../egcs/libiberty/floatformat.c 8 ../../../egcs/libchill/basicio.c 8 ../../../../egcs/libf2c/libI77/rdfmt.c 6 ../../../egcs/libchill/chillstdio.c 6 ../../../../egcs/libf2c/libI77/wref.c 6 ../../../../egcs/libf2c/libI77/open.c 6 ../../../../egcs/libf2c/libI77/iio.c 6 ../../../../egcs/libf2c/libI77/fmt.c 6 ../../../../egcs/libf2c/libF77/qbitbits.c 6 ../../../../egcs/libf2c/libF77/lbitbits.c 5 ../../../egcs/texinfo/util/install-info.c 5 ../../../egcs/libchill/waitbuffer.c 5 ../../../egcs/libchill/setbits.c 5 ../../../../egcs/libf2c/libI77/rsfe.c 5 ../../../../egcs/libf2c/libI77/dfe.c 4 ../../../egcs/texinfo/util/texindex.c 4 ../../../egcs/libobjc/sarray.c 4 ../../../egcs/libobjc/gc.c 4 ../../../egcs/libobjc/encoding.c 4 ../../../egcs/libchill/sendbuffer.c 4 ../../../egcs/libchill/ffsetclrps.c 4 ../../../egcs/libchill/cause.c 4 ../../../../egcs/libg++/src/Fix16.cc 3 ../../../egcs/libobjc/Object.m 3 ../../../egcs/libchill/readrecord.c 3 ../../../egcs/libchill/delaycase.c 3 ../../../egcs/libchill/concatps.c 3 ../../../../egcs/libf2c/libI77/wrtfmt.c 3 ../../../../egcs/libf2c/libI77/uio.c 3 ../../../../egcs/libf2c/libI77/sue.c 3 ../../../../egcs/libf2c/libI77/lwrite.c 3 ../../../../egcs/libf2c/libI77/err.c 3 ../../../../egcs/libf2c/libI77/due.c 3 ../../../../egcs/libf2c/libF77/main.c 2 ../../egcs/libiberty/splay-tree.c 2 ../../egcs/libiberty/cplus-dem.c 2 ../../egcs/libiberty/choose-temp.c 2 ../../../egcs/libobjc/sendmsg.c 2 ../../../egcs/libobjc/selector.c 2 ../../../egcs/libobjc/init.c 2 ../../../egcs/libio/stream.cc 2 ../../../egcs/libiberty/splay-tree.c 2 ../../../egcs/libiberty/cplus-dem.c 2 ../../../egcs/libiberty/choose-temp.c 2 ../../../egcs/libchill/writerecord.c 2 ../../../egcs/libchill/unhex.c 2 ../../../egcs/libchill/rtsdummy.c 2 ../../../egcs/libchill/retmem.c 2 ../../../egcs/libchill/allgmem.c 2 ../../../../egcs/libf2c/libU77/unlink_.c 2 ../../../../egcs/libf2c/libU77/symlnk_.c 2 ../../../../egcs/libf2c/libU77/stat_.c 2 ../../../../egcs/libf2c/libU77/rename_.c 2 ../../../../egcs/libf2c/libU77/lstat_.c 2 ../../../../egcs/libf2c/libU77/link_.c 2 ../../../../egcs/libf2c/libU77/ctime_.c 2 ../../../../egcs/libf2c/libU77/chmod_.c 2 ../../../../egcs/libf2c/libU77/chdir_.c 2 ../../../../egcs/libf2c/libU77/access_.c 2 ../../../../egcs/libf2c/libI77/rsli.c 2 ../../../../egcs/libf2c/libI77/endfile.c 1 ../../../egcs/libobjc/nil_method.c 1 ../../../egcs/libf2c/f2cext.c 1 ../../../egcs/libchill/settextindex.c 1 ../../../egcs/libchill/setbitps.c 1 ../../../egcs/libchill/printevent.c 1 ../../../egcs/libchill/printbuffer.c 1 ../../../egcs/libchill/neps.c 1 ../../../egcs/libchill/inps.c 1 ../../../egcs/libchill/inbitstr.c 1 ../../../egcs/libchill/flsetps.c 1 ../../../egcs/libchill/ffsetps.c 1 ../../../egcs/libchill/continue.c 1 ../../../egcs/libchill/concatstr.c 1 ../../../egcs/libchill/chillrt0.c 1 ../../../../egcs/libf2c/libU77/vxttime_.c 1 ../../../../egcs/libf2c/libU77/fputc_.c 1 ../../../../egcs/libf2c/libU77/etime_.c 1 ../../../../egcs/libf2c/libU77/dtime_.c 1 ../../../../egcs/libf2c/libI77/wsne.c 1 ../../../../egcs/libf2c/libI77/wsle.c 1 ../../../../egcs/libf2c/libI77/wsfe.c 1 ../../../../egcs/libf2c/libI77/sfe.c 1 ../../../../egcs/libf2c/libF77/system_.c 1 ../../../../egcs/libf2c/libF77/s_rnge.c 1 ../../../../egcs/libf2c/libF77/i_len.c 1 ../../../../egcs/libf2c/libF77/h_len.c 1 ../../../../egcs/libf2c/libF77/getenv_.c 1 ../../../../egcs/libf2c/libF77/ef1asc_.c 1 ../../../../egcs/libf2c/libF77/abort_.c Number of warning types: 101 enumeration value `???' not handled in switch 90 suggest parentheses around arithmetic in operand of ^ 87 comparison between signed and unsigned 85 unused parameter `???' 50 suggest parentheses around assignment used as truth value 48 unused variable `???' 40 `???' might be used uninitialized in this function 39 return-type defaults to `int' 36 implicit declaration of function `???' 21 array subscript has type `char' 18 variable `???' might be clobbered by `longjmp' or `vfork' 18 missing initializer for member `???' 17 suggest explicit braces to avoid ambiguous `else' 10 suggest parentheses around + or - inside shift 10 `???' defined but not used 5 suggest parentheses around arithmetic in operand of | 5 control reaches end of non-void function 4 suggest parentheses around + or - in operand of & 4 label `???' defined but not used 4 integer overflow in expression 3 suggest parentheses around && within || 3 missing initializer 3 (near initialization for `???') 2 type of `???' defaults to `int' 2 missing initializer for `???' 2 ??? format, ??? arg (arg ???) 1 type defaults to `int' in declaration of `???' Counting non-subdirectory warnings, there are 292 warnings in stage3 of this bootstrap. Number of warnings per file: 43 ../../egcs/gcc/toplev.c 15 ../../egcs/gcc/objc/objc-act.c 13 ../../egcs/gcc/varasm.c 12 ../../egcs/gcc/cse.c 10 ../../egcs/gcc/reload1.c 10 ../../egcs/gcc/fold-const.c 9 ../../egcs/gcc/final.c 8 ../../egcs/gcc/loop.c 8 ../../egcs/gcc/integrate.c 8 ../../egcs/gcc/dwarf2out.c 8 ../../egcs/gcc/combine.c 7 pexecute.c 7 ../../egcs/gcc/cccp.c 7 ../../egcs/gcc/c-lex.c 6 ../../egcs/gcc/reload.c 6 ../../egcs/gcc/protoize.c 6 ../../egcs/gcc/optabs.c 6 ../../egcs/gcc/expr.c 5 ../../egcs/gcc/unroll.c 5 ../../egcs/gcc/reg-stack.c 5 ../../egcs/gcc/collect2.c 4 cexp.y 4 ../../egcs/gcc/system.h 4 ../../egcs/gcc/sched.c 4 ../../egcs/gcc/intl.h 4 ../../egcs/gcc/expmed.c 4 ../../egcs/gcc/dbxout.c 3 insn-emit.c 3 gcj.c 3 g77.c 3 g++.c 3 ../../egcs/gcc/stmt.c 3 ../../egcs/gcc/rtl.c 3 ../../egcs/gcc/regmove.c 3 ../../egcs/gcc/regclass.c 3 ../../egcs/gcc/local-alloc.c 3 ../../egcs/gcc/genopinit.c 3 ../../egcs/gcc/gcc.c 3 ../../egcs/gcc/config/i386/i386.c 2 insn-recog.c 2 insn-output.c 2 ../../egcs/gcc/gcov.c 2 ../../egcs/gcc/function.c 2 ../../egcs/gcc/flow.c 2 ../../egcs/gcc/c-decl.c 1 splay-tree.c 1 cxxmain.c 1 cplus-dem.c 1 choose-temp.c 1 ../../egcs/gcc/tree.c 1 ../../egcs/gcc/tlink.c 1 ../../egcs/gcc/stupid.c 1 ../../egcs/gcc/print-rtl.c 1 ../../egcs/gcc/java/jvspec.c 1 ../../egcs/gcc/hash.c 1 ../../egcs/gcc/graph.c 1 ../../egcs/gcc/f/g77spec.c 1 ../../egcs/gcc/explow.c 1 ../../egcs/gcc/except.c 1 ../../egcs/gcc/crtstuff.c 1 ../../egcs/gcc/calls.c Number of warning types: 113 `???' might be used uninitialized in this function 50 unused parameter `???' 21 comparison between signed and unsigned 20 statement with no effect 16 missing initializer 16 (near initialization for `???') 15 variable `???' might be clobbered by `longjmp' or `vfork' 10 implicit declaration of function `???' 8 initialization from incompatible pointer type 5 argument `???' might be clobbered by `longjmp' or `vfork' 4 unused variable `???' 4 this is the location of the previous definition 4 `???' redefined 2 zero-length format string 2 `???' defined but not used 1 suggest explicit braces to avoid ambiguous `else' 1 passing arg ??? of `???' from incompatible pointer type