===> Building for hugs98-200609nb1 cd src; /opt/pkg/bin/gmake all gmake[1]: Entering directory '/Users/pbulk/build/lang/hugs/work/hugs98-Sep2006/src' clang -c -DNDEBUG=1 -pipe -Os -I/opt/pkg/include/ncurses -no-cpp-precomp -O2 hugs.c hugs.c:77:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local initialize(argc,argv) ^ hugs.c:207:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int main(argc,argv) ^ hugs.c:312:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local expandPath(origPath,expandedPath,maxLen) ^ hugs.c:570:21: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static String local objToStr(m,c) ^ hugs.c:659:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local describe(t) /* describe an object */ ^ hugs.c:820:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local printSyntax(nm) ^ hugs.c:842:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local showInst(in) /* Display instance decl header */ ^ hugs.c:900:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Void promptForInput(moduleName) ^ hugs.c:956:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local interpreter(argc,argv)/* main interpreter loop */ ^ 9 warnings generated. clang -c -DNDEBUG=1 -pipe -Os -I/opt/pkg/include/ncurses -no-cpp-precomp -O2 edit.c edit.c:10:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Bool startEdit(line,nm) /* Start editor on file name at */ ^ 1 warning generated. clang -c -DNDEBUG=1 -pipe -Os -I/opt/pkg/include/ncurses -no-cpp-precomp -O2 observe.c observe.c:32:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void breakDialogue(s) ^ 1 warning generated. clang -c -DNDEBUG=1 -pipe -Os -I/opt/pkg/include/ncurses -no-cpp-precomp -O2 builtin.c builtin.c:644:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primFatbar) { /* Fatbar primitive */ ^ builtin.c:655:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primFail) { /* Failure primitive */ ^ builtin.c:659:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primBlackHole) { ^ builtin.c:663:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primIndirect) { ^ builtin.c:667:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primCatchError) { /* Error catching primitive */ ^ builtin.c:677:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primThrowException) { /* Failure primitive */ ^ builtin.c:686:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primCatchException) { /* Error catching primitive */ ^ builtin.c:696:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primSel) { /* Component selection */ ^ builtin.c:704:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primIf) { /* Conditional primitive */ ^ builtin.c:713:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primStrict) { /* Strict application primitive */ ^ builtin.c:718:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primSeq) { /* Strict sequencing primitive */ ^ builtin.c:723:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primConCmp) { /* compare constructors */ ^ builtin.c:730:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primEnRange) { /* derived range for enum type */ ^ builtin.c:735:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primEnIndex) { /* derived index for enum type */ ^ builtin.c:749:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primEnInRng) { /* derived inRange for enum type */ ^ builtin.c:758:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primEnToEn) { /* derived toEnum for enum type */ ^ builtin.c:772:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primEnFrEn) { /* derived fromEnum for enum type */ ^ builtin.c:778:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primEnFrom) { /* derived enumFrom for enum type */ ^ builtin.c:787:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primEnFrTo) { /* derived enumFromTo for enum type*/ ^ builtin.c:806:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primEnFrTh) { /* derived enumFromThen for enum ty*/ ^ builtin.c:831:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CAFInt(primMinInt,MINNEGINT) /* minimum integer CAF */ ^ builtin.c:832:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CAFInt(primMaxInt,MAXPOSINT) /* maximum integer CAF */ ^ builtin.c:833:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IntInt2Int(primPlusInt,x+y) /* Integer addition primitive */ ^ builtin.c:834:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IntInt2Int(primMinusInt,x-y) /* Integer subtraction primitive */ ^ builtin.c:835:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IntInt2Int(primMulInt,x*y) /* Integer multiplication primitive */ ^ builtin.c:836:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Int2Int(primNegInt,-x) /* Integer negation primitive */ ^ builtin.c:837:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IntInt2IntNonZero(primQuotInt,x/y) /* Integer division primitive */ ^ builtin.c:839:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IntInt2IntNonZero(primRemInt,x%y) /* Integer remainder primitive */ ^ builtin.c:846:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primQrmInt) { /* Integer quotient and remainder */ ^ builtin.c:855:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primDivInt) { /* Integer division primitive */ ^ builtin.c:868:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primModInt) { /* Integer modulo primitive */ ^ builtin.c:883:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IntInt2Int(primAndInt,x&y) ^ builtin.c:884:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IntInt2Int(primOrInt, x|y) ^ builtin.c:885:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IntInt2Int(primXorInt,(x&~y) | (~x&y)) ^ builtin.c:886:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Int2Int(primComplementInt,~x) ^ builtin.c:887:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Int2Int(primBitInt, 1<> y) & 1) ^ builtin.c:890:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primShiftInt) { ^ builtin.c:906:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CAFWord(primMaxWord,MAXHUGSWORD) /* maximum integer CAF */ ^ builtin.c:907:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] WordWord2Word(primPlusWord,x+y) /* Word addition primitive */ ^ builtin.c:908:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] WordWord2Word(primMinusWord,x-y) /* Word subtraction primitive */ ^ builtin.c:909:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Word2Word(primNegateWord,-(Int)x) /* Word negation (modulo MAXWORD) */ ^ builtin.c:910:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] WordWord2Word(primMulWord,x*y) /* Word multiplication primitive */ ^ builtin.c:911:22: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] WordWord2WordNonZero(primQuotWord,x/y) /* Word division primitive */ ^ builtin.c:913:22: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] WordWord2WordNonZero(primDivWord,x/y) /* Word division primitive */ ^ builtin.c:915:22: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] WordWord2WordNonZero(primRemWord,x%y) /* Word remainder primitive */ ^ builtin.c:916:22: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] WordWord2WordNonZero(primModWord,x%y) /* Word modulo primitive */ ^ builtin.c:923:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primQrmWord) { /* Integer quotient and remainder */ ^ builtin.c:932:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] WordWord2Word(primAndWord,x&y) ^ builtin.c:933:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] WordWord2Word(primOrWord, x|y) ^ builtin.c:934:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] WordWord2Word(primXorWord,(x&~y) | (~x&y)) ^ builtin.c:935:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Word2Word(primComplementWord,~x) ^ builtin.c:936:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Int2Word(primBitWord, 1<> y) & 1) ^ builtin.c:939:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primShiftWord) { ^ builtin.c:953:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primRotateWord) { ^ builtin.c:967:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Int2Int(primItoI8, x&0xff) ^ builtin.c:968:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Int2Int(primItoI16, x&0xffff) ^ builtin.c:969:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Int2Int(primItoI32, x&0xffffffff) ^ builtin.c:971:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Int2Int(primI8toI, (Int8)x) /* casts used to cause sign extension */ ^ builtin.c:972:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Int2Int(primI16toI, (Int16)x) /* casts used to cause sign extension */ ^ builtin.c:973:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Int2Int(primI32toI, x) ^ builtin.c:975:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Word2Word(primWtoW8, x&0xff) ^ builtin.c:976:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Word2Word(primWtoW16, x&0xffff) ^ builtin.c:977:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Word2Word(primWtoW32, x&0xffffffff) ^ builtin.c:979:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Word2Word(primW8toW, x) ^ builtin.c:980:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Word2Word(primW16toW, x) ^ builtin.c:981:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Word2Word(primW32toW, x) ^ builtin.c:983:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primI64toI32) { ^ builtin.c:991:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primI32toI64) { ^ builtin.c:998:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primW64toW32) { ^ builtin.c:1006:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primW32toW64) { ^ In file included from builtin.c:1020: ./bignums.c:72:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void bignumControl(what) ^ ./bignums.c:112:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Bignum bigInt(n) /* convert Int to bignum */ ^ ./bignums.c:134:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Bignum bigWord(n) /* convert Word to bignum */ ^ ./bignums.c:150:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Bignum bigDouble(a) /* convert double to bignum */ ^ ./bignums.c:187:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Cell bigToInt(n) /* convert bignum to Int */ ^ ./bignums.c:223:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] double bigToDouble(n) /* convert bignum to double */ ^ ./bignums.c:239:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Bignum bigStr(s) /* convert String to bignum */ ^ ./bignums.c:265:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Cell bigOut(a,s,b) /* bignum output, prepend digits to*/ ^ ./bignums.c:302:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Bignum bigShift(big,c,mult) /* Digits 0 <= c, mult < BIGBASE */ ^ ./bignums.c:326:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primIntToInteger) { /* Conversion :: Int -> Integer */ ^ ./bignums.c:331:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primIntegerToInt) { /* Conversion :: Integer -> Int */ ^ ./bignums.c:351:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primWordToInteger) { /* Conversion :: Word -> Integer */ ^ ./bignums.c:356:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primIntegerToWord) { /* Conversion :: Integer -> Word */ ^ ./bignums.c:365:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primIntegerToFloat) { /* Conversion :: Integer -> Float */ ^ ./bignums.c:370:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primIntegerToDouble) { /* Conversion :: Integer -> Double */ ^ ./bignums.c:375:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primNegInteger) { /* Integer unary negate */ ^ ./bignums.c:380:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Bignum bigNeg(a) /* unary negation */ ^ ./bignums.c:392:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primEqInteger) { /* Integer equality test */ ^ ./bignums.c:399:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primCmpInteger) { /* Integer comparison */ ^ ./bignums.c:410:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Int bigCmp(a,b) /* Compare bignums returning: */ ^ ./bignums.c:426:18: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Int local digitsCmp(xs,ys) /* Compare positive digit streams */ ^ ./bignums.c:444:21: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Bignum local bigAdd(a,b) /* Bignum addition */ ^ ./bignums.c:462:21: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Bignum local bigSub(a,b) /* Bignum subtraction */ ^ ./bignums.c:480:21: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Bignum local digitsAdd(sign,xs,ys)/* Addition of digit streams */ ^ ./bignums.c:523:21: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Bignum local digitsSub(xs,ys) /* Subtraction of digit streams */ ^ ./bignums.c:585:21: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Bignum local bigMul(a,b) /* Bignum multiply */ ^ ./bignums.c:619:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Cell local bigQrm(a,b) /* bignum quotient and remainder */ ^ ./bignums.c:642:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static List local digitsQrm(us,vs) /* digits quotient and remainder */ ^ ./bignums.c:965:21: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] BignumBignum2Bignum(primPlusInteger,bigAdd(x,y)) /* Integer addition */ ^ ./bignums.c:966:21: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] BignumBignum2Bignum(primMinusInteger,bigSub(x,y)) /* Integer subtraction */ ^ ./bignums.c:967:21: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] BignumBignum2Bignum(primMulInteger,bigMul(x,y)) /* Integer multiply */ ^ ./bignums.c:969:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primQrmInteger) { /* Integer quotient and remainder */ ^ builtin.c:1027:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Char2Int(primCharToInt,x) /* Character to integer primitive */ ^ builtin.c:1029:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primIntToChar) { /* Integer to character primitive */ ^ builtin.c:1037:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primWordToInt) { /* Word to integer primitive */ ^ builtin.c:1043:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primIntToWord) { /* Integer to word primitive */ ^ builtin.c:1049:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primIntToFloat) { /* Integer to Float primitive */ ^ builtin.c:1055:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primIntToDouble) { /* Integer to Double primitive */ ^ builtin.c:1061:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primDummyCvt) { /* dummy (identity) conversion */ ^ builtin.c:1065:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primRationalToFloat) { ^ builtin.c:1094:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primRationalToDouble) { ^ builtin.c:1126:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primFloatToDouble) { ^ builtin.c:1132:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primDoubleToFloat) { ^ builtin.c:1138:18: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FloatFloat2Float(primPlusFloat,x+y) /* Float addition primitive */ ^ builtin.c:1139:18: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FloatFloat2Float(primMinusFloat,x-y) /* Float subtraction primitive */ ^ builtin.c:1140:18: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FloatFloat2Float(primMulFloat,x*y) /* Float multiplication primitive */ ^ builtin.c:1141:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Float2Float(primNegFloat,-x) /* Float negation primitive */ ^ builtin.c:1142:18: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FloatFloat2Float(primDivFloat,x/y) /* Float division primitive */ ^ builtin.c:1144:21: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DoubleDouble2Double(primPlusDouble,x+y) /* Double addition primitive */ ^ builtin.c:1145:21: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DoubleDouble2Double(primMinusDouble,x-y)/* Double subtraction primitive */ ^ builtin.c:1146:21: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DoubleDouble2Double(primMulDouble,x*y) /* Double multiplication primitive */ ^ builtin.c:1147:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Double2Double(primNegDouble,-x) /* Double negation primitive */ ^ builtin.c:1148:21: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DoubleDouble2Double(primDivDouble,x/y) /* Double division primitive */ ^ builtin.c:1151:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Float2Float(primSinFloat,sin(x)) /* Float sin (trig) primitive */ ^ builtin.c:1152:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Float2Float(primCosFloat,cos(x)) /* Float cos (trig) primitive */ ^ builtin.c:1153:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Float2Float(primTanFloat,tan(x)) /* Float tan (trig) primitive */ ^ builtin.c:1154:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Float2Float(primAsinFloat,asin(x)) /* Float arc sin (trig) primitive */ ^ builtin.c:1155:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Float2Float(primAcosFloat,acos(x)) /* Float arc cos (trig) primitive */ ^ builtin.c:1156:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Float2Float(primAtanFloat,atan(x)) /* Float arc tan (trig) primitive */ ^ builtin.c:1161:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Float2Float(primExpFloat,exp(x)) /* Float exponential primitive */ ^ builtin.c:1162:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Float2FloatPre(primLogFloat,log(x),x>0)/* Float logarithm primitive */ ^ builtin.c:1163:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Float2FloatPre(primSqrtFloat,sqrt(x),x>=0) /* Float square root primitive */ ^ builtin.c:1165:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Double2Double(primSinDouble,sin(x)) /* Double sin (trig) primitive */ ^ builtin.c:1166:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Double2Double(primCosDouble,cos(x)) /* Double cos (trig) primitive */ ^ builtin.c:1167:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Double2Double(primTanDouble,tan(x)) /* Double tan (trig) primitive */ ^ builtin.c:1168:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Double2Double(primAsinDouble,asin(x)) /* Double arc sin (trig) primitive */ ^ builtin.c:1169:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Double2Double(primAcosDouble,acos(x)) /* Double arc cos (trig) primitive */ ^ builtin.c:1170:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Double2Double(primAtanDouble,atan(x)) /* Double arc tan (trig) primitive */ ^ builtin.c:1171:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Double2Double(primExpDouble,exp(x)) /* Double exponential primitive */ ^ builtin.c:1172:18: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Double2DoublePre(primLogDouble,log(x),x>0)/* Double logarithm primitive */ ^ builtin.c:1173:18: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Double2DoublePre(primSqrtDouble,sqrt(x),x>=0) /* Double square root primitive */ ^ builtin.c:1179:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Float2Int(primFloatToInt,(Int) x) /* Adhoc Float --> Int conversion */ ^ builtin.c:1180:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Double2Int(primDoubleToInt,(Int) x) /* Adhoc Double --> Int conversion */ ^ builtin.c:1183:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CAFBignum(primFloatRadix,bigInt(HUGS_FLT_RADIX)) /* Float radix primitive */ ^ builtin.c:1188:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CAFInt(primFloatDigits,HUGS_FLT_MANT_DIG)/* Float sig. digits primitive */ ^ builtin.c:1191:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CAFInt(primFloatMinExp,HUGS_FLT_MIN_EXP)/* Float min exponent primitive */ ^ builtin.c:1192:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CAFInt(primFloatMaxExp,HUGS_FLT_MAX_EXP)/* Float max exponent primitive */ ^ builtin.c:1194:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CAFInt(primDoubleDigits,HUGS_DBL_MANT_DIG)/* Double sig. digits primitive */ ^ builtin.c:1197:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CAFInt(primDoubleMinExp,HUGS_DBL_MIN_EXP)/* Double min exponent primitive */ ^ builtin.c:1198:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CAFInt(primDoubleMaxExp,HUGS_DBL_MAX_EXP)/* Double max exponent primitive */ ^ builtin.c:1201:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primFloatDecode) { /* Float decode primitive */ ^ builtin.c:1217:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primFloatEncode) { /* Float encode primitive */ ^ builtin.c:1234:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primDoubleDecode) { /* Double decode primitive */ ^ builtin.c:1250:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primDoubleEncode) { /* Double encode primitive */ ^ builtin.c:1272:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CAFPtr(primNullPtr,0) /* Null pointer */ ^ builtin.c:1273:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PtrInt2Ptr(primPlusPtr,(char*)x+y) /* Pointer arithmetic */ ^ builtin.c:1274:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PtrInt2Ptr(primAlignPtr,(char*)x+(int)((y - (long)x%y)%y)) ^ builtin.c:1276:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PtrPtr2Int(primMinusPtr,(char*)x-(char*)y) /* Pointer arithmetic */ ^ builtin.c:1277:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PtrPtr2Bool(primEqPtr,x==y) /* Pointer equality primitive */ ^ builtin.c:1279:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primCmpPtr) { /* Pointer compare primitive */ ^ builtin.c:1292:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IntInt2Bool(primEqInt,x==y) /* Integer equality primitive */ ^ builtin.c:1293:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] WordWord2Bool(primEqWord,x==y) /* Natural equality primitive */ ^ builtin.c:1294:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CharChar2Bool(primEqChar,x==y) /* Character equality primitive */ ^ builtin.c:1295:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FloatFloat2Bool(primEqFloat, x==y) /* Float equality primitive */ ^ builtin.c:1296:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DoubleDouble2Bool(primEqDouble, x==y) /* Double equality primitive */ ^ builtin.c:1298:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primCmpInt) { /* Integer compare primitive */ ^ builtin.c:1307:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primCmpWord) { /* Natural compare primitive */ ^ builtin.c:1316:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primCmpChar) { /* Character compare primitive */ ^ builtin.c:1325:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primCmpFloat) { /* Float compare primitive */ ^ builtin.c:1334:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primCmpDouble) { /* Double compare primitive */ ^ In file included from builtin.c:1347: ./printer.c:43:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void printerControl(what) ^ ./printer.c:91:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primPrint) { /* Evaluate and print term */ ^ ./printer.c:107:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primBPrint) { /* Eval and print value of basic */ ^ ./printer.c:117:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primNPrint) { /* print term without evaluation */ ^ ./printer.c:127:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local printer(pr,d) /* Main part: primPrint/primNPrint */ ^ ./printer.c:387:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primLPrint) { /* evaluate and print list */ ^ ./printer.c:409:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primNLPrint) { /* print list without evaluation */ ^ ./printer.c:426:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primSPrint) { /* evaluate and print string */ ^ ./printer.c:462:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primNSPrint) { /* print string without eval */ ^ ./printer.c:490:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local outName(nm) /* output nm using parent field if possible */ ^ ./printer.c:516:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local outVar(nm) /* output nm as function symbol */ ^ ./printer.c:528:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local outOp(nm) /* output nm as operator symbol */ ^ ./printer.c:540:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local outStr(s) /* output string s */ ^ ./printer.c:546:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local outPr(pr,d,e) /* output expr e with printer pr, */ ^ ./printer.c:555:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local outLPr(pr,xs) /* output list xs with printer pr */ ^ ./printer.c:562:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local outException(ex) /* Produce expr to print exception */ ^ ./printer.c:575:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local outBadRedex(rx) /* Produce expr to print bad redex */ ^ ./printer.c:582:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Cell local printDException(ex) /* Produce expression for exception*/ ^ ./printer.c:590:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Cell local printException(ex,rs) /* produce expression for exception*/ ^ ./printer.c:597:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Void abandon(what,ex) /* abandon computation */ ^ builtin.c:1359:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] String evalName(es) /* evaluate es :: [Char] and save */ ^ builtin.c:1383:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Void outputString(fp) /* Evaluate string on top of stack */ ^ In file included from builtin.c:1414: ./iomonad.c:63:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void iomonadControl(what) ^ ./iomonad.c:338:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primReturnIO) { /* IO monad unit */ ^ ./iomonad.c:342:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primBindIO) { /* IO monad bind */ ^ ./iomonad.c:348:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primPass) { /* Auxiliary function */ ^ ./iomonad.c:360:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Int local newHandle(sCell,loc) /* return a free Handle or throw an IOError */ ^ ./iomonad.c:397:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] String local modeString(hmode,binary) /* return mode string for f(d)open */ ^ ./iomonad.c:414:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Cell local openHandle(root,sCell,hmode,binary,loc) /* open handle to file named s in */ ^ ./iomonad.c:462:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Cell local openFdHandle(root,fd,hmode,binary,loc) /* open handle to file desc fd in */ ^ ./iomonad.c:599:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Void pushString(s) /* push pointer to string onto stack */ ^ ./iomonad.c:620:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mkIOError(mbH, kind, loc, desc, mbF) ^ ./iomonad.c:655:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Name local toIOError(errc) ^ ./iomonad.c:683:21: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static String local toIOErrorDescr(errc,isFile) ^ ./iomonad.c:713:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primGC) { /* force a GC right now */ ^ ./iomonad.c:721:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primGetRandomSeed) { /* generate a random seed */ ^ ./iomonad.c:734:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primGetEnv) { /* primGetEnv :: String -> IO String */ ^ ./iomonad.c:766:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primSystem) { /* primSystem :: String -> IO Int */ ^ ./iomonad.c:780:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Void setHugsArgs(argc,argv) ^ ./iomonad.c:796:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primGetProgName) { /* primGetProgName :: IO String */ ^ ./iomonad.c:800:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primGetArgs) { /* primGetArgs :: IO [String] */ ^ ./iomonad.c:804:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primSetProgName) { /* primSetProgName :: String -> IO () */ ^ ./iomonad.c:809:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primSetArgs) { /* primSetArgs :: [String] -> IO () */ ^ ./iomonad.c:827:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primHGetChar) { /* Read character from handle */ ^ ./iomonad.c:846:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primHPutChar) { /* print character on handle */ ^ ./iomonad.c:858:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primHPutStr) { /* print string on handle */ ^ ./iomonad.c:881:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primHreader) { /* read String from a handle */ ^ ./iomonad.c:895:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primHContents) { /* hGetContents :: Handle -> IO Str*/ ^ ./iomonad.c:905:18: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int local getIOMode(mode) /* From IOMode to internal form */ ^ ./iomonad.c:924:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local fopenPrim(root,binary,loc)/* Auxiliary function for */ ^ ./iomonad.c:941:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primOpenFile) { /* open handle to a text file */ ^ ./iomonad.c:945:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primOpenBinaryFile) { /* open handle to a binary file */ ^ ./iomonad.c:949:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primStdin) { /* Standard input handle */ ^ ./iomonad.c:953:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primStdout) { /* Standard output handle */ ^ ./iomonad.c:957:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primStderr) { /* Standard error handle */ ^ ./iomonad.c:961:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primOpenFd) { /* open handle to file descriptor. */ ^ ./iomonad.c:1000:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primHandleToFd) { ^ ./iomonad.c:1028:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primHIsEOF) { /* Test for end of file on handle */ ^ ./iomonad.c:1061:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primHFlush) { /* Flush handle */ ^ ./iomonad.c:1069:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primHClose) { /* Close handle */ ^ ./iomonad.c:1085:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primHGetPosn) { /* Get file position */ ^ ./iomonad.c:1102:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primHSetPosn) { /* Set file position */ ^ ./iomonad.c:1126:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primHSeek) { /* Seek to new file posn */ ^ ./iomonad.c:1152:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primHLookAhead) { /* Peek at the next char */ ^ ./iomonad.c:1187:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primHSetBuffering) { /* Change a Handle's buffering */ ^ ./iomonad.c:1239:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primHGetBuffering) { /* Return buffering info of a handle. */ ^ ./iomonad.c:1268:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primHIsOpen) { /* Test is handle open */ ^ ./iomonad.c:1275:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primHIsClosed) { /* Test is handle closed */ ^ ./iomonad.c:1281:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primHIsReadable) { /* Test is handle readable */ ^ ./iomonad.c:1287:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primHIsWritable) { /* Test is handle writable */ ^ ./iomonad.c:1297:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primHIsSeekable) { /* Test if handle is writable */ ^ ./iomonad.c:1321:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primHFileSize) { /* If handle points to a regular file, ^ ./iomonad.c:1352:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primEqHandle) { /* Test for handle equality */ ^ ./iomonad.c:1359:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primGetHandleNumber) { ^ ./iomonad.c:1365:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primHSetBinaryMode) { ^ ./iomonad.c:1381:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primHPutBuf) { /* write binary data from a buffer */ ^ ./iomonad.c:1419:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primHGetBuf) { /* read binary data into a buffer */ ^ ./iomonad.c:1453:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primHWaitForInput) { /* Check whether a character can be read ^ ./iomonad.c:1502:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primHIsTerminalDevice) { /* Does the handle refer to a terminal? */ ^ ./iomonad.c:1513:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primHGetEcho) { ^ ./iomonad.c:1526:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primHSetEcho) { ^ ./iomonad.c:1555:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primNewRef) { /* a -> IO (Ref a) */ ^ ./iomonad.c:1559:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primDerefRef) { /* Ref a -> IO a */ ^ ./iomonad.c:1565:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primAssignRef) { /* Ref a -> a -> IO () */ ^ ./iomonad.c:1572:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primEqRef) { /* Ref a -> Ref a -> Bool */ ^ ./iomonad.c:1603:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primMakeSP) { /* a -> IO (StablePtr a) */ ^ ./iomonad.c:1615:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primDerefSP) { /* StablePtr a -> IO a */ ^ ./iomonad.c:1622:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primFreeSP) { /* StablePtr a -> IO () */ ^ ./iomonad.c:1629:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primCastSPToP) { /* StablePtr a -> Ptr () */ ^ ./iomonad.c:1632:15: warning: cast to 'Pointer' (aka 'void *') from smaller integer type 'HugsStablePtr' (aka 'int') [-Wint-to-void-pointer-cast] PtrResult((Pointer)x); ^~~~~~~~~~ ./builtin.h:83:21: note: expanded from macro 'PtrResult' updateRoot(mkPtr(nm)) ^~ ./builtin.h:38:49: note: expanded from macro 'updateRoot' #define updateRoot(c) update(INDIRECT,c) ^ ./builtin.h:37:52: note: expanded from macro 'update' #define update(l,r) ((snd(stack(root))=r),(fst(stack(root))=l)) ^ In file included from builtin.c:1414: ./iomonad.c:1635:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primCastPToSP) { /* Ptr () -> StablePtr a */ ^ ./iomonad.c:1638:5: warning: cast to smaller integer type 'Int' (aka 'int') from 'HsStablePtr' (aka 'void *') [-Wvoid-pointer-to-int-cast] SPResult((HsStablePtr)x); ^~~~~~~~~~~~~~~~~~~~~~~~ ./iomonad.c:1600:21: note: expanded from macro 'SPResult' updateRoot(mkInt((Int)(nm))) ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ./builtin.h:38:49: note: expanded from macro 'updateRoot' #define updateRoot(c) update(INDIRECT,c) ~~~~~~~~~~~~~~~~^~ ./builtin.h:37:52: note: expanded from macro 'update' #define update(l,r) ((snd(stack(root))=r),(fst(stack(root))=l)) ^ In file included from builtin.c:1414: ./iomonad.c:1653:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primNewFP) { /* Ptr a -> IO (ForeignPtr a) */ ^ ./iomonad.c:1660:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primAddFPF) { /* FunPtr (Ptr a -> IO ()) -> ForeignPtr a -> IO () */ ^ ./iomonad.c:1669:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primAddFPFEnv) { /* FunPtr (Ptr env -> Ptr a -> IO ()) -> */ ^ ./iomonad.c:1681:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primWriteFP) { /* ForeignPtr a -> Ptr a -> IO () */ ^ ./iomonad.c:1691:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primEqFP) { /* ForeignPtr a -> ForeignPtr a -> Bool */ ^ ./iomonad.c:1700:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primTouchFP) { /* ForeignPtr a -> IO () */ ^ ./iomonad.c:1706:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primFPToP) { /* ForeignPtr a -> Ptr a */ ^ ./iomonad.c:1717:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primMakeSN) { /* a -> IO (StableName a) */ ^ ./iomonad.c:1721:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primDerefSN) { /* StableName a -> a */ ^ ./iomonad.c:1726:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primHashSN) { /* StableName a -> Int */ ^ ./iomonad.c:1730:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primEqSN) { /* StableName a -> StableName a -> Bool */ ^ ./iomonad.c:1749:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primWeakPtrEq) { /* Weak a -> Weak a -> Bool */ ^ ./iomonad.c:1756:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primMkWeak) { /* k -> v -> Maybe (IO ()) */ ^ ./iomonad.c:1770:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primDeRefWeak) { /* Weak v -> IO (Maybe v) */ ^ ./iomonad.c:1782:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primReplaceFinalizer) { /* Weak v -> Maybe (IO ()) */ ^ ./iomonad.c:1801:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primFinalize) { /* Weak v -> IO () */ ^ ./iomonad.c:1823:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primRunFinalizer) { /* IO () */ ^ ./iomonad.c:1833:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primFinalizerWaiting) { /* IO Boolean */ ^ ./iomonad.c:1874:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primIOEql) { /* :: Eval a => a -> a -> ST Mem Bool */ ^ ./iomonad.c:1892:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primIOHash) { /* :: Eval a => a -> ST Mem Int */ ^ In file included from builtin.c:1422: ./timeprim.c:14:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void timeControl(what) ^ ./timeprim.c:46:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primGetClockTime) { /* :: IO (Int,Int) */ ^ ./timeprim.c:91:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primGetCalTime) { /* Int -> Int -> IO (.....) */ ^ ./timeprim.c:166:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primMkTime) { /* Int{-year-} -> Int{-month-} -> Int{-day-} -> ^ ./timeprim.c:236:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CAFInt(primClockTicks, CLOCKS_PER_SEC) ^ ./timeprim.c:245:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primGetCPUUsage) { /* IO (Int,Int,Int,Int) */ ^ In file included from builtin.c:1430: ./dirprim.c:14:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void dirControl(what) ^ ./dirprim.c:91:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primCreateDirectory) { /* create a directory, :: String -> IO () */ ^ ./dirprim.c:113:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primRemoveDirectory) { /* remove a directory */ ^ ./dirprim.c:132:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primRemoveFile) { /* remove a file */ ^ ./dirprim.c:163:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primRenameDirectory) { /* rename a directory */ ^ ./dirprim.c:199:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primRenameFile) { /* rename a file */ ^ ./dirprim.c:254:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primGetDirectory) { /* IO String - get current directory. */ ^ ./dirprim.c:262:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primSetDirectory) { /* String -> IO () - set current directory. */ ^ ./dirprim.c:281:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primFileExist) { /* FilePath -> IO Bool - check to see if file exists. */ ^ ./dirprim.c:299:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primDirExist) { /* FilePath -> IO Bool - check to see if directory exists. */ ^ ./dirprim.c:312:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Bool local isDirectory(s) ^ ./dirprim.c:332:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primGetPermissions) { /* FilePath -> IO (Bool,Bool,Bool,Bool) */ ^ ./dirprim.c:395:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primSetPermissions) { /* FilePath -> Bool -> Bool -> Bool -> Bool -> IO () */ ^ ./dirprim.c:448:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primGetDirContents) { /* FilePath -> IO [FilePath] */ ^ ./dirprim.c:578:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primGetModTime) { /* FilePath -> IO Int{-time_t-} - get the mod. time of the file/directory. */ ^ In file included from builtin.c:1447: ./array.c:64:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void arrayControl(what) ^ ./array.c:249:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primArray) { /* :: (a,a) */ ^ ./array.c:257:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primUpdate) { /* :: [(Int,b)] */ ^ ./array.c:266:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primAccum) { /* :: [(Int,c)] -> Array a b */ ^ ./array.c:274:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primAccumArray) { /* :: (a,a) -> Int */ ^ ./array.c:281:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primAmap) { /* :: (a -> b) */ ^ ./array.c:289:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primSubscript) { /* :: Array a b -> Int -> b */ ^ ./array.c:296:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primBounds) { /* :: Array a b -> (a,a) */ ^ ./array.c:301:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primElems) { /* :: Array a b -> [b] */ ^ ./array.c:307:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primEltUndef) { ^ ./array.c:312:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primIONewArr) { /* :: (a,a) */ ^ ./array.c:318:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primIOReadArr) { /* :: IOArray a b -> Int -> IO b */ ^ ./array.c:325:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primIOWriteArr) { /* :: IOArray a b -> Int -> b */ ^ ./array.c:332:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primIOFreeze) { /* :: IOArray a b */ ^ ./array.c:339:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primIOArrEq) { /* :: IOArray a b */ ^ builtin.c:1454:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CAFChar(primMaxChar,MAXCHARVAL) ^ builtin.c:1456:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Char2Bool(primIsUpper,isUpper(x)) ^ builtin.c:1457:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Char2Bool(primIsLower,isLower(x)) ^ builtin.c:1458:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Char2Bool(primIsAlpha,isAlpha(x)) ^ builtin.c:1459:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Char2Bool(primIsAlphaNum,isAlphaNum(x)) ^ builtin.c:1460:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Char2Bool(primIsPrint,isPrint(x)) ^ builtin.c:1462:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Char2Char(primToLower,toLower(x)) ^ builtin.c:1463:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Char2Char(primToUpper,toUpper(x)) ^ builtin.c:1464:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Char2Char(primToTitle,toTitle(x)) ^ builtin.c:1466:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Char2Int(primUniGenCat,uni_gencat(x)) ^ builtin.c:1473:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primRecExt) { /* :: Int -> a -> Rec ? -> Rec ? */ ^ builtin.c:1488:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primRecBrk) { /* :: Int -> Rec ? -> (?, Rec ?) */ ^ builtin.c:1505:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primRecSel) { /* :: Int -> Rec ? -> ? */ ^ builtin.c:1526:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primRecShw) { ^ builtin.c:1554:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primRecEq) { ^ builtin.c:1579:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Cell local followInd(c) /* follow chain of indirections and CAFs */ ^ builtin.c:1625:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primUnsafePtrEq) { /* Unsafe pointer equality test */ ^ builtin.c:1636:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primUnsafePtrToInt) { ^ builtin.c:1738:23: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static HugsStablePtr lookupName(q,n) ^ builtin.c:1777:10: warning: cast to smaller integer type 'HugsStablePtr' (aka 'int') from 'HsStablePtr' (aka 'void *') [-Wvoid-pointer-to-int-cast] push((HugsStablePtr)x); ^~~~~~~~~~~~~~~~ ./storage.h:1107:10: note: expanded from macro 'push' onto(c); \ ^ ./storage.h:1109:35: note: expanded from macro 'onto' #define onto(c) stack(++sp)=(c) ^ builtin.c:1782:12: warning: cast to 'HsStablePtr' (aka 'void *') from smaller integer type 'HugsStablePtr' (aka 'int') [-Wint-to-void-pointer-cast] return (HsStablePtr)x; ^~~~~~~~~~~~~~ builtin.c:1786:26: warning: cast to smaller integer type 'HugsStablePtr' (aka 'int') from 'HsStablePtr' (aka 'void *') [-Wvoid-pointer-to-int-cast] if (x) freeStablePtr((HugsStablePtr)x); ^~~~~~~~~~~~~~~~ builtin.c:1805:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void returnIO(root,n) /* return in IO monad */ ^ builtin.c:1824:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void returnId(root,n) /* return in identity monad */ ^ builtin.c:1863:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int runIO(n) ^ builtin.c:1894:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void apMany(n) ^ builtin.c:1908:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int runId(n) ^ builtin.c:2218:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] primFun(primFreeHFunPtr) { /* :: FunPtr a -> IO () */ ^ builtin.c:2398:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void builtinControl(what) ^ builtin.c:2403:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Void builtIn(what) ^ 350 warnings generated. clang -c -DNDEBUG=1 -pipe -Os -I/opt/pkg/include/ncurses -no-cpp-precomp -O2 char.c char.c:674:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Cell consChar(c) /* return application (:) c */ ^ char.c:767:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Void charOps(what) ^ 2 warnings generated. clang -c -DNDEBUG=1 -pipe -Os -I/opt/pkg/include/ncurses -no-cpp-precomp compiler.c compiler.c:114:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Cell local translate(e) /* Translate expression: */ ^ compiler.c:227:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local transPair(pr) /* Translate each component in a */ ^ compiler.c:233:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local transTriple(tr) /* Translate each component in a */ ^ compiler.c:240:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local transAlt(e) /* Translate alt: */ ^ compiler.c:245:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local transCase(c) /* Translate case: */ ^ compiler.c:251:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static List local transBinds(bs) /* Translate list of bindings: */ ^ compiler.c:275:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Cell local transRhs(rhs) /* Translate rhs: removing line nos */ ^ compiler.c:289:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Cell local mkConsList(es) /* Construct expression for list es */ ^ compiler.c:297:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Cell local expandLetrec(root) /* translate LETREC with list of */ ^ compiler.c:332:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Cell local transComp(e,qs,l) /* Translate [e | qs] ++ l */ ^ compiler.c:401:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Cell local transDo(m,e,qs) /* Translate do { qs ; e } */ ^ compiler.c:454:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Cell local mdoBuildTuple(tup) /* build tuple (x1,...,xn) from */ ^ compiler.c:472:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Cell local transMDo(m,ms,seg) /* translate each segment in an mdo */ ^ compiler.c:610:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Cell local transConFlds(c,flds) /* Translate C{flds} */ ^ compiler.c:632:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Cell local transUpdFlds(e,cs,flds)/* Translate e{flds} */ ^ compiler.c:691:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Bool failFree(pat) /* is pattern failure free? */ ^ compiler.c:728:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Cell local refutePat(pat) /* find pattern to refute in conformality*/ ^ compiler.c:773:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Cell local refutePatAp(p) /* find pattern to refute in conformality*/ ^ compiler.c:796:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Cell local matchPat(pat) /* find pattern to match against */ ^ compiler.c:883:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static List local remPat(pat,expr,lds) ^ compiler.c:929:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static List local remPat1(pat,expr,lds) ^ compiler.c:1080:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Cell local pmcTerm(co,sc,e) /* apply pattern matching compiler */ ^ compiler.c:1123:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Cell local pmcPair(co,sc,pr) /* apply pattern matching compiler */ ^ compiler.c:1131:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Cell local pmcTriple(co,sc,tr) /* apply pattern matching compiler */ ^ compiler.c:1140:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Cell local pmcVar(sc,t) /* find translation of variable */ ^ compiler.c:1169:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local pmcLetrec(co,sc,e) /* apply pattern matching compiler */ ^ compiler.c:1199:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Cell local pmcVarDef(co,sc,vd) /* apply pattern matching compiler */ ^ compiler.c:1210:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local pmcFunDef(co,sc,fd) /* apply pattern matching compiler */ ^ compiler.c:1274:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static List local altsMatch(co,n,sc,as) /* Make a list of matches from list*/ ^ compiler.c:1288:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Cell local match(co,mas) /* Generate case statement for Matches mas */ ^ compiler.c:1364:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Cell local joinMas(co,mas) /* Combine list of matches into rhs*/ ^ compiler.c:1375:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Bool local canFail(rhs) /* Determine if expression (as rhs) */ ^ compiler.c:1393:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static List local addConTable(x,y,tab) /* add element (x,y) to table */ ^ compiler.c:1406:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local advance(co,a,ma) /* Advance non-empty match by */ ^ compiler.c:1440:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Bool local emptyMatch(ma)/* Normalize and test to see if a given */ ^ compiler.c:1502:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Cell local maDiscr(ma) /* Get the discriminator for a non-empty */ ^ compiler.c:1527:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Bool local isNumDiscr(d) /* TRUE => numeric discriminator */ ^ compiler.c:1544:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Int discrArity(d) /* Find arity of discriminator */ ^ compiler.c:1570:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Bool local eqNumDiscr(d1,d2) /* Determine whether two numeric */ ^ compiler.c:1589:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Bool local isExtDiscr(d) /* Test of extension discriminator */ ^ compiler.c:1594:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Bool local eqExtDiscr(d1,d2) /* Determine whether two extension */ ^ compiler.c:1605:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Cell local lift(co,tr,e) /* lambda lift term */ ^ compiler.c:1662:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local liftPair(co,tr,pr) /* lift pair of terms */ ^ compiler.c:1670:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local liftTriple(co,tr,e) /* lift triple of terms */ ^ compiler.c:1679:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local liftAlt(co,tr,pr) /* lift (discr,case) pair */ ^ compiler.c:1686:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local liftNumcase(co,tr,nc)/* lift (offset,discr,case) */ ^ compiler.c:1695:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Cell local liftVar(tr,e) /* lift variable */ ^ compiler.c:1706:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Cell local liftLetrec(co,tr,e) /* lift letrec term */ ^ compiler.c:1739:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local liftFundef(co,tr,fd) /* lift function definition */ ^ compiler.c:1796:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local solve(fs) /* Solve eqns for lambda-lifting */ ^ compiler.c:1881:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Cell local preComp(e) /* Adjust output from compiler to */ ^ compiler.c:1932:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Cell local preCompPair(e) /* Apply preComp to pair of Exprs */ ^ compiler.c:1938:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Cell local preCompTriple(e) /* Apply preComp to triple of Exprs */ ^ compiler.c:1945:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local preCompCase(e) /* Apply preComp to (Discr,Expr) */ ^ compiler.c:1950:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Cell local preCompOffset(n) /* Determine correct offset value */ ^ compiler.c:2095:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local compileGlobalFunction(bind) ^ compiler.c:2110:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local compileGenFunction(n) /* Produce code for internally */ ^ compiler.c:2123:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Name local compileSelFunction(p) /* Produce code for selector func */ ^ compiler.c:2136:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local newGlobalFunction(n,arity,fvs,co,e) ^ compiler.c:2160:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Void compiler(what) ^ 60 warnings generated. clang -c -DNDEBUG=1 -pipe -Os -I/opt/pkg/include/ncurses -no-cpp-precomp -O2 errors.c errors.c:63:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Void errHead(l) /* print start of error message */ ^ errors.c:105:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Void internal(msg) /* handle internal error */ ^ errors.c:131:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Void fatal(msg) /* handle fatal error */ ^ errors.c:147:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sigHandler(breakHandler) { /* respond to break interrupt */ ^ errors.c:200:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local vBufferedPrintf(stream, fmt, ap) ^ errors.c:215:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local bufferedPutchar(stream, c) ^ errors.c:224:21: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static String local bufferClear(stream) ^ errors.c:241:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Void hugsEnableOutput(f) ^ errors.c:276:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Void hugsPutchar(c) ^ errors.c:291:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Void hugsFFlush(fp) ^ errors.c:325:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Void hugsPutc(c, fp) ^ 11 warnings generated. clang -c -DNDEBUG=1 -pipe -Os -I/opt/pkg/include/ncurses -no-cpp-precomp -O2 evaluator.c evaluator.c:61:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Void evaluator(m) ^ evaluator.c:226:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Void everybody(what) /* send command `what' to each component of*/ ^ 2 warnings generated. clang -c -DNDEBUG=1 -pipe -Os -I/opt/pkg/include/ncurses -no-cpp-precomp -O2 ffi.c ffi.c:47:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Void ffi(what) ^ ffi.c:61:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Void ffiSetFlags(s) ^ ffi.c:97:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Bool foreignNeedStubs(imps,exps) ^ ffi.c:118:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Void foreignHeader(fn) ^ ffi.c:136:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Void foreignFooter(fn,mn,is,es) ^ ffi.c:284:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local foreignType(l,t) ^ ffi.c:316:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local foreignGet(l,t,nm,num) ^ ffi.c:351:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local foreignPut(l,t,nm,num) ^ ffi.c:386:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local ffiInclude(fn) /* Add #include */ ^ ffi.c:394:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local ffiDeclare(line,ty,prefix,i) /* Declare variable */ ^ ffi.c:406:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local ffiReturn(ty,prefix,i) /* Return variable */ ^ ffi.c:417:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local ffiDeclareList(line,tys,prefix) /* Declare variables */ ^ ffi.c:427:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local ffiGetList(line,tys,prefix) /* Get values from Haskell */ ^ ffi.c:438:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local ffiPutList(line,tys,prefix) /* Put values to Haskell */ ^ ffi.c:449:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local ffiDeclareFun(line,n,indirect,extraArg,argTys,resultTy) ^ ffi.c:494:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local ffiFunTypeCast(line,argTys,resultTy) ^ ffi.c:515:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local ffiCallFun(line,e,argTys,resultTy) ^ ffi.c:541:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local ffiPrimProto(name,id) ^ ffi.c:552:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local ffiPrimHeader(name,id) ^ ffi.c:582:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Void implementForeignImport(line,n,id,fn,cid,isStatic,libName,argTys,isIO,resultTy) ^ ffi.c:667:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Void implementForeignImportDynamic(line,id,e,argTys,isIO,resultTy) ^ ffi.c:732:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Void implementForeignImportWrapper(line,id,e,argTys,isIO,resultTy) ^ ffi.c:810:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Void implementForeignExport(line,id,e,argTys,isIO,resultTy) ^ ffi.c:873:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Void implementForeignImportLabel(line, id, fn, cid, n, ty) ^ 24 warnings generated. clang -c -DNDEBUG=1 -pipe -Os -I/opt/pkg/include/ncurses -no-cpp-precomp -O2 goal.c goal.c:21:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Void setGoal(what, t) /* Set goal for what to be t */ ^ goal.c:42:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Void soFar(t) /* Indicate progress towards goal */ ^ 2 warnings generated. clang -c -DNDEBUG=1 -pipe -Os -I/opt/pkg/include/ncurses -no-cpp-precomp -O2 input.c input.c:234:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Bool startsQual(c) ^ input.c:245:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Void consoleInput(prompt) /* prepare to input characters from */ ^ input.c:315:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Bool local fileInput(nm,len) /* prepare to input characters from*/ ^ input.c:372:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Void stringInput(s) /* prepare to input characters from string */ ^ input.c:387:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Bool local literateMode(nm) /* Select literate mode for file */ ^ input.c:415:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Bool local linecmp(s,line) /* compare string with line */ ^ input.c:560:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local thisLineIs(kind) /* register kind of current line */ ^ In file included from input.c:636: parser.y:1034:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Cell local gcShadow(n,e) /* keep parsed fragments on stack */ ^ parser.y:1058:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local syntaxError(s) /* report on syntax error */ ^ parser.y:1152:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Cell local checkPrec(p) /* Check for valid precedence value*/ ^ parser.y:1162:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Cell local buildTuple(tup) /* build tuple (x1,...,xn) from */ ^ parser.y:1180:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static List local checkCtxt(con) /* validate context */ ^ parser.y:1186:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Cell local checkPred(c) /* check that type expr is a valid */ ^ parser.y:1202:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Pair local checkDo(dqs) /* convert reversed list of dquals */ ^ parser.y:1214:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Pair local checkMDo(dqs) /* convert reversed list of dquals */ ^ parser.y:1226:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Cell local checkTyLhs(c) /* check that lhs is of the form */ ^ parser.y:1239:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Cell local checkConstr(c) /* check that data constructor has */ ^ input.c:688:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Cell local readRadixNumber(r) /* Read literal in specified radix */ ^ input.c:892:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local saveStrChr(c) /* save character in string */ ^ input.c:953:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Cell local readAChar(isStrLit) /* read single char constant */ ^ input.c:996:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Bool local lazyReadMatches(s) /* compare input stream with string */ ^ input.c:1013:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Cell local readEscapeChar(isStrLit,skipEsc)/* read escape character */ ^ input.c:1131:18: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Int local readHexDigit(c) /* read single hex digit */ ^ input.c:1161:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] String unlexChar(c,quote) /* return string representation of */ ^ input.c:1190:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Void printString(s) /* print string s, using quotes and */ ^ input.c:1214:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Command readCommand(cmds,start,sys) /* read command at start of input */ ^ input.c:1360:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local goOffside(col) /* insert offside marker */ ^ input.c:1808:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Bool isModuleId(s) ^ input.c:1830:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Syntax defaultSyntax(t) /* Find default syntax of var named*/ ^ input.c:1837:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Syntax syntaxOf(n) /* Find syntax for name */ ^ input.c:1848:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local parseInput(startWith)/* Parse input with given first tok,*/ ^ input.c:1863:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Void parseScriptString(buf) /* Read a script from a string buffer */ ^ input.c:1870:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Bool parseScript(nm,len) /* Read a script */ ^ input.c:1900:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Void input(what) ^ 34 warnings generated. clang -c -DNDEBUG=1 -pipe -Os -I/opt/pkg/include/ncurses -no-cpp-precomp -O2 machdep.c machdep.c:151:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Void getFileInfo(f,tm,sz) /* find time stamp and size of file*/ ^ machdep.c:215:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Bool readable(f,isReg) /* is f readable (and also, a regular file?) */ ^ machdep.c:418:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] String local RealPath(s) /* Find absolute pathname of file */ ^ machdep.c:473:21: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static String local normPath(s) /* Try, as much as possible, to normalize */ ^ machdep.c:491:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local searchChr(c) /* Add single character to search buffer */ ^ machdep.c:499:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local searchStr(s) /* Add string to search buffer */ ^ machdep.c:553:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Bool scanSubDirs(s) ^ machdep.c:712:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] String findPathname(filename) /* Look for a file, trying various extensions */ ^ machdep.c:737:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] String findMInDir(dir,nm) /* Look for a module in the suggested dir */ ^ machdep.c:750:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] String findMPathname(name) /* Look for a module */ ^ machdep.c:759:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Bool find1(name) /* Search each directory of the path */ ^ machdep.c:793:21: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static String local expandVariable(pathpt) ^ machdep.c:810:21: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static String local skipVariable(pathpt) ^ machdep.c:815:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Bool local find2(s) /* Turn module name into a filename */ ^ machdep.c:826:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] String dirname(filename) /* Return the directory part of the filename */ ^ machdep.c:859:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] String local substPath(new,sub) /* substitute sub path into new path*/ ^ machdep.c:888:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] String uniqPath(path) ^ machdep.c:911:21: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static String local nextPath(pp) ^ machdep.c:920:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Bool local samePath(pp1, pp2) ^ machdep.c:956:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] String fromEnv(var,def) /* return value of: */ ^ machdep.c:995:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Void gcRecovered(recovered) /* Notify garbage collection done */ ^ machdep.c:1481:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Bool breakOn(reqd) /* set break trapping on if reqd, */ ^ machdep.c:1504:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static sigHandler(ignoreBreak) { /* record but don't respond to break*/ ^ machdep.c:1514:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static sigHandler(panic) { /* exit in a panic, on receipt of */ ^ machdep.c:1571:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] shellEsc(cmd, sync, useShell) /* run a shell command (or shell) */ ^ machdep.c:1705:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Cell mkFloat(fl) ^ machdep.c:1711:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FloatPro floatOf(c) ^ machdep.c:1718:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] String floatToString(fl) /* Make sure that floating */ ^ machdep.c:1746:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Cell part1Double(dbl) ^ machdep.c:1752:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Cell part2Double(dbl) ^ machdep.c:1758:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DoublePro doubleFromParts(c1,c2) ^ machdep.c:1767:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Cell mkDouble(dbl) ^ machdep.c:1778:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DoublePro doubleOf(c) ^ machdep.c:1785:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] String doubleToString(dbl) /* Make sure that floating */ ^ machdep.c:1806:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DoublePro stringToDouble(s) ^ machdep.c:1871:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Int part1Int64(i) ^ machdep.c:1876:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Int part2Int64(i) ^ machdep.c:1881:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] HsInt64 int64FromParts(c1,c2) ^ machdep.c:1931:20: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void* local getDLL(dll) /* load dll */ ^ machdep.c:1955:20: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void* local getDLLSymbol(instance,symbol) /* lookup dll symbol */ ^ machdep.c:1968:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void freeDLL (dll) /* free up DLL */ ^ machdep.c:2163:20: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void* local getModDLL(file) /* load DLL for module */ ^ machdep.c:2186:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] String mkFFIFilename2(file) ^ machdep.c:2201:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] String mkFFIFilename(file) /* get DLL path for module */ ^ machdep.c:2224:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Void needPrims(version,dll) /* Load dll containing prims for current module */ ^ machdep.c:2302:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local insert(s) ^ machdep.c:2314:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local insertPath(s) ^ machdep.c:2327:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local insertChar(c) ^ machdep.c:2336:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Void compileAndLink(fn,flags) ^ machdep.c:2631:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Void machdep(what) /* Handle machine specific */ ^ 50 warnings generated. clang -c -DNDEBUG=1 -pipe -Os -I/opt/pkg/include/ncurses -no-cpp-precomp -O2 machine.c machine.c:220:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local instrNone(opc) /* Opcode with no operands */ ^ machine.c:227:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local instrInt(opc,n) /* Opcode with integer operand */ ^ machine.c:236:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local instrDouble(opc,fl) /* Opcode with Double operand */ ^ machine.c:246:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local instrCell(opc,c) /* Opcode with Cell operand */ ^ machine.c:255:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local instrText(opc,t) /* Opcode with Text operand */ ^ machine.c:264:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local instrLab(opc,l) /* Opcode with label operand */ ^ machine.c:275:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local instrCellLab(opc,c,l) /* Opcode with cell, label operands*/ ^ machine.c:321:20: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Label local newLabel(d) /* allocate new label */ ^ machine.c:411:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local asTEST(c,l) /* test whnf and branch on mismatch*/ ^ machine.c:423:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local asSLIDE(n) /* Slide results down stack */ ^ machine.c:433:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local asMKAP(n) /* Make application nodes ... */ ^ machine.c:443:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local asUPDATE(n) /* Update node ... */ ^ machine.c:475:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local asGOTO(l) /* End evaluation of expr in manner*/ ^ machine.c:494:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Void addCfunTable(tc) /* Add a constructor fun table to */ ^ machine.c:511:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Name succCfun(n) /* get next constructor in sequence*/ ^ machine.c:522:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Name nextCfun(n1,n2) /* get next constructor in series */ ^ machine.c:533:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Name cfunByNum(n,i) /* get ith constructor (0<=i=1) */ ^ output.c:570:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local putStrConst(e) ^ output.c:582:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Bool local isStrConst(e) ^ output.c:592:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Bool local isCharCell(e) ^ output.c:607:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Char local getCellChar(e) ^ output.c:622:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local putOverInfix(args,t,sy,e) ^ output.c:636:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local putInfix(d,t,sy,e,f) /* print infix expression */ ^ output.c:652:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local putSimpleAp(e,n) /* print application e0 e1 ... en */ ^ output.c:664:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local putTuple(ts,e) /* Print tuple expression, allowing*/ ^ output.c:676:18: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Int local unusedTups(ts,e) /* print first part of tuple expr */ ^ output.c:692:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local unlexVar(t) /* print text as a variable name */ ^ output.c:704:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local unlexFullVar(n) /* print text as a variable name */ ^ output.c:728:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local unlexOp(t) /* print text as operator name */ ^ output.c:741:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local unlexCharConst(c) ^ output.c:748:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local unlexStrConst(t) ^ output.c:1183:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local putSigType(t) /* print (possibly) generic type */ ^ output.c:1196:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local putContext(ps,qs,fr) /* print context list */ ^ output.c:1225:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local putPred(pi,fr) /* Output predicate */ ^ output.c:1264:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local putType(t,prec,fr) /* print nongeneric type expression*/ ^ output.c:1400:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local putTyVar(n) /* print type variable */ ^ output.c:1409:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Bool local putTupleType(e,fr) /* print tuple of types, returning */ ^ output.c:1421:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local putApType(t,n,fr) /* print type application */ ^ output.c:1438:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local putKind(k) /* print kind expression */ ^ output.c:1473:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local putKinds(ks) /* Print list of kinds */ ^ output.c:1499:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Void newLine(indent) ^ output.c:1507:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Int countObsList(header) ^ output.c:1539:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Void printObserve(t) ^ output.c:1573:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Bool printObsList(header, indent, funPrint) ^ output.c:1629:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local putModule(m) /* print module qualifier */ ^ output.c:1640:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Void printExp(fp,e) /* print expr on specified stream */ ^ output.c:1649:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void printArg(fp,e) /* print expr on specified stream */ ^ output.c:1658:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Void printType(fp,t) /* print type on specified stream */ ^ output.c:1665:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Void printContext(fp,qs) /* print context on spec. stream */ ^ output.c:1672:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Void printPred(fp,pi) /* print predicate pi on stream */ ^ output.c:1679:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Void printKind(fp,k) /* print kind k on stream */ ^ output.c:1686:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Void printKinds(fp,ks) /* print list of kinds on stream */ ^ output.c:1693:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Void printFD(fp,fd) /* print functional dependency */ ^ 46 warnings generated. clang -c -DNDEBUG=1 -pipe -Os -I/opt/pkg/include/ncurses -no-cpp-precomp -O2 plugin.c plugin.c:38:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Bool havePlugin(mod) /* can we statically link this plugin? */ ^ plugin.c:54:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Void plugins(what) ^ 2 warnings generated. clang -c -DNDEBUG=1 -pipe -Os -I/opt/pkg/include/ncurses -no-cpp-precomp -O2 script.c script.c:72:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local freeScript(i) ^ script.c:91:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] String getScriptName(s) /* access the script name at index 's' */ ^ script.c:102:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] String getScriptRealName(s) /* access the path of script at index 's' */ ^ script.c:150:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Void addScriptName(s,sch) /* Add script to list of scripts */ ^ script.c:181:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Bool local addScript(fname,len) /* read single script file */ ^ script.c:210:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Bool chase(imps) /* Process list of import requests */ ^ script.c:269:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Void addScriptsFromArgs(argc,argv) ^ script.c:300:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Void forgetScriptsFrom(scno) /* remove scripts from system */ ^ script.c:318:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Void forgetAScript(scno) /* remove a script from system */ ^ script.c:333:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Void readScripts(n) /* Reread current list of scripts, */ ^ script.c:392:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Void script(what) ^ 11 warnings generated. clang -c -DNDEBUG=1 -pipe -Os -I/opt/pkg/include/ncurses -no-cpp-precomp static.c static.c:283:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local kindError(l,c,in,wh,k,o) ^ static.c:335:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Void startModule(nm) /* switch to a new module */ ^ static.c:356:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Void setExportList(exps) /* Add export list to current module */ ^ static.c:361:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local checkQualImport(i) /* Process qualified import */ ^ static.c:372:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local checkUnqualImport(i) /* Process unqualified import */ ^ static.c:403:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Void tyconDefn(line,lhs,rhs,what) /* process new type definition */ ^ static.c:445:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Void setTypeIns(bs) /* set local synonyms for given */ ^ static.c:491:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local checkTyconDefn(d) /* validate type constructor defn */ ^ static.c:531:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local depConstrs(t,tyvars,cd) ^ static.c:745:18: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Int local userArity(c) /* Find arity for cfun, ignoring */ ^ static.c:770:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static List local addSels(line,c,fs,ss) /* Add fields to selector list */ ^ static.c:818:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static List local selectCtxt(ctxt,vs) /* calculate subset of context */ ^ static.c:837:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local checkSynonyms(ts) /* Check for mutually recursive */ ^ static.c:853:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static List local visitSyn(path,t,syns) /* visit synonym definition to look*/ ^ static.c:882:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Type local fullerExpand(t) /* find full expansion of type exp */ ^ static.c:922:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Bool hasIOResultType(ty) /* return TRUE if FFI/primitive type sig is an IO action. */ ^ static.c:935:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Type local instantiateNewtype(c,env) /* instantiate type using */ ^ static.c:954:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Type fullExpand(t) /* find full expansion of type exp */ ^ static.c:977:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Type local instantiateSyn(t,env) /* instantiate type according using*/ ^ static.c:1009:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Void classDefn(line,head,ms,fds) /* process new class definition */ ^ static.c:1065:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local checkClassDefn(c) /* validate class definition */ ^ static.c:1170:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local checkClassDefn2_(cs) ^ static.c:1175:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local checkClassDefn2(c) /* validate class definition, pt 2 */ ^ static.c:1222:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static List local inheritFundeps(c,pi,o) ^ static.c:1266:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local extendFundeps(c) ^ static.c:1277:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Cell local depPredExp(line,tyvars,pred) ^ static.c:1347:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local checkMems(c,tyvars,m) /* check member function details */ ^ static.c:1388:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local checkMems2(c,m) /* check member function details */ ^ static.c:1400:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local addMembers(c) /* Add definitions of member funs */ ^ static.c:1459:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Name local newMember(l,no,v,t,parent) ^ static.c:1490:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Name local newDSel(c,no) /* Make definition for dict selectr*/ ^ static.c:1506:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Text local generateText(sk,c) /* We need to generate names for */ ^ static.c:1520:18: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Int local visitClass(c) /* visit class defn to check that */ ^ static.c:1554:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static List local classBindings(where,c,bs) ^ static.c:1586:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Name local memberName(c,t) /* return name of member function */ ^ static.c:1598:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static List local numInsert(n,x,xs) /* insert x at nth position in xs, */ ^ static.c:1620:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static List local typeVarsIn(ty,us,ws,vs)/*Calculate list of type variables*/ ^ static.c:1656:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static List local maybeAppendVar(v,vs) /* append variable to list if not */ ^ static.c:1687:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Type local checkSigType(line,where,e,type) ^ static.c:1737:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local checkOptQuantVars(line,xtvs,tvs) ^ static.c:1765:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Type local depTopType(l,tvs,t) /* Check top-level of type sig */ ^ static.c:1794:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Type local depCompType(l,tvs,t) /* Check component type for constr */ ^ static.c:1827:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Type local depTypeExp(line,tyvars,type) ^ static.c:1872:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Type local depTypeVar(line,tyvars,tv) ^ static.c:1896:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static List local checkQuantVars(line,vs,tvs,body) ^ static.c:1934:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static List local offsetTyvarsIn(t,vs) /* add list of offset tyvars in t */ ^ static.c:1958:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] List zonkTyvarsIn(t,vs) ^ static.c:1978:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static List local otvars(pi,os) /* os is a list of offsets that */ ^ static.c:1988:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static List local otvarsZonk(pi,os,o) /* same as above, but zonks */ ^ static.c:2000:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Bool local odiff(us,vs) ^ static.c:2008:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Bool local osubset(us,vs) /* Determine whether us is subset */ ^ static.c:2016:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] List oclose(fds,vs) /* Compute closure of vs wrt to fds*/ ^ static.c:2045:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Bool isAmbiguous(type) /* Determine whether type is */ ^ static.c:2062:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] List calcFunDeps(ps) ^ static.c:2087:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] List calcFunDepsPreds(ps) ^ static.c:2114:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Void ambigError(line,where,e,type) /* produce error message for */ ^ static.c:2132:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local kindConstr(line,alpha,m,c) ^ static.c:2219:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Kind local kindAtom(alpha,c) /* Find kind of atomic constructor */ ^ static.c:2246:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local kindPred(l,alpha,m,pi)/* Check kinds of arguments in pred*/ ^ static.c:2278:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local kindType(line,wh,type)/* check that (poss qualified) type*/ ^ static.c:2317:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local kindTCGroup(tcs) /* find kinds for mutually rec. gp */ ^ static.c:2328:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local initTCKind(c) /* build initial kind/arity for c */ ^ static.c:2350:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local kindTC(c) /* check each part of a tycon/class*/ ^ static.c:2390:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local genTC(c) /* generalise kind inferred for */ ^ static.c:2423:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Void instDefn(line,head,ms) /* process new instance definition */ ^ static.c:2457:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local checkInstDefn(in) /* Validate instance declaration */ ^ static.c:2576:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local insertInst(in) /* Insert instance into class */ ^ static.c:2674:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Bool local instCompare(ia,ib) /* See if ia is an instance of ib */ ^ static.c:2681:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Name local newInstImp(in) /* Make definition for inst builder*/ ^ static.c:2694:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local kindInst(in,freedom) /* check predicates in instance */ ^ static.c:2724:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local checkDerive(t,p,ts,ct)/* verify derived instance request */ ^ static.c:2739:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local addDerInst(line,c,p,cts,t,a) /* Add a derived instance */ ^ static.c:2764:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Void addTupInst(c,n) /* Request derived instance of c */ ^ static.c:2777:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Inst addRecShowInst(c,e) /* Generate instance for ShowRecRow*/ ^ static.c:2793:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Inst addRecEqInst(c,e) /* Generate instance for EqRecRow */ ^ static.c:2851:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local deriveContexts(is) /* Calc contexts for derived insts */ ^ static.c:2864:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local initDerInst(in) /* Prepare instance for calculation*/ ^ static.c:2886:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local calcInstPreds(in) /* Calculate next approximation */ ^ static.c:2990:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local maybeAddPred(pi,o,beta,ps) ^ static.c:3008:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Cell local copyAdj(c,o,beta) /* Copy (c,o), replacing vars with */ ^ static.c:3033:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local tidyDerInst(in) /* Tidy up results of derived inst */ ^ static.c:3056:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local addDerivImp(in) ^ static.c:3092:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static List local getDiVars(n) /* get list of at least n vars for */ ^ static.c:3100:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Cell local mkBind(s,alts) /* make a binding for a variable */ ^ static.c:3106:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Cell local mkVarAlts(line,r) /* make alts for binding a var to */ ^ static.c:3132:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static List local deriveEq(t) /* generate binding for derived == */ ^ static.c:3155:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Pair local mkAltEq(line,pats) /* make alt for an equation for == */ ^ static.c:3171:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static List local deriveOrd(t) /* make binding for derived compare*/ ^ static.c:3198:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Pair local mkAltOrd(line,pats) /* make alt for eqn for compare */ ^ static.c:3215:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static List local makeDPats2(h,n) /* generate pattern list */ ^ static.c:3240:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static List local deriveEnum(t) /* Construct definition of enumeration */ ^ static.c:3256:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static List local deriveIx(t) /* Construct definition of indexing */ ^ static.c:3277:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Bool local isEnumType(t) /* Determine whether t is an enumeration */ ^ static.c:3292:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static List local mkIxBinds(line,h,n) /* build bindings for derived Ix on*/ ^ static.c:3319:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Cell local prodRange(line,pats,ls,us,is) ^ static.c:3340:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Cell local prodIndex(line,pats,ls,us,is) ^ static.c:3363:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Cell local prodInRange(line,pats,ls,us,is) ^ static.c:3385:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static List local deriveShow(t) /* Construct definition of text conversion */ ^ static.c:3402:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Cell local mkAltShow(line,h,a) /* make alt for showsPrec eqn */ ^ static.c:3430:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Cell local showsPrecRhs(d,pat,a) /* build a rhs for showsPrec for a */ ^ static.c:3569:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static List local deriveRead(t) /* construct definition of text reader */ ^ static.c:3606:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Cell local mkReadCon(con, d, r) /* generate reader for a constructor */ ^ static.c:3646:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Cell local mkReadPrefix(con) /* readsPrec for prefix constructor */ ^ static.c:3682:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Cell local mkReadInfix( con ) ^ static.c:3715:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Cell local mkReadTuple( tup ) /* readsPrec for n-tuple */ ^ static.c:3767:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Cell local mkReadRecord(con, fs) /* readsPrec for record constructor */ ^ static.c:3815:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static List local deriveBounded(t)/* construct definition of bounds */ ^ static.c:3840:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static List local mkBndBinds(line,h,n) /* build bindings for derived */ ^ static.c:3861:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Void defaultDefn(line,defs) /* Handle default types definition */ ^ static.c:3907:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Void primDefn(line,prims,type) /* Handle primitive definitions */ ^ static.c:3914:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static List local checkPrimDefn(pd) /* Check primitive definition */ ^ static.c:3931:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Name local addNewPrim(l,vn,s,t) /* make binding of variable vn to */ ^ static.c:3969:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Int checkCallConv(line,t) ^ static.c:3989:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Void foreignImport(l,callconv,safety,ext,intName,type) ^ static.c:4034:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Void foreignExport(l,v,callconv,ext,intName,type) ^ static.c:4090:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static String skipSpaces(s) ^ static.c:4098:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static String skipToSpace(s) ^ static.c:4106:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static String skipToChar(s,c) ^ static.c:4115:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static String matchToken(t,s) ^ static.c:4129:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static String matchFname(s) ^ static.c:4139:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local checkForeignImport(p) /* Check foreign import */ ^ static.c:4390:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local checkForeignExport(p) /* Check foreign export */ ^ static.c:4427:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local linkForeign(p) /* Link an ffi-generated primitive */ ^ static.c:4453:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Cell local checkPat(line,p) /* Check valid pattern syntax */ ^ static.c:4507:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Cell local checkMaybeCnkPat(l,p)/* Check applicative pattern with */ ^ static.c:4536:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Cell local checkApPat(line,args,p) ^ static.c:4582:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local addToPatVars(line,v) /* Add variable v to list of vars */ ^ static.c:4604:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Name local conDefined(line,nm,check) ^ static.c:4624:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local checkIsCfun(line,c) /* Check that c is a constructor fn */ ^ static.c:4634:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local checkCfunArgs(line,c,args) ^ static.c:4647:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Cell local checkPatType(l,wh,e,t)/* Check type appearing in pattern */ ^ static.c:4666:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Cell local applyBtyvs(pat) /* Record bound type vars in pat */ ^ static.c:4700:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Cell local bindPat(line,p) /* add new bound vars for pattern */ ^ static.c:4709:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local bindPats(line,ps) /* add new bound vars for patterns */ ^ static.c:4763:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static List local extractSigdecls(es) /* Extract the SIGDECLS from list */ ^ static.c:4785:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static List local extractFixdecls(es) /* Extract the FIXDECLS from list */ ^ static.c:4797:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static List local extractBindings(ds) /* extract untyped bindings from */ ^ static.c:4867:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static List local getPatVars(line,p,vs) /* Find list of variables bound in */ ^ static.c:4924:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static List local addPatVar(line,v,vs) /* Add var to list of previously */ ^ static.c:4936:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static List local eqnsToBindings(es,ts,cs,ps) ^ static.c:4947:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local notDefined(line,bs,v)/* check if name already defined in */ ^ static.c:4957:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Cell local findBinding(t,bs) /* look for binding for variable t */ ^ static.c:4972:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Cell local getAttr(bs,v) /* Locate type/fixity attribute */ ^ static.c:5007:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local addSigdecl(bs,sigdecl)/* add type information to bindings*/ ^ static.c:5030:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local addFixdecl(bs,ts,cs,ps,fixdecl) ^ static.c:5077:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local dupFixity(line,t) /* Report repeated fixity decl */ ^ static.c:5085:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local missFixity(line,t) /* Report missing op for fixity */ ^ static.c:5175:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Cell local tidyInfix(line,e) /* Convert infixExp to Exp */ ^ static.c:5318:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Pair local attachFixity(line,op) /* Attach fixity to operator in an */ ^ static.c:5362:21: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Syntax local lookupSyntax(t) /* Try to find fixity for var in */ ^ static.c:5420:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static List local dependencyAnal(bs) /* Separate lists of bindings into */ ^ static.c:5431:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static List local topDependAnal(bs) /* Like dependencyAnal(), but at */ ^ static.c:5449:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local addDepField(b) /* add extra field to binding to */ ^ static.c:5454:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local remDepField(bs) /* remove dependency field from */ ^ static.c:5459:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local remDepField1(b) /* remove dependency field from */ ^ static.c:5473:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local withinScope(bs) /* Enter scope of bindings bs */ ^ static.c:5515:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local dropNameClash(v) ^ static.c:5524:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local saveSyntax(v,sy) /* Save syntax of top-level var */ ^ static.c:5537:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Bool local checkIBindings(line,bs) ^ static.c:5584:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local depBinding(b) /* find dependents of binding */ ^ static.c:5615:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local depDefaults(c) /* dependency analysis on defaults */ ^ static.c:5620:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local depInsts(in) /* dependency analysis on instance */ ^ static.c:5625:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local depClassBindings(bs) /* dependency analysis on list of */ ^ static.c:5634:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Cell local depLetRec(isRhs,line,e) /* dependency analysis on a letrec */ ^ static.c:5666:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local depAlt(a) /* Find dependents of alternative */ ^ static.c:5676:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local depRhs(r) /* Find dependents of rhs */ ^ static.c:5697:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local depGuard(g) /* find dependents of single guarded*/ ^ static.c:5702:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Cell depExpr(line,e) /* find dependents of expression */ ^ static.c:5826:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local depPair(line,e) /* find dependents of pair of exprs*/ ^ static.c:5833:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local depTriple(line,e) /* find dependents of triple exprs */ ^ static.c:5841:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local depComp(l,e,qs) /* find dependents of comprehension*/ ^ static.c:5951:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local mdoExpandQualifiers(l,e,qs,defs) ^ static.c:6008:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static List local mdoUsedVars(xs,c,ys,ls)/* copy elements of xs until the */ ^ static.c:6032:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static List local mdoGetPatVarsLet(l, eqns, fvs) ^ static.c:6059:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static List local mdoBVars(l, qs) /* return list of bound vars */ ^ static.c:6094:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static List local mdoCleanSegment(seg) /* clean the segment by */ ^ static.c:6140:21: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static List local mdoNoLets(seg) /* get rid of let's */ ^ static.c:6175:21: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Bool local mdoUsedInAnySeg(v,segs) /* does v appear in any */ ^ static.c:6187:21: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local mdoComputeExports(segs,e) /* compute export lists */ ^ static.c:6203:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local depRecComp(l,e,qs) /* find dependents of a recursive */ ^ static.c:6332:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Bool local mdoIsConnected(q, usedVars) /* Does q1 define a variable */ ^ static.c:6346:18: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Int local mdoSegment(q, eqs) /* return the index of the last qual */ ^ static.c:6364:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local mdoSCC(eqs) /* SCC for mdo */ ^ static.c:6403:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Text zipName(n) ^ static.c:6414:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local depZComp(l,e,qss) ^ static.c:6448:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local depZCompBranch(l,qs) /* find dependents of comprehension*/ ^ static.c:6491:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static List local intersectBinds(bs1,bs2) ^ static.c:6495:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static List local getBindVars(bs) ^ static.c:6504:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local depCaseAlt(line,a) /* Find dependents of case altern. */ ^ static.c:6515:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local checkNameAmbigName(line,n,isV) ^ static.c:6535:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local checkNameAmbig(line,t,e) ^ static.c:6549:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Cell local checkTyconAmbig(line,t,e) ^ static.c:6576:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Cell local depVar(line,e,check) /* Register occurrence of variable */ ^ static.c:6634:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Cell local depQVar(line,e,isV)/* register occurrence of qualified variable */ ^ static.c:6668:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local depConFlds(line,e,isP)/* check construction using fields */ ^ static.c:6745:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local depUpdFlds(line,e) /* check update using fields */ ^ static.c:6756:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static List local depFields(l,e,fs,isP) /* check field binding list */ ^ static.c:6832:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local depWith(line,e) /* check with using fields */ ^ static.c:6839:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static List local depDwFlds(l,e,fs)/* check field binding list */ ^ static.c:6929:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Cell local depRecord(line,e) /* find dependents of record and */ ^ In file included from static.c:6978: ./scc.c:23:18: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Int local sccMin(x,y) /* calculate minimum of x,y */ ^ ./scc.c:46:18: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Int local LOWLINK(v) /* calculate `lowlink' of v */ ^ static.c:6975:19: note: expanded from macro 'LOWLINK' #define LOWLINK tclowlink ^ In file included from static.c:6978: ./scc.c:88:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static List local SCC2(bs,cs) /* sort lists with added dependency*/ ^ static.c:6974:17: note: expanded from macro 'SCC2' #define SCC2 tcscc /* make scc algorithm for Tycons */ ^ In file included from static.c:6988: ./scc.c:46:18: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Int local LOWLINK(v) /* calculate `lowlink' of v */ ^ static.c:6985:19: note: expanded from macro 'LOWLINK' #define LOWLINK blowlink ^ In file included from static.c:6988: ./scc.c:74:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static List local SCC(bs) /* sort list with added dependency */ ^ static.c:6984:16: note: expanded from macro 'SCC' #define SCC bscc /* make scc algorithm for Bindings */ ^ static.c:7153:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local addRSsigdecls(pr) /* add sigdecls from TYPE ... IN ..*/ ^ static.c:7164:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local allNoPrevDef(b) /* ensure no previous bindings for*/ ^ static.c:7174:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local noPrevDef(line,v) /* ensure no previous binding for */ ^ static.c:7195:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local duplicateError(line,mod,t,kind)/* report duplicate defn */ ^ static.c:7211:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local checkTypeIn(cvs) /* Check that vars in restricted */ ^ static.c:7230:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Bool local h98Pred(allowArgs,pi) /* Check syntax of Hask98 predicate*/ ^ static.c:7238:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Cell local h98Context(allowArgs,ps) ^ static.c:7249:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local h98CheckCtxt(line,wh,allowArgs,ps,in) ^ static.c:7276:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local h98CheckType(line,wh,e,t) /* Check for Haskell 98 type */ ^ static.c:7303:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Void h98CheckInferredType(line,e,t) /* Check for Haskell 98 type */ ^ static.c:7328:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Void h98DoesntSupport(line,wh) /* Report feature missing in H98 */ ^ static.c:7345:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Void staticAnalysis(what) ^ 217 warnings generated. clang -c -DNDEBUG=1 -pipe -Os -I/opt/pkg/include/ncurses -no-cpp-precomp -O2 storage.c storage.c:99:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] String textToStr(t) /* find string corresp to given Text*/ ^ storage.c:112:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] String identToStr(v) /*find string corresp to given ident or qualified name*/ ^ storage.c:151:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Bool inventedText(t) /* Signal TRUE if text has been */ ^ storage.c:157:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Text fixLitText(t) /* fix literal text that might include \ */ ^ storage.c:179:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Text concatText(s1,s2) ^ storage.c:193:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Text subText(s,l) /* extract a substring and make it a Text */ ^ storage.c:208:18: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Int local hash(s) /* Simple hash function on strings */ ^ storage.c:219:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Text findText(s) /* Locate string in Text array */ ^ storage.c:266:18: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Int local saveText(t) /* Save text value in buffer */ ^ storage.c:286:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Addr getMem(n) /* Get some more memory */ ^ storage.c:303:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Void nextInstr(a) /* Reset point to next instruction */ ^ storage.c:324:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Ext mkExt(t) /* Allocate or find an Ext value */ ^ storage.c:354:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tycon newTycon(t) /* add new tycon to tycon table */ ^ storage.c:375:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tycon findTycon(t) /* locate Tycon in tycon table */ ^ storage.c:384:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tycon addTycon(tc) /* Insert Tycon in tycon table - if no clash is caused */ ^ storage.c:395:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local hashTycon(tc) /* Insert Tycon into hash table */ ^ storage.c:404:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tycon findQualTycon(id) /*locate (possibly qualified) Tycon in tycon table */ ^ storage.c:439:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tycon addPrimTycon(t,kind,ar,what,defn) /* add new primitive type constr */ ^ storage.c:456:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static List local insertTycon(tc,ts) /* insert tycon tc into sorted list*/ ^ storage.c:477:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] List addTyconsMatching(pat,ts) /* Add tycons matching pattern pat */ ^ storage.c:492:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Void removeTycon(tc) ^ storage.c:525:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Name newName(t,parent) /* Add new name to name table */ ^ storage.c:559:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Name findName(t) /* Locate name in name table */ ^ storage.c:568:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Name addName(nm) /* Insert Name in name table - if */ ^ storage.c:579:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local hashName(nm) /* Insert Name into hash table */ ^ storage.c:593:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Void removeName(n) ^ storage.c:607:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Name findQualName(id) /* Locate (possibly qualified) name*/ ^ storage.c:662:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] List findQualNames(id) /* Locate (possibly qualified) names */ ^ storage.c:738:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Name findQualFun(m,v) /* Locate name in name table */ ^ storage.c:776:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Bool setOldDLLFlag(flg) ^ storage.c:783:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Void registerPrims(info) /* register new primitives */ ^ storage.c:806:21: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] struct primInfoDef* setPrimInfoDll(dll) ^ storage.c:817:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local freePrimInfo(p) ^ storage.c:845:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Void addPrim(l,n,s,mod,ty) /* Add primitive function value */ ^ storage.c:908:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Name addPrimCfun(t,arity,no,type) /* add primitive constructor func */ ^ storage.c:922:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Int sfunPos(s,c) /* Find position of field with */ ^ storage.c:934:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static List local insertName(nm,ns) /* insert name nm into sorted list */ ^ storage.c:955:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] List addNamesMatching(pat,ns) /* Add names matching pattern pat */ ^ storage.c:990:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local patternError(s) /* report error in pattern */ ^ storage.c:996:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Bool local stringMatch(pat,str) /* match string against pattern */ ^ storage.c:1063:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Class newClass(t) /* add new class to class table */ ^ storage.c:1105:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Class findClass(t) /* look for named class in table */ ^ storage.c:1117:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Class addClass(c) /* Insert Class in class list */ ^ storage.c:1129:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Class findQualClass(c) /* Look for (possibly qualified) */ ^ storage.c:1190:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Inst findFirstInst(tc) /* look for 1st instance involving */ ^ storage.c:1195:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Inst findNextInst(tc,in) /* look for next instance involving*/ ^ storage.c:1207:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Bool local typeInvolves(ty,tc) /* Test to see if type ty involves */ ^ storage.c:1279:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Observe newObserve(t) ^ storage.c:1306:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Cell addObsInstance(s,e,id) ^ storage.c:1322:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Void appendObs(header, obsCell) ^ storage.c:1333:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Void insertAfterObs(old, new) ^ storage.c:1353:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Breakpt addBreakpt(s) /* Add to table if absent; state= disabled */ ^ storage.c:1380:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Breakpt findBreakpt(s) /* return index of breakpt name */ ^ storage.c:1396:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Bool breakNow(s) /* break enabled && no skips */ ^ storage.c:1411:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Void setBreakpt(s,v) /* enable breakpt; may create a table entry*/ ^ storage.c:1419:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Void setBreakCount(s,n) /* set skip count value for breakpoint */ ^ storage.c:1448:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Bool isValidModule(m) /* is m a legitimate module id? */ ^ storage.c:1453:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Module newModule(t) /* add new module to module table */ ^ storage.c:1470:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Module findModule(t) /* locate Module in module table */ ^ storage.c:1480:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Module findModid(c) /* Find module by name or filename */ ^ storage.c:1493:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Module findQualifier(t) /* locate Module in alias list */ ^ storage.c:1512:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] List findQualifiers(t) /* locate Modules in alias list */ ^ storage.c:1530:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Text findModAlias(t) /* given a module name 't', locate its alias. */ ^ storage.c:1541:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Void setCurrModule(m) /* set lookup tables for current module */ ^ storage.c:1569:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] List getModuleImports (m) /* In 'currentModule', look up imports from 'm'. */ ^ storage.c:1628:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Script startNewScript(f) /* start new script, keeping record */ ^ storage.c:1681:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Bool moduleThisScript(m) /* Test if given module is defined */ ^ storage.c:1700:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] scriptThis(scriptThisName,Name,nameHw) ^ storage.c:1701:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] scriptThis(scriptThisTycon,Tycon,tyconHw) ^ storage.c:1702:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] scriptThis(scriptThisInst,Inst,instHw) ^ storage.c:1703:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] scriptThis(scriptThisClass,Class,classHw) ^ storage.c:1706:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Module moduleOfScript(s) ^ storage.c:1711:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] String fileOfModule(m) ^ storage.c:1725:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Script scriptThisFile(f) ^ storage.c:1739:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Void dropAScript(sno) /* elide one script from the stack */ ^ storage.c:1768:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Void dropScriptsFrom(sno) /* Restore storage to state prior */ ^ storage.c:1829:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Void setScriptPrims(p) /* set the current script's primitive record. */ ^ storage.c:1945:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Cell pair(l,r) /* Allocate pair (l, r) from */ ^ storage.c:1969:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Void overwrite(dst,src) /* overwrite dst cell with src cell*/ ^ storage.c:1982:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Cell markExpr(c) /* External interface to markCell */ ^ storage.c:1987:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Cell local markCell(c) /* Traverse part of graph marking */ ^ storage.c:2038:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Cell local markSnd(c) /* Variant of markCell used to */ ^ storage.c:2089:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Cell local indirectChain(c) /* Scan chain of indirections */ ^ storage.c:2117:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Void markWithoutMove(n) /* Garbage collect cell at n, as if*/ ^ storage.c:2136:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Bool local isMarked(c) ^ storage.c:2397:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Void setLastExpr(e) /* save expression for later recall*/ ^ storage.c:2404:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Cell local lowLevelLastIn(c) /* Duplicate expression tree (i.e. */ ^ storage.c:2431:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Cell local lowLevelLastOut(c) /* As with lowLevelLastIn() above */ ^ storage.c:2700:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Bool isVar(c) /* is cell a VARIDCELL/VAROPCELL ? */ ^ storage.c:2706:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Bool isCon(c) /* is cell a CONIDCELL/CONOPCELL ? */ ^ storage.c:2711:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Bool isQVar(c) /* is cell a [un]qualified varop/id? */ ^ storage.c:2724:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Bool isQCon(c) /*is cell a [un]qualified conop/id? */ ^ storage.c:2737:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Bool isQualIdent(c) /* is cell a qualified identifier? */ ^ storage.c:2742:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Bool isIdent(c) /* is cell an identifier? */ ^ storage.c:2757:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Bool isInt(c) /* cell holds integer value? */ ^ storage.c:2762:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Int intOf(c) /* find integer value of cell? */ ^ storage.c:2767:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Cell mkInt(n) /* make cell representing integer */ ^ storage.c:2786:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Bool isChar(c) /* cell holds character value? */ ^ storage.c:2791:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Char charOf(c) /* find character value of cell? */ ^ storage.c:2796:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Cell mkChar(c) /* make cell representing character */ ^ storage.c:2806:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Bool isBignum(c) /* cell holds bignum value? */ ^ storage.c:2832:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Cell mkPtr(p) ^ storage.c:2840:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Pointer ptrOf(c) ^ storage.c:2870:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Int length(xs) /* calculate length of list xs */ ^ storage.c:2878:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] List appendOnto(xs,ys) /* Destructively prepend xs onto */ ^ storage.c:2891:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] List dupOnto(xs,ys) /* non-destructively prepend xs backwards onto ys */ ^ storage.c:2899:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] List dupList(xs) /* Duplicate spine of list xs */ ^ storage.c:2907:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] List dupUpto(xs,c) /* Duplicate spine of list xs */ ^ storage.c:2916:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] List revOnto(xs,ys) /* Destructively reverse elements of*/ ^ storage.c:2950:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] List concat(xss) ^ storage.c:2958:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] List intersect(xs,ys) ^ storage.c:2968:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Cell varIsMember(t,xs) /* Test if variable is a member of */ ^ storage.c:2977:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Name nameIsMember(t,ns) /* Test if name with text t is a */ ^ storage.c:2990:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Name nameInIEList(nm,ns) /* Test if Name is a member of */ ^ storage.c:3024:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tycon tyconInIEList(t,ns) /* Test if Tycon with text t is a */ ^ storage.c:3038:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Class classInIEList(t,ns) /* Test if Class with text t is a */ ^ storage.c:3053:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] List nubList(ls) /* (non-destructively) remove duplicates from list */ ^ storage.c:3066:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Cell intIsMember(n,xs) /* Test if integer n is member of */ ^ storage.c:3075:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Cell cellIsMember(x,xs) /* Test for membership of specific */ ^ storage.c:3084:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Cell cellAssoc(c,xs) /* Lookup cell in association list */ ^ storage.c:3093:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Cell cellRevAssoc(c,xs) /* Lookup cell in range of */ ^ storage.c:3102:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] List replicate(n,x) /* create list of n copies of x */ ^ storage.c:3111:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] List diffList(from,take) /* list difference: from\take */ ^ storage.c:3126:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] List deleteCell(xs, y) /* copy xs deleting pointers to y */ ^ storage.c:3139:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] List take(n,xs) /* destructively truncate list to */ ^ storage.c:3153:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] List splitAt(n,xs) /* drop n things from front of list*/ ^ storage.c:3162:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Cell nth(n,xs) /* extract n'th element of list */ ^ storage.c:3172:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] List removeCell(x,xs) /* destructively remove cell from */ ^ storage.c:3197:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Cell getHead(e) /* get head cell of application */ ^ storage.c:3204:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] List getArgs(e) /* get list of arguments in function*/ ^ storage.c:3213:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Cell nthArg(n,e) /* return nth arg in application */ ^ storage.c:3221:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Int numArgs(e) /* find number of arguments to expr */ ^ storage.c:3229:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Cell applyToArgs(f,args) /* destructively apply list of args */ ^ storage.c:3259:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local freeHandle(n) /* release handle storage when no */ ^ storage.c:3290:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Cell newMallocPtr(ptr) /* create a new malloc pointer */ ^ storage.c:3315:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Cell mkMallocPtr(ptr,cleanup) /* create a new malloc pointer */ ^ storage.c:3326:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Void incMallocPtrRefCnt(n,i) /* change ref count of MallocPtr */ ^ storage.c:3393:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Int mkStablePtr(c) /* Create a stable pointer */ ^ storage.c:3403:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Cell derefStablePtr(p) /* Dereference a stable pointer */ ^ storage.c:3411:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Void freeStablePtr(i) /* Free a stable pointer */ ^ storage.c:3442:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DynTable* allocDynTable(eltSize, maxIdx, hWater, tabName) ^ storage.c:3464:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void freeDynTable(tab) ^ storage.c:3473:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void growDynTable(tab) ^ storage.c:3515:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Void controlFuns(what) ^ storage.c:3551:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Void storage(what) ^ 145 warnings generated. clang -c -DNDEBUG=1 -pipe -Os -I/opt/pkg/include/ncurses -no-cpp-precomp -O2 strutil.c strutil.c:15:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] String strCopy(s) /* make malloced copy of a string */ ^ strutil.c:29:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] String strnCopy(s,n) /* make malloced copy of a substring */ ^ strutil.c:50:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Void splitQualString(nm, pMod, pName) ^ 3 warnings generated. clang -c -DNDEBUG=1 -pipe -Os -I/opt/pkg/include/ncurses -no-cpp-precomp subst.c subst.c:139:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local expandSubst(n) /* add further n type variables to */ ^ subst.c:183:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Int newTyvars(n) /* allocate new type variables */ ^ subst.c:201:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Int newKindedVars(k) /* allocate new variables with */ ^ subst.c:219:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Void instantiate(type) /* instantiate type, if nonNull */ ^ subst.c:246:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Pair findBtyvs(t) /* Look for bound tyvar */ ^ subst.c:258:18: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Int local findBtyvsInt(t) /* Look for bound type variable */ ^ subst.c:275:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Type localizeBtyvs(t) /* Localize type to eliminate refs */ ^ subst.c:300:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tyvar *getTypeVar(t,o) /* get number of type variable */ ^ subst.c:316:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Void tyvarType(vn) /* load type held in type variable */ ^ subst.c:340:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Void bindTv(vn,t,o) /* set type variable vn to (t,o) */ ^ subst.c:354:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Cell getDerefHead(t,o) /* get value at head of type exp. */ ^ subst.c:378:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Void expandSyn(h,ar,at,ao) /* Expand type synonym with: */ ^ subst.c:404:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local expandSyn1(h,at,ao) /* Expand type synonym with: */ ^ subst.c:454:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Void markTyvar(vn) /* mark fixed vars in type bound to*/ ^ subst.c:464:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Void markType(t,o) /* mark fixed vars in type (t,o) */ ^ subst.c:498:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Void markPred(pi) /* Marked fixed type vars in pi */ ^ subst.c:511:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Type copyTyvar(vn) /* calculate most general form of */ ^ subst.c:536:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Type copyType(t,o) /* calculate most general form of */ ^ subst.c:554:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Cell copyPred(pi,o) /* Copy single predicate (or part */ ^ subst.c:565:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Type zonkTyvar(vn) /* flatten type by chasing all references */ ^ subst.c:575:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Type zonkType(t,o) /* flatten type by chasing all references */ ^ subst.c:639:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Kind copyKindvar(vn) /* build kind attatched to variable*/ ^ subst.c:647:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Kind copyKind(k,o) /* build kind expression from */ ^ subst.c:665:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static List local listTyvar(vn,ns) ^ subst.c:678:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static List local listTyvars(t,o,ns) ^ subst.c:693:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Cell local dupTyvar(vn,ns) ^ subst.c:709:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Cell local dupTyvars(t,o,ns) ^ subst.c:724:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Cell local copyNoMark(t,o) /* Copy a type or predicate without*/ ^ subst.c:739:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Type dropRank2(t,alpha,n) /* Drop a (potentially) rank2 type */ ^ subst.c:759:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Type dropRank1(t,alpha,n) /* Copy rank1 argument type t to */ ^ subst.c:768:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Type local dropRank1Body(t,alpha,n) ^ subst.c:794:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Void liftRank2Args(as,alpha,m) ^ subst.c:809:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Type liftRank2(t,alpha,m) ^ subst.c:834:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Type liftRank1(t,alpha,m) ^ subst.c:848:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Type local liftRank1Body(t,n) ^ subst.c:878:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Bool eqKind(k1,k2) /* check that two (mono)kinds are */ ^ subst.c:886:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Kind getKind(c,o) /* Find kind of constr during type */ ^ subst.c:913:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Type genvarTyvar(vn,vs) /* calculate list of generic vars */ ^ subst.c:930:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] List genvarType(t,o,vs) /* calculate list of generic vars */ ^ subst.c:948:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Bool doesntOccurIn(lookFor,t,o) /* Return TRUE if var lookFor */ ^ subst.c:982:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Bool local varToVarBind(tyv1,tyv2)/* Make binding tyv1 := tyv2 */ ^ subst.c:1014:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Bool local varToTypeBind(tyv,t,o)/* Make binding tyv := (t,o) */ ^ subst.c:1043:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Bool unify(t1,o1,t2,o2) /* Main unification routine */ ^ subst.c:1163:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Bool local inserter(r1,o1,r,o) /* Insert first field in (r1,o1), */ ^ subst.c:1202:18: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Int local remover(l,r,o) /* Make a new row by copying (r,o) */ ^ subst.c:1226:18: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Int local tailVar(r,o) /* Find var at tail end of a row */ ^ subst.c:1247:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local expandSynFully(at,ao) /* repeatedly expand synonyms */ ^ subst.c:1263:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Type getProgType(ks,type) /* Extract t, if type is of the */ ^ subst.c:1330:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Bool samePred(pi1,o1,pi,o) /* Test to see if predicates are */ ^ subst.c:1342:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Bool matchPred(pi1,o1,pi,o) /* One way match predicate (pi1,o1)*/ ^ subst.c:1354:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Bool unifyPred(pi1,o1,pi,o) /* Unify two predicates */ ^ subst.c:1381:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Inst findInstFor(pi,o) /* Find matching instance for pred */ ^ subst.c:1480:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Void improve(line,sps,ps) /* Improve a list of predicates */ ^ subst.c:1502:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Void improve1(line,sps,pi,o) /* Improve a single predicate */ ^ subst.c:1519:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Bool improveAgainst(line,ps,pi,o) ^ subst.c:1549:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Bool instImprove(line,c,pi,o) ^ subst.c:1565:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Bool ipImprove(line,pi,o,pi1,o1) ^ subst.c:1590:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Bool pairImprove(line,c,pi1,o1,pi2,o2,above) /* Look for improvement of */ ^ subst.c:1659:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Bool sameSchemes(s,s1) /* Test to see whether two type */ ^ subst.c:1745:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Bool sameType(t1,o1,t,o) /* Test to see if types are */ ^ subst.c:1757:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Bool matchType(t1,o1,t,o) /* One way match type (t1,o1) */ ^ subst.c:1769:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Bool local matchTypeAbove(t1,o1,t,o,a) /* match, allowing only vars */ ^ subst.c:1786:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Bool local kvarToVarBind(tyv1,tyv2)/* Make binding tyv1 := tyv2 */ ^ subst.c:1798:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Bool local kvarToTypeBind(tyv,t,o)/* Make binding tyv := (t,o) */ ^ subst.c:1816:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Bool kunify(k1,o1,k2,o2) /* Unify kind expr (k1,o1) with */ ^ subst.c:1863:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Void typeTuple(e) /* find type for tuple constr, using*/ ^ subst.c:1875:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Type local makeTupleType(n) /* construct type for tuple constr. */ ^ subst.c:1901:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Kind local makeSimpleKind(n) /* construct * -> ... -> * (n args)*/ ^ subst.c:1909:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Kind simpleKind(n) /* return (possibly cached) simple */ ^ subst.c:1921:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Kind local makeVarKind(n) /* construct v0 -> .. -> vn */ ^ subst.c:1929:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Void varKind(n) /* return (possibly cached) var */ ^ subst.c:1944:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Void substitution(what) ^ 72 warnings generated. clang -c -DNDEBUG=1 -pipe -Os -I/opt/pkg/include/ncurses -no-cpp-precomp type.c type.c:316:18: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Int local defType(a) /* Return type for defining occ. */ ^ type.c:321:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Type local useType(a) /* Return type for use of a var */ ^ type.c:326:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local markAssumList(as) /* Mark all types in assumption set*/ ^ type.c:335:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Cell local findAssum(t) /* Find most recent assumption about*/ ^ type.c:371:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Pair local findInAssumList(t,as)/* Search for assumption for var */ ^ type.c:380:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static List local intsIntersect(as,bs) /* calculate intersection of lists */ ^ type.c:395:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static List local genvarAllAss(as) /* calculate generic vars that are */ ^ type.c:403:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static List local genvarAnyAss(as) /* calculate generic vars that are */ ^ type.c:411:18: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Int local newVarsBind(v) /* make new assump for pattern var */ ^ type.c:423:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local newDefnBind(v,type) /* make new assump for defn var */ ^ In file included from type.c:444: ./preds.c:71:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Cell local assumeEvid(pi,o) /* Add predicate pi (offset o) to */ ^ ./preds.c:80:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Cell local findIPEvid(t) ^ ./preds.c:91:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local removeIPEvid(t) ^ ./preds.c:105:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static List local makePredAss(qs,o) /* Make list of predicate assumps. */ ^ ./preds.c:114:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static List local copyPreds(qs) /* Copy list of predicates */ ^ ./preds.c:124:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local qualify(qs,alt) /* Add extra dictionary args to */ ^ ./preds.c:133:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local qualifyBinding(qs,b) /* Add extra dict args to each */ ^ ./preds.c:141:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Cell local qualifyExpr(l,ps,e) /* Add dictionary params to expr */ ^ ./preds.c:153:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local overEvid(dv,ev) /* Overwrite dict var dv with */ ^ ./preds.c:214:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local cutoffExceeded(pi,o,ps) ^ ./preds.c:236:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Cell local scFind(e,pi1,o1,pi,o,d)/* Use superclass entailment to */ ^ ./preds.c:289:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Cell local scEntail(ps,pi,o,d) /* Calc evidence for (pi,o) from ps*/ ^ ./preds.c:354:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Cell local entail(ps,pi,o,d) /* Calc evidence for (pi,o) from ps*/ ^ ./preds.c:404:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Cell local inEntail(ps,pi,o,d) /* Calc evidence for (pi,o) from ps*/ ^ ./preds.c:649:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Cell provePred(ks,ps,pi) /* Find evidence for predicate pi */ ^ ./preds.c:663:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Cell resolvePred(ks,pi) /* Find evidence for predicate pi. */ ^ ./preds.c:681:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Cell local lacksNorm(t,o,e) /* Normalize lacks pred (t,o)\l */ ^ ./preds.c:717:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static List local scSimplify(qs) /* Simplify predicates in qs, */ ^ ./preds.c:751:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] List simpleContext(ps,o) /* Simplify context of skeletons */ ^ ./preds.c:790:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Bool local anyGenerics(t,o) /* Test for generic vars, and count*/ ^ ./preds.c:819:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static List local elimOuterPreds(sps) /* Simplify and defer any remaining*/ ^ ./preds.c:842:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static List local elimPredsUsing(ps,sps)/* Try to discharge or defer preds,*/ ^ ./preds.c:908:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local normPreds(line) /* Normalize each element of preds */ ^ ./preds.c:959:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Bool local resolveDefs(vs,interactive)/* Attempt to resolve defaults */ ^ ./preds.c:1002:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Bool local resolveVar(vn,interactive)/* Determine whether an ambig. */ ^ ./preds.c:1085:20: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Class local classConstraining(vn,pi,o) ^ type.c:498:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Cell local patBtyvs(p) /* Strip bound type vars from pat */ ^ type.c:511:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local doneBtyvs(l) ^ type.c:526:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local leaveSkolVars(l,t,o,m) ^ type.c:597:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local typeError(l,e,in,wh,t,o) ^ type.c:621:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local reportTypeError(l,e,in,wh,inft,expt) ^ type.c:652:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local cantEstablish(line,wh,e,t,ps) ^ type.c:667:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local tooGeneral(l,e,dt,it) /* explicit type sig. too general */ ^ type.c:710:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Cell local typeExpr(l,e) /* Determine type of expr/pattern */ ^ type.c:897:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Cell local typeAp(l,e) /* Type check application, which */ ^ type.c:1076:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Cell local typeExpected(l,wh,e,reqd,alpha,n,addEvid) ^ type.c:1150:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local typeAlt(wh,e,a,t,o,m) /* Type check abstraction (Alt) */ ^ type.c:1233:18: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Int local funcType(n) /*return skeleton for function type*/ ^ type.c:1242:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local typeCase(l,beta,c) /* type check case: pat -> rhs */ ^ type.c:1261:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local typeComp(l,m,e,qs) /* type check comprehension */ ^ type.c:1357:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static List local getPats(bs) ^ type.c:1366:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Cell local tupleUp(xs) ^ type.c:1381:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Cell local typeZComp(l,m,e,qss) /* type check comprehension */ ^ type.c:1441:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local typeCompy(l,m,qs) /* type check comprehension */ ^ type.c:1497:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Cell local typeMonadComp(l,e) /* type check monad comprehension */ ^ type.c:1517:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Cell local typeMonadZComp(l,e) /* type check monad comprehension */ ^ type.c:1538:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local typeDo(l,e) /* type check do-notation */ ^ type.c:1560:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local typeRecComp(l,m,e,qs) /* type check rec-comp */ ^ type.c:1616:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local typeMDo(l,e) /* type check recursive-do */ ^ type.c:1634:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local typeRecursiveDo(l,e) /* type check recursive-do exp. */ ^ type.c:1688:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local typeConFlds(l,e) /* Type check a construction */ ^ type.c:1727:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local typeUpdFlds(line,e) /* Type check an update */ ^ type.c:1832:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Cell local typeWith(line,e) /* Type check a with */ ^ type.c:1883:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Cell local typeFreshPat(l,p) /* find type of pattern, assigning */ ^ type.c:1896:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local typeBindings(bs) /* type check a binding group */ ^ type.c:1931:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local removeTypeSigs(b) /* Remove type info from a binding */ ^ type.c:1940:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local monorestrict(bs) /* Type restricted binding group */ ^ type.c:1996:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local restrictedBindAss(b) /* Make assums for vars in binding */ ^ type.c:2022:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local restrictedAss(l,v,t) /* Assume that type of binding var v*/ ^ type.c:2039:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local unrestricted(bs) /* Type unrestricted binding group */ ^ In file included from type.c:2224: ./scc.c:23:18: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Int local sccMin(x,y) /* calculate minimum of x,y */ ^ ./scc.c:46:18: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Int local LOWLINK(v) /* calculate `lowlink' of v */ ^ type.c:2221:19: note: expanded from macro 'LOWLINK' #define LOWLINK itblowlink ^ In file included from type.c:2224: ./scc.c:74:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static List local SCC(bs) /* sort list with added dependency */ ^ type.c:2220:16: note: expanded from macro 'SCC' #define SCC itbscc /* scc for implicitly typed binds */ ^ type.c:2230:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local addEvidParams(qs,v) /* overwrite VARID/OPCELL v with */ ^ type.c:2250:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local typeClassDefn(c) /* Type check implementations of */ ^ type.c:2354:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local typeInstDefn(in) /* Type check implementations of */ ^ type.c:2476:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local typeMember(wh,mem,alts,evids,head,beta) ^ type.c:2565:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local typeBind(b) /* Type check binding */ ^ type.c:2598:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local typeDefAlt(beta,v,a) /* type check alt in func. binding */ ^ type.c:2606:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Cell local typeRhs(e) /* check type of rhs of definition */ ^ type.c:2636:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local guardedType(beta,gded)/* check type of guard (li,(gd,ex))*/ ^ type.c:2651:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Cell rhsExpr(rhs) /* find first expression on a rhs */ ^ type.c:2662:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Int rhsLine(rhs) /* find line number associated with */ ^ type.c:2677:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local genBind(ps,b) /* Generalize the type of each var */ ^ type.c:2698:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local genAss(l,ps,v,dt) /* Calculate inferred type of v and*/ ^ type.c:2718:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Type local genTest(l,v,ps,dt,t,o)/* Generalize and test inferred */ ^ type.c:2745:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Type local generalize(qs,t) /* calculate generalization of t */ ^ type.c:2770:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Bool local equalTypes(t1,t2) /* Compare simple types for equality*/ ^ type.c:2803:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Type typeCheckExp(useDefs) /* Type check top level expression */ ^ type.c:2874:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local typeDefnGroup(bs) /* type check group of value defns */ ^ type.c:2915:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void local typeForeignExport(n) /* Typecheck a foreign export decl */ ^ type.c:2944:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Pair local typeSel(s) /* Calculate a suitable type for a */ ^ type.c:3057:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Void typeChecker(what) ^ type.c:3157:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Name local linkName(s) ^ type.c:3167:20: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Tycon local linkTycon(s) ^ type.c:3177:20: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Class local linkClass(s) ^ 96 warnings generated. clang -L/opt/pkg/lib -flat_namespace hugs.o edit.o observe.o builtin.o char.o compiler.o errors.o evaluator.o ffi.o goal.o input.o machdep.o machine.o module.o opts.o output.o plugin.o script.o static.o storage.o strutil.o subst.o type.o version.o -lreadline -lncurses -lm -ldl -o hugs clang -c -DNDEBUG=1 -pipe -Os -I/opt/pkg/include/ncurses -no-cpp-precomp -O2 runhugs.c runhugs.c:44:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void loadHugs(argc,argv) ^ runhugs.c:61:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int main(argc,argv) ^ 2 warnings generated. clang -c -DNDEBUG=1 -pipe -Os -I/opt/pkg/include/ncurses -no-cpp-precomp -O2 server.c server.c:137:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Void setError(s) /* Format an error message */ ^ server.c:197:27: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DLLEXPORT(HugsServerAPI*) initHugsServer(argc, argv) /*server initialisation*/ ^ server.c:254:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DLLEXPORT(Void) shutdownHugsServer(hserv) /* server shutdown */ ^ server.c:311:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void Reset(scripts) /* Restore number of scripts to old level */ ^ server.c:320:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void SetOutputEnable(f) /* enable/disable compiler output */ ^ server.c:326:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void ChangeDir(s) /* change current directory */ ^ server.c:337:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void LoadProject(fn) /* load a project into the system */ ^ server.c:343:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void LoadFile(fn) /* load a module (from a file) into the system */ ^ server.c:353:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void LoadStringF(mod) /* load a module (from a string) into the system */ ^ server.c:363:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void SetOptions(opt) ^ server.c:373:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Bool SetModule(m) ^ server.c:383:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static HVal CompileExpr(m,e) /* compile expression e wrt module m */ ^ server.c:436:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void LookupName(m,v) /*Push value of qualified name onto stack*/ ^ server.c:467:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void MkInt(i) /* Push an Int onto the stack */ ^ server.c:478:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void MkAddr(a) /* Push an Addr onto the stack */ ^ server.c:489:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void MkString(s) /* Push a String onto the stack */ ^ server.c:804:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void PushHVal(hval) /* Put a value back on the stack */ ^ server.c:816:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Void FreeHVal(hval) /* Free a Haskell value */ ^ server.c:826:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Cell getTypeableDict(t) /* Find a Typeable dictionary for instance t, */ ^ 19 warnings generated. clang -L/opt/pkg/lib -flat_namespace runhugs.o server.o builtin.o char.o compiler.o errors.o evaluator.o ffi.o goal.o input.o machdep.o machine.o module.o opts.o output.o plugin.o script.o static.o storage.o strutil.o subst.o type.o version.o -lreadline -lncurses -lm -ldl -o runhugs clang -c -DNDEBUG=1 -pipe -Os -I/opt/pkg/include/ncurses -no-cpp-precomp -O2 -DFFI_COMPILER runhugs.c -o ffihugs.o runhugs.c:44:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void loadHugs(argc,argv) ^ runhugs.c:61:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int main(argc,argv) ^ 2 warnings generated. clang -L/opt/pkg/lib -flat_namespace ffihugs.o server.o builtin.o char.o compiler.o errors.o evaluator.o ffi.o goal.o input.o machdep.o machine.o module.o opts.o output.o plugin.o script.o static.o storage.o strutil.o subst.o type.o version.o -lreadline -lncurses -lm -ldl -o ffihugs gmake[1]: Leaving directory '/Users/pbulk/build/lang/hugs/work/hugs98-Sep2006/src' cd libraries; /opt/pkg/bin/gmake all gmake[1]: Entering directory '/Users/pbulk/build/lang/hugs/work/hugs98-Sep2006/libraries' mkdir -p ../hugsdir/include /bin/cp ../src/HsFFI.h ../hugsdir/include mkdir -p ../ghc/includes /bin/cp ../src/platform.h include/MachDeps.h include/ghcconfig.h ../ghc/includes CPPFLAGS='-D__HUGS__ -Ddarwin_HOST_OS -Ddarwin_TARGET_OS' tools/make_bootlib checking for gcc... clang checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether clang accepts -g... yes checking for clang option to accept ISO C89... none needed checking how to run the C preprocessor... clang -E checking for grep that handles long lines and -e... /Users/pbulk/build/lang/hugs/work/.tools/bin/grep checking for egrep... /Users/pbulk/build/lang/hugs/work/.tools/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for long long... yes checking for pid_t... yes checking vfork.h usability... no checking vfork.h presence... no checking for vfork.h... no checking for fork... yes checking for vfork... yes checking for working fork... yes checking for working vfork... (cached) yes checking for an ANSI C-conforming const... yes checking for ANSI C header files... (cached) yes checking ctype.h usability... yes checking ctype.h presence... yes checking for ctype.h... yes checking dirent.h usability... yes checking dirent.h presence... yes checking for dirent.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking sys/syscall.h usability... yes checking sys/syscall.h presence... yes checking for sys/syscall.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/timeb.h usability... yes checking sys/timeb.h presence... yes checking for sys/timeb.h... yes checking sys/timers.h usability... no checking sys/timers.h presence... no checking for sys/timers.h... no checking sys/times.h usability... yes checking sys/times.h presence... yes checking for sys/times.h... yes checking sys/utsname.h usability... yes checking sys/utsname.h presence... yes checking for sys/utsname.h... yes checking sys/wait.h usability... yes checking sys/wait.h presence... yes checking for sys/wait.h... yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking time.h usability... yes checking time.h presence... yes checking for time.h... yes checking utime.h usability... yes checking utime.h presence... yes checking for utime.h... yes checking windows.h usability... no checking windows.h presence... no checking for windows.h... no checking winsock.h usability... no checking winsock.h presence... no checking for winsock.h... no checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for _LARGE_FILES value needed for large files... no checking wctype.h usability... yes checking wctype.h presence... yes checking for wctype.h... yes checking for iswspace... yes checking for ftime... yes checking for gmtime_r... yes checking for localtime_r... yes checking for lstat... yes checking for readdir_r... yes checking for getclock... no checking for getrusage... yes checking for gettimeofday... yes checking for setitimer... yes checking for times... yes checking for _chsize... no checking for ftruncate... yes checking for execvpe... no checking whether time.h and sys/time.h may both be included... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for struct tm.tm_zone... yes checking for sys/time.h... (cached) yes checking whether altzone is declared... no checking Haskell type for char... Int8 checking Haskell type for signed char... Int8 checking Haskell type for unsigned char... Word8 checking Haskell type for short... Int16 checking Haskell type for unsigned short... Word16 checking Haskell type for int... Int32 checking Haskell type for unsigned int... Word32 checking Haskell type for long... Int64 checking Haskell type for unsigned long... Word64 checking Haskell type for long long... Int64 checking Haskell type for unsigned long long... Word64 checking Haskell type for float... Float checking Haskell type for double... Double checking Haskell type for ptrdiff_t... Int64 checking Haskell type for size_t... Word64 checking Haskell type for wchar_t... Int32 checking Haskell type for sig_atomic_t... Int32 checking Haskell type for clock_t... Word64 checking Haskell type for time_t... Int64 checking Haskell type for dev_t... Int32 checking Haskell type for ino_t... Word64 checking Haskell type for mode_t... Word16 checking Haskell type for off_t... Int64 checking Haskell type for pid_t... Int32 checking Haskell type for gid_t... Word32 checking Haskell type for uid_t... Word32 checking Haskell type for cc_t... Word8 checking Haskell type for speed_t... Word64 checking Haskell type for tcflag_t... Word64 checking Haskell type for nlink_t... Word16 checking Haskell type for ssize_t... Int64 checking Haskell type for rlim_t... Word64 checking Haskell type for wint_t... Int32 checking Haskell type for intptr_t... Int64 checking Haskell type for uintptr_t... Word64 checking Haskell type for intmax_t... Int64 checking Haskell type for uintmax_t... Word64 checking value of E2BIG... 7 checking value of EACCES... 13 checking value of EADDRINUSE... 48 checking value of EADDRNOTAVAIL... 49 checking value of EADV... -1 checking value of EAFNOSUPPORT... 47 checking value of EAGAIN... 35 checking value of EALREADY... 37 checking value of EBADF... 9 checking value of EBADMSG... 94 checking value of EBADRPC... 72 checking value of EBUSY... 16 checking value of ECHILD... 10 checking value of ECOMM... -1 checking value of ECONNABORTED... 53 checking value of ECONNREFUSED... 61 checking value of ECONNRESET... 54 checking value of EDEADLK... 11 checking value of EDESTADDRREQ... 39 checking value of EDIRTY... -1 checking value of EDOM... 33 checking value of EDQUOT... 69 checking value of EEXIST... 17 checking value of EFAULT... 14 checking value of EFBIG... 27 checking value of EFTYPE... 79 checking value of EHOSTDOWN... 64 checking value of EHOSTUNREACH... 65 checking value of EIDRM... 90 checking value of EILSEQ... 92 checking value of EINPROGRESS... 36 checking value of EINTR... 4 checking value of EINVAL... 22 checking value of EIO... 5 checking value of EISCONN... 56 checking value of EISDIR... 21 checking value of ELOOP... 62 checking value of EMFILE... 24 checking value of EMLINK... 31 checking value of EMSGSIZE... 40 checking value of EMULTIHOP... 95 checking value of ENAMETOOLONG... 63 checking value of ENETDOWN... 50 checking value of ENETRESET... 52 checking value of ENETUNREACH... 51 checking value of ENFILE... 23 checking value of ENOBUFS... 55 checking value of ENODATA... 96 checking value of ENODEV... 19 checking value of ENOENT... 2 checking value of ENOEXEC... 8 checking value of ENOLCK... 77 checking value of ENOLINK... 97 checking value of ENOMEM... 12 checking value of ENOMSG... 91 checking value of ENONET... -1 checking value of ENOPROTOOPT... 42 checking value of ENOSPC... 28 checking value of ENOSR... 98 checking value of ENOSTR... 99 checking value of ENOSYS... 78 checking value of ENOTBLK... 15 checking value of ENOTCONN... 57 checking value of ENOTDIR... 20 checking value of ENOTEMPTY... 66 checking value of ENOTSOCK... 38 checking value of ENOTTY... 25 checking value of ENXIO... 6 checking value of EOPNOTSUPP... 102 checking value of EPERM... 1 checking value of EPFNOSUPPORT... 46 checking value of EPIPE... 32 checking value of EPROCLIM... 67 checking value of EPROCUNAVAIL... 76 checking value of EPROGMISMATCH... 75 checking value of EPROGUNAVAIL... 74 checking value of EPROTO... 100 checking value of EPROTONOSUPPORT... 43 checking value of EPROTOTYPE... 41 checking value of ERANGE... 34 checking value of EREMCHG... -1 checking value of EREMOTE... 71 checking value of EROFS... 30 checking value of ERPCMISMATCH... 73 checking value of ERREMOTE... -1 checking value of ESHUTDOWN... 58 checking value of ESOCKTNOSUPPORT... 44 checking value of ESPIPE... 29 checking value of ESRCH... 3 checking value of ESRMNT... -1 checking value of ESTALE... 70 checking value of ETIME... 101 checking value of ETIMEDOUT... 60 checking value of ETOOMANYREFS... 59 checking value of ETXTBSY... 26 checking value of EUSERS... 68 checking value of EWOULDBLOCK... 35 checking value of EXDEV... 18 checking value of ENOCIGAR... -1 checking value of SIGABRT... 6 checking value of SIGALRM... 14 checking value of SIGBUS... 10 checking value of SIGCHLD... 20 checking value of SIGCONT... 19 checking value of SIGFPE... 8 checking value of SIGHUP... 1 checking value of SIGILL... 4 checking value of SIGINT... 2 checking value of SIGKILL... 9 checking value of SIGPIPE... 13 checking value of SIGQUIT... 3 checking value of SIGSEGV... 11 checking value of SIGSTOP... 17 checking value of SIGTERM... 15 checking value of SIGTSTP... 18 checking value of SIGTTIN... 21 checking value of SIGTTOU... 22 checking value of SIGUSR1... 30 checking value of SIGUSR2... 31 checking value of SIGPOLL... -1 checking value of SIGPROF... 27 checking value of SIGSYS... 12 checking value of SIGTRAP... 5 checking value of SIGURG... 16 checking value of SIGVTALRM... 26 checking value of SIGXCPU... 24 checking value of SIGXFSZ... 25 checking value of SIG_BLOCK... 1 checking value of SIG_SETMASK... 3 checking value of SIG_UNBLOCK... 2 checking value of SIG_DFL... 0 checking value of SIG_IGN... 1 checking value of SIG_ERR... 18446744073709551615 checking value of O_BINARY... 0 checking what readdir sets errno to upon EOF... 0 configure: creating ./config.status config.status: creating include/HsBaseConfig.h Preprocessing Control/Applicative Preprocessing Control/Arrow Preprocessing Control/Concurrent Preprocessing Control/Concurrent/Chan Preprocessing Control/Concurrent/MVar Preprocessing Control/Concurrent/QSem Preprocessing Control/Concurrent/QSemN Preprocessing Control/Concurrent/SampleVar Preprocessing Control/Exception Preprocessing Control/Monad Preprocessing Control/Monad/Fix Preprocessing Control/Monad/Instances Preprocessing Control/Monad/ST Preprocessing Control/Monad/ST/Lazy Preprocessing Control/Monad/ST/Strict Preprocessing Control/Parallel Preprocessing Control/Parallel/Strategies Preprocessing Data/Array Preprocessing Data/Array/Base Preprocessing Data/Array/Diff Preprocessing Data/Array/IArray Preprocessing Data/Array/IO Preprocessing Data/Array/IO/Internals Preprocessing Data/Array/MArray Preprocessing Data/Array/ST Preprocessing Data/Array/Storable Preprocessing Data/Array/Unboxed Preprocessing Data/Bits Preprocessing Data/Bool Preprocessing Data/ByteString Preprocessing Data/ByteString/Base Preprocessing Data/ByteString/Char8 Preprocessing Data/ByteString/Fusion Preprocessing Data/ByteString/Lazy Preprocessing Data/ByteString/Lazy/Char8 Preprocessing Data/Char Preprocessing Data/Complex Preprocessing Data/Dynamic Preprocessing Data/Either Preprocessing Data/Eq Preprocessing Data/Fixed Preprocessing Data/Foldable Preprocessing Data/FunctorM Preprocessing Data/Generics Preprocessing Data/Generics/Aliases Preprocessing Data/Generics/Basics Preprocessing Data/Generics/Instances Preprocessing Data/Generics/Schemes Preprocessing Data/Generics/Text Preprocessing Data/Generics/Twins Preprocessing Data/Graph Preprocessing Data/HashTable Preprocessing Data/IORef Preprocessing Data/Int Preprocessing Data/IntMap Preprocessing Data/IntSet Preprocessing Data/Ix Preprocessing Data/List Preprocessing Data/Map Preprocessing Data/Maybe Preprocessing Data/Monoid Preprocessing Data/Ord Preprocessing Data/PackedString Preprocessing Data/Queue Preprocessing Data/Ratio Preprocessing Data/STRef Preprocessing Data/STRef/Lazy Preprocessing Data/STRef/Strict Preprocessing Data/Sequence Preprocessing Data/Set Preprocessing Data/Traversable Preprocessing Data/Tree Preprocessing Data/Tuple Preprocessing Data/Typeable Preprocessing Data/Unique Preprocessing Data/Version Preprocessing Data/Word Preprocessing Debug/Trace Preprocessing Foreign Preprocessing Foreign/C Preprocessing Foreign/C/Error Preprocessing Foreign/C/String Preprocessing Foreign/C/Types Preprocessing Foreign/Concurrent Preprocessing Foreign/ForeignPtr Preprocessing Foreign/Marshal Preprocessing Foreign/Marshal/Alloc Preprocessing Foreign/Marshal/Array Preprocessing Foreign/Marshal/Error Preprocessing Foreign/Marshal/Pool Preprocessing Foreign/Marshal/Utils Preprocessing Foreign/Ptr Preprocessing Foreign/StablePtr Preprocessing Foreign/Storable Preprocessing Numeric Preprocessing Prelude Preprocessing System/CPUTime Preprocessing System/Cmd Preprocessing System/Console/GetOpt Preprocessing System/Directory Preprocessing System/Directory/Internals Preprocessing System/Environment Preprocessing System/Exit Preprocessing System/IO Preprocessing System/IO/Error Preprocessing System/IO/Unsafe Preprocessing System/Info Preprocessing System/Locale Preprocessing System/Mem Preprocessing System/Mem/StableName Preprocessing System/Mem/Weak Preprocessing System/Posix/Internals Preprocessing System/Posix/Signals Preprocessing System/Posix/Types Preprocessing System/Process Preprocessing System/Process/Internals Preprocessing System/Random Preprocessing System/Time Preprocessing Text/ParserCombinators/ReadP Preprocessing Text/ParserCombinators/ReadPrec Preprocessing Text/PrettyPrint Preprocessing Text/PrettyPrint/HughesPJ Preprocessing Text/Printf Preprocessing Text/Read Preprocessing Text/Read/Lex Preprocessing Text/Show Preprocessing Text/Show/Functions Preprocessing Array Preprocessing Bits Preprocessing CError Preprocessing CForeign Preprocessing CPUTime Preprocessing CString Preprocessing CTypes Preprocessing Char Preprocessing Complex Preprocessing Directory Preprocessing ForeignPtr Preprocessing IO Preprocessing Int Preprocessing Ix Preprocessing List Preprocessing Locale Preprocessing MarshalAlloc Preprocessing MarshalArray Preprocessing MarshalError Preprocessing MarshalUtils Preprocessing Maybe Preprocessing Monad Preprocessing Ptr Preprocessing Random Preprocessing Ratio Preprocessing StablePtr Preprocessing Storable Preprocessing System Preprocessing Time Preprocessing Word Preprocessing DefaultSetup /tmp/cvt.1741/cppinput.c:1:2: Unknown directive #!/usr/bin/runhaskell Preprocessing Distribution/Compat/Directory Preprocessing Distribution/Compat/Exception Preprocessing Distribution/Compat/FilePath Preprocessing Distribution/Compat/Map Preprocessing Distribution/Compat/RawSystem Preprocessing Distribution/Compat/ReadP Preprocessing Distribution/Compiler Preprocessing Distribution/Extension Preprocessing Distribution/GetOpt Preprocessing Distribution/InstalledPackageInfo Preprocessing Distribution/License Preprocessing Distribution/Make Preprocessing Distribution/Package Preprocessing Distribution/PackageDescription Preprocessing Distribution/ParseUtils Preprocessing Distribution/PreProcess Preprocessing Distribution/PreProcess/Unlit Preprocessing Distribution/Program Preprocessing Distribution/Setup Preprocessing Distribution/Simple Preprocessing Distribution/Simple/Build Preprocessing Distribution/Simple/Configure Preprocessing Distribution/Simple/GHC Preprocessing Distribution/Simple/GHCPackageConfig Preprocessing Distribution/Simple/Hugs Preprocessing Distribution/Simple/Install Preprocessing Distribution/Simple/JHC Preprocessing Distribution/Simple/LocalBuildInfo Preprocessing Distribution/Simple/NHC Preprocessing Distribution/Simple/Register Preprocessing Distribution/Simple/SrcDist Preprocessing Distribution/Simple/Utils Preprocessing Distribution/Version Preprocessing Language/Haskell/Extension Preprocessing Network/Hackage/CabalInstall/BuildDep Preprocessing Network/Hackage/CabalInstall/Clean Preprocessing Network/Hackage/CabalInstall/Config Preprocessing Network/Hackage/CabalInstall/Configure Preprocessing Network/Hackage/CabalInstall/Dependency Preprocessing Network/Hackage/CabalInstall/Fetch Preprocessing Network/Hackage/CabalInstall/Info Preprocessing Network/Hackage/CabalInstall/Install Preprocessing Network/Hackage/CabalInstall/List Preprocessing Network/Hackage/CabalInstall/Main Preprocessing Network/Hackage/CabalInstall/Setup Preprocessing Network/Hackage/CabalInstall/TarUtils Preprocessing Network/Hackage/CabalInstall/Types Preprocessing Network/Hackage/CabalInstall/Update Preprocessing Network/Hackage/Client Preprocessing Network/Hackage/Interface Preprocessing Network/Hackage/Version libraries/bootlib/Hugs/Storable.c:567:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void hugs_primControl(what) ^ 1 warning generated. In file included from libraries/bootlib/Foreign/C/Error.c:4: packages/base/include/HsBase.h:238:29: warning: parameter 'm' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] INLINE int __hscore_s_isreg(m) { return S_ISREG(m); } ^ packages/base/include/HsBase.h:238:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] INLINE int __hscore_s_isreg(m) { return S_ISREG(m); } ^ packages/base/include/HsBase.h:239:29: warning: parameter 'm' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] INLINE int __hscore_s_isdir(m) { return S_ISDIR(m); } ^ packages/base/include/HsBase.h:239:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] INLINE int __hscore_s_isdir(m) { return S_ISDIR(m); } ^ packages/base/include/HsBase.h:240:30: warning: parameter 'm' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] INLINE int __hscore_s_isfifo(m) { return S_ISFIFO(m); } ^ packages/base/include/HsBase.h:240:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] INLINE int __hscore_s_isfifo(m) { return S_ISFIFO(m); } ^ packages/base/include/HsBase.h:241:29: warning: parameter 'm' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] INLINE int __hscore_s_isblk(m) { return S_ISBLK(m); } ^ packages/base/include/HsBase.h:241:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] INLINE int __hscore_s_isblk(m) { return S_ISBLK(m); } ^ packages/base/include/HsBase.h:242:29: warning: parameter 'm' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] INLINE int __hscore_s_ischr(m) { return S_ISCHR(m); } ^ packages/base/include/HsBase.h:242:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] INLINE int __hscore_s_ischr(m) { return S_ISCHR(m); } ^ packages/base/include/HsBase.h:244:30: warning: parameter 'm' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] INLINE int __hscore_s_issock(m) { return S_ISSOCK(m); } ^ packages/base/include/HsBase.h:244:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] INLINE int __hscore_s_issock(m) { return S_ISSOCK(m); } ^ libraries/bootlib/Foreign/C/Error.c:59:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void hugs_primControl(what) ^ 13 warnings generated. In file included from packages/base/cbits/PrelIOUtils.c:8: packages/base/include/HsBase.h:238:29: warning: parameter 'm' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] INLINE int __hscore_s_isreg(m) { return S_ISREG(m); } ^ packages/base/include/HsBase.h:238:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] INLINE int __hscore_s_isreg(m) { return S_ISREG(m); } ^ packages/base/include/HsBase.h:239:29: warning: parameter 'm' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] INLINE int __hscore_s_isdir(m) { return S_ISDIR(m); } ^ packages/base/include/HsBase.h:239:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] INLINE int __hscore_s_isdir(m) { return S_ISDIR(m); } ^ packages/base/include/HsBase.h:240:30: warning: parameter 'm' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] INLINE int __hscore_s_isfifo(m) { return S_ISFIFO(m); } ^ packages/base/include/HsBase.h:240:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] INLINE int __hscore_s_isfifo(m) { return S_ISFIFO(m); } ^ packages/base/include/HsBase.h:241:29: warning: parameter 'm' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] INLINE int __hscore_s_isblk(m) { return S_ISBLK(m); } ^ packages/base/include/HsBase.h:241:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] INLINE int __hscore_s_isblk(m) { return S_ISBLK(m); } ^ packages/base/include/HsBase.h:242:29: warning: parameter 'm' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] INLINE int __hscore_s_ischr(m) { return S_ISCHR(m); } ^ packages/base/include/HsBase.h:242:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] INLINE int __hscore_s_ischr(m) { return S_ISCHR(m); } ^ packages/base/include/HsBase.h:244:30: warning: parameter 'm' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] INLINE int __hscore_s_issock(m) { return S_ISSOCK(m); } ^ packages/base/include/HsBase.h:244:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] INLINE int __hscore_s_issock(m) { return S_ISSOCK(m); } ^ 12 warnings generated. In file included from libraries/bootlib/Foreign/Marshal/Alloc.c:4: packages/base/include/HsBase.h:238:29: warning: parameter 'm' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] INLINE int __hscore_s_isreg(m) { return S_ISREG(m); } ^ packages/base/include/HsBase.h:238:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] INLINE int __hscore_s_isreg(m) { return S_ISREG(m); } ^ packages/base/include/HsBase.h:239:29: warning: parameter 'm' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] INLINE int __hscore_s_isdir(m) { return S_ISDIR(m); } ^ packages/base/include/HsBase.h:239:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] INLINE int __hscore_s_isdir(m) { return S_ISDIR(m); } ^ packages/base/include/HsBase.h:240:30: warning: parameter 'm' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] INLINE int __hscore_s_isfifo(m) { return S_ISFIFO(m); } ^ packages/base/include/HsBase.h:240:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] INLINE int __hscore_s_isfifo(m) { return S_ISFIFO(m); } ^ packages/base/include/HsBase.h:241:29: warning: parameter 'm' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] INLINE int __hscore_s_isblk(m) { return S_ISBLK(m); } ^ packages/base/include/HsBase.h:241:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] INLINE int __hscore_s_isblk(m) { return S_ISBLK(m); } ^ packages/base/include/HsBase.h:242:29: warning: parameter 'm' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] INLINE int __hscore_s_ischr(m) { return S_ISCHR(m); } ^ packages/base/include/HsBase.h:242:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] INLINE int __hscore_s_ischr(m) { return S_ISCHR(m); } ^ packages/base/include/HsBase.h:244:30: warning: parameter 'm' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] INLINE int __hscore_s_issock(m) { return S_ISSOCK(m); } ^ packages/base/include/HsBase.h:244:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] INLINE int __hscore_s_issock(m) { return S_ISSOCK(m); } ^ libraries/bootlib/Foreign/Marshal/Alloc.c:73:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void hugs_primControl(what) ^ 13 warnings generated. In file included from packages/base/cbits/PrelIOUtils.c:8: packages/base/include/HsBase.h:238:29: warning: parameter 'm' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] INLINE int __hscore_s_isreg(m) { return S_ISREG(m); } ^ packages/base/include/HsBase.h:238:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] INLINE int __hscore_s_isreg(m) { return S_ISREG(m); } ^ packages/base/include/HsBase.h:239:29: warning: parameter 'm' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] INLINE int __hscore_s_isdir(m) { return S_ISDIR(m); } ^ packages/base/include/HsBase.h:239:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] INLINE int __hscore_s_isdir(m) { return S_ISDIR(m); } ^ packages/base/include/HsBase.h:240:30: warning: parameter 'm' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] INLINE int __hscore_s_isfifo(m) { return S_ISFIFO(m); } ^ packages/base/include/HsBase.h:240:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] INLINE int __hscore_s_isfifo(m) { return S_ISFIFO(m); } ^ packages/base/include/HsBase.h:241:29: warning: parameter 'm' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] INLINE int __hscore_s_isblk(m) { return S_ISBLK(m); } ^ packages/base/include/HsBase.h:241:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] INLINE int __hscore_s_isblk(m) { return S_ISBLK(m); } ^ packages/base/include/HsBase.h:242:29: warning: parameter 'm' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] INLINE int __hscore_s_ischr(m) { return S_ISCHR(m); } ^ packages/base/include/HsBase.h:242:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] INLINE int __hscore_s_ischr(m) { return S_ISCHR(m); } ^ packages/base/include/HsBase.h:244:30: warning: parameter 'm' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] INLINE int __hscore_s_issock(m) { return S_ISSOCK(m); } ^ packages/base/include/HsBase.h:244:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] INLINE int __hscore_s_issock(m) { return S_ISSOCK(m); } ^ 12 warnings generated. In file included from packages/base/cbits/dirUtils.c:16: packages/base/include/HsBase.h:238:29: warning: parameter 'm' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] INLINE int __hscore_s_isreg(m) { return S_ISREG(m); } ^ packages/base/include/HsBase.h:238:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] INLINE int __hscore_s_isreg(m) { return S_ISREG(m); } ^ packages/base/include/HsBase.h:239:29: warning: parameter 'm' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] INLINE int __hscore_s_isdir(m) { return S_ISDIR(m); } ^ packages/base/include/HsBase.h:239:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] INLINE int __hscore_s_isdir(m) { return S_ISDIR(m); } ^ packages/base/include/HsBase.h:240:30: warning: parameter 'm' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] INLINE int __hscore_s_isfifo(m) { return S_ISFIFO(m); } ^ packages/base/include/HsBase.h:240:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] INLINE int __hscore_s_isfifo(m) { return S_ISFIFO(m); } ^ packages/base/include/HsBase.h:241:29: warning: parameter 'm' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] INLINE int __hscore_s_isblk(m) { return S_ISBLK(m); } ^ packages/base/include/HsBase.h:241:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] INLINE int __hscore_s_isblk(m) { return S_ISBLK(m); } ^ packages/base/include/HsBase.h:242:29: warning: parameter 'm' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] INLINE int __hscore_s_ischr(m) { return S_ISCHR(m); } ^ packages/base/include/HsBase.h:242:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] INLINE int __hscore_s_ischr(m) { return S_ISCHR(m); } ^ packages/base/include/HsBase.h:244:30: warning: parameter 'm' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] INLINE int __hscore_s_issock(m) { return S_ISSOCK(m); } ^ packages/base/include/HsBase.h:244:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] INLINE int __hscore_s_issock(m) { return S_ISSOCK(m); } ^ 12 warnings generated. In file included from libraries/bootlib/Foreign/Marshal/Utils.c:4: packages/base/include/HsBase.h:238:29: warning: parameter 'm' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] INLINE int __hscore_s_isreg(m) { return S_ISREG(m); } ^ packages/base/include/HsBase.h:238:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] INLINE int __hscore_s_isreg(m) { return S_ISREG(m); } ^ packages/base/include/HsBase.h:239:29: warning: parameter 'm' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] INLINE int __hscore_s_isdir(m) { return S_ISDIR(m); } ^ packages/base/include/HsBase.h:239:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] INLINE int __hscore_s_isdir(m) { return S_ISDIR(m); } ^ packages/base/include/HsBase.h:240:30: warning: parameter 'm' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] INLINE int __hscore_s_isfifo(m) { return S_ISFIFO(m); } ^ packages/base/include/HsBase.h:240:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] INLINE int __hscore_s_isfifo(m) { return S_ISFIFO(m); } ^ packages/base/include/HsBase.h:241:29: warning: parameter 'm' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] INLINE int __hscore_s_isblk(m) { return S_ISBLK(m); } ^ packages/base/include/HsBase.h:241:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] INLINE int __hscore_s_isblk(m) { return S_ISBLK(m); } ^ packages/base/include/HsBase.h:242:29: warning: parameter 'm' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] INLINE int __hscore_s_ischr(m) { return S_ISCHR(m); } ^ packages/base/include/HsBase.h:242:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] INLINE int __hscore_s_ischr(m) { return S_ISCHR(m); } ^ packages/base/include/HsBase.h:244:30: warning: parameter 'm' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] INLINE int __hscore_s_issock(m) { return S_ISSOCK(m); } ^ packages/base/include/HsBase.h:244:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] INLINE int __hscore_s_issock(m) { return S_ISSOCK(m); } ^ libraries/bootlib/Foreign/Marshal/Utils.c:51:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void hugs_primControl(what) ^ 13 warnings generated. In file included from libraries/bootlib/Foreign/Ptr.c:4: packages/base/include/HsBase.h:238:29: warning: parameter 'm' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] INLINE int __hscore_s_isreg(m) { return S_ISREG(m); } ^ packages/base/include/HsBase.h:238:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] INLINE int __hscore_s_isreg(m) { return S_ISREG(m); } ^ packages/base/include/HsBase.h:239:29: warning: parameter 'm' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] INLINE int __hscore_s_isdir(m) { return S_ISDIR(m); } ^ packages/base/include/HsBase.h:239:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] INLINE int __hscore_s_isdir(m) { return S_ISDIR(m); } ^ packages/base/include/HsBase.h:240:30: warning: parameter 'm' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] INLINE int __hscore_s_isfifo(m) { return S_ISFIFO(m); } ^ packages/base/include/HsBase.h:240:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] INLINE int __hscore_s_isfifo(m) { return S_ISFIFO(m); } ^ packages/base/include/HsBase.h:241:29: warning: parameter 'm' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] INLINE int __hscore_s_isblk(m) { return S_ISBLK(m); } ^ packages/base/include/HsBase.h:241:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] INLINE int __hscore_s_isblk(m) { return S_ISBLK(m); } ^ packages/base/include/HsBase.h:242:29: warning: parameter 'm' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] INLINE int __hscore_s_ischr(m) { return S_ISCHR(m); } ^ packages/base/include/HsBase.h:242:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] INLINE int __hscore_s_ischr(m) { return S_ISCHR(m); } ^ packages/base/include/HsBase.h:244:30: warning: parameter 'm' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] INLINE int __hscore_s_issock(m) { return S_ISSOCK(m); } ^ packages/base/include/HsBase.h:244:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] INLINE int __hscore_s_issock(m) { return S_ISSOCK(m); } ^ libraries/bootlib/Foreign/Ptr.c:76:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void hugs_primControl(what) ^ 13 warnings generated. In file included from packages/base/cbits/PrelIOUtils.c:8: packages/base/include/HsBase.h:238:29: warning: parameter 'm' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] INLINE int __hscore_s_isreg(m) { return S_ISREG(m); } ^ packages/base/include/HsBase.h:238:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] INLINE int __hscore_s_isreg(m) { return S_ISREG(m); } ^ packages/base/include/HsBase.h:239:29: warning: parameter 'm' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] INLINE int __hscore_s_isdir(m) { return S_ISDIR(m); } ^ packages/base/include/HsBase.h:239:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] INLINE int __hscore_s_isdir(m) { return S_ISDIR(m); } ^ packages/base/include/HsBase.h:240:30: warning: parameter 'm' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] INLINE int __hscore_s_isfifo(m) { return S_ISFIFO(m); } ^ packages/base/include/HsBase.h:240:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] INLINE int __hscore_s_isfifo(m) { return S_ISFIFO(m); } ^ packages/base/include/HsBase.h:241:29: warning: parameter 'm' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] INLINE int __hscore_s_isblk(m) { return S_ISBLK(m); } ^ packages/base/include/HsBase.h:241:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] INLINE int __hscore_s_isblk(m) { return S_ISBLK(m); } ^ packages/base/include/HsBase.h:242:29: warning: parameter 'm' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] INLINE int __hscore_s_ischr(m) { return S_ISCHR(m); } ^ packages/base/include/HsBase.h:242:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] INLINE int __hscore_s_ischr(m) { return S_ISCHR(m); } ^ packages/base/include/HsBase.h:244:30: warning: parameter 'm' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] INLINE int __hscore_s_issock(m) { return S_ISSOCK(m); } ^ packages/base/include/HsBase.h:244:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] INLINE int __hscore_s_issock(m) { return S_ISSOCK(m); } ^ 12 warnings generated. In file included from libraries/bootlib/System/Posix/Internals.c:4: packages/base/include/HsBase.h:238:29: warning: parameter 'm' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] INLINE int __hscore_s_isreg(m) { return S_ISREG(m); } ^ packages/base/include/HsBase.h:238:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] INLINE int __hscore_s_isreg(m) { return S_ISREG(m); } ^ packages/base/include/HsBase.h:239:29: warning: parameter 'm' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] INLINE int __hscore_s_isdir(m) { return S_ISDIR(m); } ^ packages/base/include/HsBase.h:239:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] INLINE int __hscore_s_isdir(m) { return S_ISDIR(m); } ^ packages/base/include/HsBase.h:240:30: warning: parameter 'm' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] INLINE int __hscore_s_isfifo(m) { return S_ISFIFO(m); } ^ packages/base/include/HsBase.h:240:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] INLINE int __hscore_s_isfifo(m) { return S_ISFIFO(m); } ^ packages/base/include/HsBase.h:241:29: warning: parameter 'm' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] INLINE int __hscore_s_isblk(m) { return S_ISBLK(m); } ^ packages/base/include/HsBase.h:241:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] INLINE int __hscore_s_isblk(m) { return S_ISBLK(m); } ^ packages/base/include/HsBase.h:242:29: warning: parameter 'm' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] INLINE int __hscore_s_ischr(m) { return S_ISCHR(m); } ^ packages/base/include/HsBase.h:242:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] INLINE int __hscore_s_ischr(m) { return S_ISCHR(m); } ^ packages/base/include/HsBase.h:244:30: warning: parameter 'm' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] INLINE int __hscore_s_issock(m) { return S_ISSOCK(m); } ^ packages/base/include/HsBase.h:244:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] INLINE int __hscore_s_issock(m) { return S_ISSOCK(m); } ^ libraries/bootlib/System/Posix/Internals.c:1273:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void hugs_primControl(what) ^ 13 warnings generated. Undefined symbols for architecture arm64: "___hscore_readdir", referenced from: _hugsprim___hscore_readdir_40 in Internals-f0e7e7.o "___hscore_renameFile", referenced from: _hugsprim___hscore_renameFile_17 in Internals-f0e7e7.o ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation) runhugs: Error occurred ERROR "libraries/bootlib/System/Posix/Internals.hs" - Error while running compilation command 'clang -DNDEBUG=1 -pipe -Os -I/opt/pkg/include/ncurses -no-cpp-precomp -I/opt/pkg/include/ncurses -L/opt/pkg/lib -flat_namespace -shared -fPIC -D__HUGS__ "-Ihugsdir/include" -o "libraries/bootlib/System/Posix/Internals.so" "libraries/bootlib/System/Posix/Internals.c" -Ipackages/base/include -Ighc/includes' echo timestamp for bootlib >bootlib/.stamp cd ../cpphs; HUGSFLAGS=-P../libraries/bootlib HUGSDIR=../hugsdir ../src/runhugs -98 ../packages/Cabal/examples/hapax.hs configure --verbose --hugs --prefix='/opt/pkg' --scratchdir='../hugsdir/packages/cpphs' --with-compiler=../src/ffihugs runhugs: Error occurred ERROR "../libraries/bootlib/System/Posix/Internals.hs" - Error while importing DLL "../libraries/bootlib/System/Posix/Internals.so": dlopen(../libraries/bootlib/System/Posix/Internals.so, 0x0009): tried: '../libraries/bootlib/System/Posix/Internals.so' (no such file), '/System/Volumes/Preboot/Cryptexes/OS../libraries/bootlib/System/Posix/Internals.so' (no such file), '/usr/lib/../libraries/bootlib/System/Posix/Internals.so' (no such file, not in dyld cache), '../libraries/bootlib/System/Posix/Internals.so' (no such file), '/Users/pbulk/build/lang/hugs/work/hugs98-Sep2006/libraries/bootlib/System/Posix/Internals.so' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/pbulk/build/lang/hugs/work/hugs98-Sep2006/libraries/bootlib/System/Posix/Internals.so' (no such file), '/Users/pbulk/build/lang/hugs/work/hugs98-Sep2006/libraries/bootlib/System/Posix/Internals.so' (no such file) gmake[1]: *** [Makefile:117: ../hugsdir/programs/cpphs/Main.hs] Error 1 gmake[1]: Leaving directory '/Users/pbulk/build/lang/hugs/work/hugs98-Sep2006/libraries' gmake: *** [Makefile:48: all] Error 2 *** Error code 2 Stop. bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/lang/hugs *** Error code 1 Stop. bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/lang/hugs