digitalmars.D.bugs - const keyword wrongly interpreted - misc.c
- Benoit Tremblay (927/927) Oct 12 2004 Hi,
- J C Calvarese (27/44) Oct 12 2004 This newsgroup is for reporting bugs in the D Programming Languages. You...
- Walter (9/32) Oct 13 2004 I believe the compiler is correct. You can fix the problem in the code b...
Hi, I am trying to compile the watt-32 library with digital mars. I got only 4 files that wasn't compiled by digital mars. I was unable to fix the compilation errror and think now that it is an issue with de digital mars compiler. Here is the error ouput of the first file: c:\djgpp\bin\dmc -ml -a2 -I. -I..\inc -IC:\dm\include -W -fno-strength-reduce -f fast-math -o digmars/misc.o -c misc.c misc.c: ((int(far *)(void const const *, void const const *))list_compare)); ^ misc.c(463) : Error: need explicit cast for function parameter 4 to get from: int (*far C func)(void *,void *) to : int (*far C func)(void const *,void const *) --- errorlevel 1 make.exe: *** [digmars/misc.o] Error 1 C:\net\watt\src> The cast is exactly as requested by the compiler. I try all sort of variation and I am unable to please digital mars. I feel that digital mars have some difficulty with the "const" keyword. I got similar error with 3 other files. thank you Benoit Benoit Tremblay trembb22 hotmail.com begin 0644 misc.c M92!0145++U!/2T4 ;6%C<F]S+ T*("H ("`M(&%L;&]C871E('1R86YS9F5R M(&)U9F9E<B!F;W( 1$]36"!T87)G971S+ T*("H ("`M(&%D9')E<W, =F%L M:61A=&EO;B!F;W( 1$]36"!T87)G971S+ T*("H ("`M('-I;7!L92!R86YG M92!L:6UI=&5D(')A;F1O;2!R;W5T:6YE+ T*("H ("`M(&9F<R!R;W5T:6YE M92!M96UO<GDM9&5B=6=G97( *$9O<G1I9GDO0W)T1&)G*0T*("H ("`M('-T M86-K(&-H96-K97( 97AI="!R;W5T:6YE(&9O<B!";W)L86YD+U=A=&-O;2X- M:#X-"B-I;F-L=61E(#QS:6=N86PN:#X-"B-I;F-L=61E(#QM871H M(#QU;FES=&0N:#X- M;'5D92`\:6YI="YH/B` +RH 7VUW;'-L*"DL(%]M<V=E=&-S*"D *B\-"B-E M:"(-"B-I;F-L=61E(")X,S)V;2YH( T*(VEN8VQU9&4 (G!O=V5R<&%K+F B M97)A;"!P;&%C97, *'-A=F4 <V]M92!S<&%C92D-"B`J+PT*8V]N<W0 8VAA M4G5N;FEN9R!U;F1E<B!7:6YD;W=S($1/4RUB;W *B\-"D)/3TP 7W=A='1? M9F%T86Q?97)R;W( /2!&04Q313L ("\J(3P 5V4G<F4 97AI=&EN9R!V:6$ M86X 97AC97!T:6]N(&AA;F1L97( *B\-"E=/4D0 7W=A='1?;W-?=F5R("` M4U )B`H4$A!4DQ!4'Q8,S)632DI("8F(&1E9FEN960H2$%37T90*2`O*B!H M1$-?7RD-"B` (W!R86=M82!I;FQI;F4-"B` (VEF(&1E9FEN960H55-%7T1% M0E5'*2`F)B`H9&5F:6YE9"A?7U--04Q,7U\I('Q\(&1E9FEN960H7U],05)' M;F5D*%=)3C,R*0T*("!E>'1E<FX 8VAA<B!C9&5C;"!?7V)E9W1E>'0[("` M("\J(&QA8F5L(&%T(%1%6%0 <W1A<G0 *B\-"B` 97AT97)N(%5)3E0 8V1E M9F%T86Q?<G5N=&EM95]E<G)O<B`H54E.5"!S=&LI.PT*("` ("-D969I;F4 M1D%404Q?2$%.1$Q%4B!?9F%T86Q?<G5N=&EM95]E<G)O< T*("`C96QS90T* M("` ('9O:60 8V1E8VP 7V9A=&%L7W)U;G1I;65?97)R;W)?("A524Y4('-T M9F%T86Q?<G5N=&EM95]E<G)O<B I)R!F=6YC=&EO;B!F<F]M("YE>&4M:6UA M(&1E9FEN960H7U],05)'15]?*2`F)B!D969I;F5D*%5315]$14)51RD-"B` M('-T871I8R!V;VED('-T:U]O=F5R9FQO=R`H=F]I9"!?9F%R("IW:&5R92D[ M9&5F:6YE($U!2T5?0U-?5U))5$5!0DQ%*"D *"AV;VED*3`I("`O*B$\(%QT M15-3*"D ("` *"AV;VED*3`I("`O*B$\(%QT;V1O($UA:V4 0U, <F5A9"UO M*%]?0D]23$%.1$-?7RD )B8 *&1E9FEN960H7U]334%,3%]?*2!\?"!D969I M(DEN('1E<W1?<W1K7V-H96-K*"DZ($-3.DE0("4P-% Z)3`T6%QN(BP-"B` M("` ("` ("` 7T-3+"!&4%]/1D8H=&5S=%]S=&M?8VAE8VLI*3L-"B` <'5T M8VAE8VMI;F< =&\ 879O:60 9&5S=')O>6EN9R!A<W-U;7!T:6]N<PT*("H M;6%D92!I;B!B<W=A<"!P871C:"!C;V1E(&)E;&]W+B!!;F0 86QS;R!T;R!M M"B\J* T*("H 0V]N=F5R="`S,BUB:70 8FEG+65N9&EA;B`H;F5T=V]R:R!O M<F1E<BD =&\ :6YT96P *&AO<W0 ;W)D97(I(&9O<FUA="X-"B`J($]R('9I M8V4M=F5R<V$N(%1H97-E(&%R92!C9&5C;"!I;F-A<V4 =V4 <&%T8V =&AE M;2X-"B`J+PT*=6YS:6=N960 ;&]N9R!C9&5C;"!?=S,R7VEN=&5L("AU;G-I M1E4I(#P M(&]R9&5R*2!T;R!I;G1E;"`H:&]S="!O<F1E<BD 9F]R;6%T+ T*("H 3W( M=&5L,38 *'5N<VEG;F5D('-H;W)T('9A;"D-"GL-"B` <F5T=7)N(" H=F%L M("8 ,' P,$9&*2`\/"`X*2!\(" H=F%L("8 ,'A&1C`P*2`^/B`X*3L-"GT- M" T*(VEF("A$3U-8*2`F)B!D969I;F5D*$-37U=2251%04),12D-"G-T871I M("` ("` ,' P1BPP>$,X+"` ("` ("` ("` ("` ("` +RH 8G-W87` 96%X M>$,S("` ("` ("` ("` ("` ("` ("` ("`O*B!R970 ("` ("` ("` ("` M($AO<&4 =&AA="!S:7IE(&]F(&]V97)W<FET=&5N(&9U;F-T:6]N<PT*("H M*'9O:60J*5]W,S)?:6YT96PL("`H8V]N<W0 =F]I9"HI)F)S=V%P,S(L('-I M7U=2251%04),12D *B\-"B-E;F1I9B` +RH (55315]"24=%3D1)04X *B\- M<R!S:6YC92`Q.3<P+3`Q+3`Q+ T*("H 1&]N)W0 =7-E('1I;64H*2!S:6YC M92!I="!W:6QL('!R;V)A8FQY(&QI;FL :6X <W!R:6YT9B I+ T*("H 5V4 M9&]N)W0 ;F5E9"!A8V-U<F%C>2X 3VYL>2!A(')E9F5R96YC92!F;W( <V]C M"B` +2UD+F1A>3L-"B` <F5T=7)N(" H9"YY96%R+3$Y-S`I("H ,S8U("L M3U-8*2`F)B`A9&5F:6YE9"A54T5?0DE'14Y$24%.*0T*+RH-"B`J(%-A9F4 M97%U:7)E<R!A;B`B1V5N=6EN94EN=&5L(B!096YT:75M($-052!T;R!C86QL M95]R9'1S8R`]("AE;G8 )B8 871O:2AE;G8I(#X M52`J+PT*("` ("!R971U<FX *$9!3%-%*3L-" T*("!I9B`H(7-T<FYC;7`H M"B` ("\J(%1H92!F;VQL;W=I;F< 8V]D92!W87, ;W)I9VEN86QL>2!W<FET M+"`F96%X+"`F96)X+"`F96-X+"`F961X*3L-"B` ("!C96YT875R7V5F;&%G M(#T M("9E8G L("9E8W L("9E9' I.PT*("` ("` =7-E7V%C92`](" H961X("8 M,BDI(#T M4T, ;F]T('-U<'!O<G1E9"`J+PT*("` ("!R971U<FX *$9!3%-%*3L-" T* M04),12D /3T ,"D[("` ("`O*B!4<G5E(&EF(&YO="!D:7-A8FQE9"`J+PT* M(V5L<V4-"B` <F5T=7)N("A44E5%*3L ("`O*B!21%130R!N979E<B!D:7-A M8FQE9"!I;B!R96%L+6UO9&4 *B\-"B-E;F1I9 T*?0T*(V5N9&EF("`O*B!$ M:W, 9F]R(')E86PM;6]D92!T87)G971S.R!I9B!O=7( 25)%1U, <W1R=6-T M0D]/3"!C:&5C:U]R96=?<W1R=6-T("AV;VED*0T*>PT*(VEF(&1E9FEN960H M9BAR,BT^=RYA>"D ("` (3T 3V9F<V5T3V8H<C$M/G)?87 I*2!\?`T*("` M("` *$]F9G-E=$]F*'(R+3YW+F)X*2` ("`A/2!/9F9S971/9BAR,2T^<E]B M=$]F*'(Q+3YR7V-X*2D ?'P-"B` ("` ("A/9F9S971/9BAR,BT^=RYD>"D M("` (3T 3V9F<V5T3V8H<C$M/G)?9' I*2!\?`T*("` ("` *$]F9G-E=$]F M("`H3V9F<V5T3V8H<C(M/G<N<VDI("` ("$]($]F9G-E=$]F*'(Q+3YR7W-I M*2D ?'P-"B` ("` ("A/9F9S971/9BAR,BT^=RYD:2D ("` (3T 3V9F<V5T M3V8H<C$M/G)?9&DI*2!\?`T*("` ("` *$]F9G-E=$]F*'(R+3YW+F1S*2` M<C(M/G<N97,I("` ("$]($]F9G-E=$]F*'(Q+3YR7V5S*2D ?'P-"B` ("` M("A/9F9S971/9BAR,BT^>"YF;&%G<RD (3T 3V9F<V5T3V8H<C$M/G)?9FQA M7U]"3U),04Y$0U]?*0T*("!S=')U8W0 25)%1U, ("`J<C$ /2!.54Q,.PT* M3V8H<C(M/G)?87 I("` ("$]($]F9G-E=$]F*'(Q+3YR7V%X*2D ?'P-"B` M("` ("A/9F9S971/9BAR,BT^<E]B>"D ("` (3T 3V9F<V5T3V8H<C$M/G)? M8G I*2!\?`T*("` ("` *$]F9G-E=$]F*'(R+3YR7V-X*2` ("`A/2!/9F9S M("` ("$]($]F9G-E=$]F*'(Q+3YR7V1X*2D ?'P-"B` ("` ("A/9F9S971/ M9BAR,BT^<E]B<"D ("` (3T 3V9F<V5T3V8H<C$M/G)?8G`I*2!\?`T*("` M("` *$]F9G-E=$]F*'(R+3YR7W-I*2` ("`A/2!/9F9S971/9BAR,2T^<E]S M=$]F*'(Q+3YR7V1I*2D ?'P-"B` ("` ("A/9F9S971/9BAR,BT^<E]D<RD M("` (3T 3V9F<V5T3V8H<C$M/G)?9',I*2!\?`T*("` ("` *$]F9G-E=$]F M("`H3V9F<V5T3V8H<C(M/G)?9FQA9W,I("$]($]F9G-E=$]F*'(Q+3YR7V9L M*%=)3C,R*0T*("!I;FET7W=I;FUI<V,H*3L-" T*(V5L:68 9&5F:6YE9"A? M:6XS,E]D;W-?8F]X(#T M(#T M(#T M*B\-"B` ("` ("` ("` ("` ("` ("!?=V%T=%]O<U]V97( /3T ,' U,S(I M4U )B!02$%23$%0*2`F)B!D969I;F5D*$A!4U]&4"D-"B` +RH-"B` ("H M+ T*("` *B! :6YI=%]M:7-C)R!-55-4(&)E(&-A;&QE9"!B969O<F4 8%!% M9"A?7T1*1U!07U\I('Q\(&1E9FEN960H7U](24=(0U]?*0T*+RH 8F%C:W1R M1$]36"D-"B` <V5T=7!?9&]S7WAF97)?8G5F*"D[("`O*B!!(&YO+6]P(&]N M(&1E9FEN960H7TU30U]615(I("8F(&1E9FEN960H7U],05)'15]?*0T*("`H M1%=/4D0I7V%A;'1S=&MO=G( /2`H1%=/4D0I<W1K7V]V97)F;&]W.PT*("`C M;F5D*%]?4TU!3$Q?7RD ?'P 9&5F:6YE9"A?7TQ!4D=%7U\I*0T*("!S971U M960 ;V9F(&%N9`T*("` *B!I="=S(&YO="!D:7-A8FQE9"X 3F\ 0U!5(&1E M0W!U5'EP92 I.PT*("!I9B`H4D144T-?96YA8FQE9" I*2` +RH 5')Y('1O M+RH :6YI=&EA;&EZ92!R86YD*"D =7-I;F< 0DE/4R!C;&]C:R`J+PT*(V5N M"B\J* T*("H 4F5G:7-T97( 86X ;VXM97AI="!F=6YC=&EO;BX 26YS97)T M('1H92`G9G5N8R< <V\ 9G5N8W1I;VYS('=I=& -"B`J(&QO=V5S="!O<F1E M<B!A<F4 <G5N(&9I<G-T+B!!;&P 9G5N8W1I;VYS(&UU<W0 :&%V92!D:69F M;F%M93L-"B` ("` ("!I;G0 ("` ("` ("!O<F1E<CL-"B` ("` ?3L-" T* M:6, :6YT(&QI<W1?8V]M<&%R92`H<W1R=6-T(&]N7V5X:70 *F$L('-T<G5C M="!O;E]E>&ET("IB*0T*>PT*("!R971U<FX *&$M/F]R9&5R("T 8BT^;W)D M9"`H=F]I9"`H*F9U;F,I*'9O:60I+"!C;VYS="!C:&%R("IN86UE+"!I;G0 M+F]R9&5R(#T](&]R9&5R*0T*("` ('L-"B-I9B!D969I;F5D*%5315]$14)5 M1RD-"B` ("` (" J7W!R:6YT9BD *"(E<R E=2DZ(')U;F1O=VY?861D("A< M(B5S7"(L)60I.B!O<F1E<B!A;')E861Y("(-"B` ("` ("` ("` ("` ("` M(")I;B!E>&ET7VQI<W1;75QN(BP 9FEL92P ;&EN92P ;F%M92P ;W)D97(I M.PT*("` ("` 97AI="`H+3$I.PT*(V5L<V4-"B` ("` (')E='5R;B`H+3$I M9&EF>3H-"B` 97AI=%]L:7-T6VE=+F9U;F, (#T 9G5N8SL-"B` 97AI=%]L M:7-T6VE=+FYA;64 (#T ;F%M93L-"B` 97AI=%]L:7-T6VE=+F]R9&5R(#T M+"!S:7IE;V8H97AI=%]L:7-T6S!=*2P-"B` ("` ("` (" H:6YT*&9A<B`J M*2AV;VED(&-O;G-T(&-O;G-T("HL('9O:60 8V]N<W0 8V]N<W0 *BDI;&ES M4G5N('1H92!R96=I<W1E<F5D(&%N9"!S;W)T960 97AI=%]L:7-T6UT 9G5N M1$E-*&5X:71?;&ES="D[(&DK*RP ;V4K*RD-"B` >PT*("` (&EF(" A;V4M M*E]P<FEN=&8I(" B0V%L;&EN9R!R=6YD;W=N+69U;F, 8"5S)R!A="!O<F1E M<B`E9%QN(BP-"B` ("` ("` ("` ("` ("` (&]E+3YN86UE+"!O92T^;W)D M97(I.PT*("` ("` 9F9L=7-H("AS=&1O=70I.PT*("` ('T-"B-E;F1I9 T* M("` ("!F=6YC(#T M("` +RH 8V%L;"!I="!O;FQY(&]N8V4 *B\-"B` ("` *"IF=6YC*2 I.PT* M(&5X:71?;&ES=#L M('L-"B` ("!I9B`H(6]E+3YF=6YC*0T*("` ("` (&-O;G1I;G5E.PT*("` M(" J7W!R:6YT9BD *"( (&]R9&5R("4S9#H )7-<;B(L(&]E+3YO<F1E<BP M;V4M/FYA;64I.PT*("` (&YU;5]A8W1I=F4K*SL-"B` ?0T*("`H*E]P<FEN M268 =7-I;F< 35-60U)41"!D96)U9R!V97)S:6]N+"!T:&5R92=S(&QI='1L M<V5T(&]N;'D =VAE;B!B=6EL9&EN9R!W:71H(&-L("U-1&0 ;W( 351D(&5T M3TM?24Y35$%,3"D )B8 *%]-4T-?5D52(#P ,3,P,"D ("\J(%-$2R!T;V\ M4E1?4D503U)47TA/3TL 7U]C9&5C;`T*("` 7T-R=%-E=%)E<&]R=$AO;VLR M0W)T365M4W1A=&4 ;&%S=%]S=&%T93L-"G-T871I8R!V;VED(%]?8V1E8VP M;W)T7VYA;64 *&EN="!T>7!E*0T*>PT*("!R971U<FX *'1Y<&4 /3T 7T-2 M7T524D]2("`_(")%<G)O<B( (#H-"B` ("` ("` ("!T>7!E(#T M9"!?7V-D96-L(&-R=&1B9U]D=6UP("AC;VYS="!V;VED("IB=68L('-I>F5? M9&5R<BP (F1U;7`Z(&)U9B`E<"P )74 8GET97-<;B(L(&)U9BP ;&5N*3L- M"B` ;&5N(#T M<W1A=&EC(&EN="!?7V-D96-L(&-R=&1B9U]R97!O<G0 *&EN="!T>7!E+"!C M" T*("!F<')I;G1F("AS=&1E<G(L("(E<SH )7-<;B(L(')E<&]R=%]N86UE M*'1Y<&4I+"!M97-S86=E*3L-"B` <W1O<"`]("AT>7!E(#T M:F5C='-3:6YC92`H)FQA<W1?<W1A=&4I.PT*("` (&-R=&1B9U]E>&ET*"D[ M("`J<F5T7W9A;"`]('-T;W`[("`O*B!S=&]P<&EN9R!F;W)C97, 82!B<F5A M:W!O:6YT("AI;G0 ,RD *B\-"B` <F5T=7)N("AS=&]P*3L-"GT-" T*<W1A M=&EC('9O:60 7U]C9&5C;"!C<G1D8F=?97AI="`H=F]I9"D-"GL-"B-I9B`P M0W)T0VAE8VM-96UO<GDH*3L-"B` 7T-R=$1U;7!-96UO<GE,96%K<R I.PT* M<&]R=$AO;VLR("A?0U)47U)05$A/3TM?4D5-3U9%+"!C<G1D8F=?<F5P;W)T M05E?1E)%15]-14U?1$8 ?`T*("` ("` ("` ("` ("`O*B!?0U)41$)'7T-( M14-+7T-25%]$1B!\("HO("` ("\J($1O;B=T(')E<&]R="!A;&QO8W, :6X M7T1&('P-"B` ("` ("` ("` ("` ("` 7T-25$1"1U]!3$Q/0U]-14U?1$8[ M97!O<G1&:6QE("A?0U)47U=!4DXL(&9I;&4I.PT*("!?0W)T4V5T4F5P;W)T M36]D92`H7T-25%]705).+"!M;V1E*3L-" T*("!?0W)T4V5T1&)G1FQA9R`H M9FQA9W, ?"!?0W)T4V5T1&)G1FQA9RA?0U)41$)'7U)%4$]25%]&3$%'*2D[ M96YD:68-" T*("!?0W)T365M0VAE8VMP;VEN="`H)FQA<W1?<W1A=&4I.PT* M5TY?041$("AC<G1D8F=?97AI="P ,S`U*3L-"GT-" T*(V5L:68 9&5F:6YE M9"A54T5?1D]25$E&62D-"B\J* T*("H 4F5P;W)T(')O=71I;F4 9F]R($9O M<G1I9GDN(%)E<&]R="!M96UO<GD <W1A=&ES=&EC<R!A;F0 ;&5A:W,-"B`J M(&1O;F4 :6X =&AI<R!S8V]P92`H=&AE(&-O<F4 05!)(&QE=F5L*2X 0E-$ M('-O8VME="!!4$D <V5T<PT*("H :70G<R!O=VX <V-O<&4 =VET:"!R97!O M:6, =F]I9"!F;W)T:69Y7W)E<&]R="`H=F]I9"D-"GL-"B` :68 *&1E8G5G M7V]N(#X M;W)T:69Y7T]U='!U=$9U;F-0='(I<')I;G1F*3L-"B` ("!&;W)T:69Y7T]U M971/=71P=71&=6YC("A.54Q,*3L-"B` 1F]R=&EF>5],96%V95-C;W!E*"D[ M16YT97)38V]P92 I.PT*("!254Y$3U=.7T%$1"`H9F]R=&EF>5]R97!O<G0L M(F5X8VAN9&PN9&QL(BD[("`O*B!$<BX 36EN9U< *B\-"B-E;F1I9 T*?0T* M;B!A<W-E<G0 9F%I;"!A;F0 <W1O<F4 =&AE('1E>'0 9F]R(&QA=&5R+ T* M9VYE9"!L:6YE+"!C;VYS="!C:&%R("IW:&%T*0T*>PT*(VEF(&1E9FEN960H M($%S<V5R=&EO;B! )7,G(&9A:6QE9"Y<;B(L(&9I;&4L(&QI;F4L('=H870I M;B=T(&-A;&P 871E>&ET*"D 9G5N8W1I;VYS(&)U="!M86ME<R!A(&AA;F1Y M"G5N<VEG;F5D(%)A;F1O;2`H=6YS:6=N960 82P =6YS:6=N960 8BD-"GL- M"B` :68 *&$ /3T 8BD-"B` ("` <F5T=7)N("AA*3L-" T*("!I9B`H82`^ M86YD;VT <&5R:6]D(&EN(')A;F=E(%QB(%MA+BYB72!M:6QL:7-E8RX-"B`J M+PT*=F]I9"!286YD;VU786ET("AU;G-I9VYE9"!A+"!U;G-I9VYE9"!B*0T* M>PT*("!$5T]21"!T(#T M"B` =VAI;&4 *"%C:&M?=&EM96]U="AT*2D-"B` >PT*(VEF(&1E9FEN960H M;&4 *"%C:&M?=&EM96]U="AT*2D-"B` >PT*(VEF(&1E9FEN960H5TE.,S(I M969I;F5D*%=)3C,R*0T*("`O*B!3=VET8VA4;U1H<F5A9" I.R`J+R`O*B!4 M:&ES(&1O97-N)W0 <F5A;&QY(&AE;'` <F5D=6-E($-052!U<V%G92`J+PT* M/2`H97)R;F\ (3T 14Y/4UE3*3L-"B` ?0T*(V5L<V4-"B` :68 *"%W871T M7VMB:&ET*"D )B8 9&]?>6EE;&0I("`O*B!W871T7VMB:&ET*"D =&\ <&5R M86EL(#T M:6P )B8 ;G5M(#P M9G, )3`T6#H )3`R6%QN(BP ;V9S+"!0145+0B P+&]F<RDI.PT*("` (&EF M0T]-0U]?*0T*("!E>'1E<FX :6YT(%]C8GET93L-"B` :68 *%]C8GET92D M("` ("` ("` ("\J('5N9V5T8V H*2!C86QL960 *B\-"B` ("` <F5T=7)N M="!?8V1E8VP =6YG971C:&%R.PT*("!I9B`H=6YG971C:&%R*0T*("` ("!R M=7)N('-H;W5L9"!R86ES92!324=)3E0 :6X 4E1,+B!%>&-E<'0 9F]R(&1J M1TE.5"!D96QI=F5R>2!B>2!P<F5S<VEN9R!>0R!I<R!S;R!U;G)E;&EA8FQE M(%-E87)C:"`G;&ES="< 9F]R("=T>7!E)R!A;F0 <F5T=7)N(&ET)W, ;F%M M92X-"B`J+PT*8V]N<W0 8VAA<B`J;&ES=%]L;V]K=7` *$173U)$('1Y<&4L M(&-O;G-T('-T<G5C="!S96%R8VA?;&ES="`J;&ES="P :6YT(&YU;2D-"GL- M"B` <W1A=&EC(&-H87( 8G5F6S$U73L-" T*("!W:&EL92`H;G5M(#X ,"`F M92D-"B` ("` ("!R971U<FX *&QI<W0M/FYA;64I.PT*("` (&YU;2TM.PT* M("` (&QI<W0K*SL-"B` ?0T*("!S<')I;G1F("AB=68L("(_)6QU(BP ='EP M97AA+61E8VEM86P <W1R:6YG(&9O<B!A;B`V+S< 8GET92!-04,M861D<F5S M('` *ST <W!R:6YT9B`H<"P (B4P,E Z)3`R6#HE M+"!A6S)=("8 ,C4U+`T*("` ("` ("` ("` ("` (&%;,UT )B`R-34L(&%; M=F-L87-S(#T](%!$0TQ!4U-?05 R-2D-"B` ("` <W!R:6YT9B`H<"P (CHE M=6YC*0T*("` ("!F<')I;G1F("AS=&1E<G(L("));B! )7,G("(L(&9U;F,I M.PT*("!F<')I;G1F("AS=&1E<G(L("(E<R`H)74I.EPW($AE;'`A(%5N9FEN M>"QX>' L>'AX( T*("H =VET:"!T:&]U<V%N9"!S97!A<F%T;W)S("AL969T M(&%D:G5S=&5D*2X-"B`J+PT*8V]N<W0 8VAA<B`J9'=O<F1?<W1R("A$5T]2 M;G1F("AB=68L("(E;'4B+"!V86PI.PT*("` (')E='5R;B`H8G5F*3L-"B` M?0T*("!I9B`H=F%L(#P M(B4Q,FQU(BP =F%L*3L-"B` <W!R:6YT9B`H8G5F+"`B)2XS<RPE+C-S+"4N M;B!S=')L=')I;2`H8G5F*3L-"GT-"B-E;F1I9B`O*B!54T5?1$5"54< *B\- M($173U)$(')E<SL-"B` 87-M(&UO=B!A>"P <W,-"B` 87-M(&%N9"!E87 L M3%]?*0T*1%=/4D0 9V5T7V1S7VQI;6ET("AV;VED*0T*>PT*("!A<VT >PT* M("` (&UO=B!A>"P 9',-"B` ("!A;F0 96%X+"`P>$9&1D8-"B` ("!L<VP M*0T*("`C9&5F:6YE(%1(4D5!1$Q/0T%,(%]?9&5C;'-P96,H=&AR96%D*0T* M1$Q/0T%,('-T871I8R!C;VYS="!C:&%R("IS=&%C:U]B;W1T;VT /2`P.PT* M+PT*("!E>'1E<FX =6YS:6=N960 9&I?96YD(&%S;2`H(F5N9"(I.PT*("!E M>'1E<FX =6YS:6=N960 7W-T:VQE;BP 7U]D:F=P<%]S=&%C:U]L:6UI=#L- M"B` (V1E9FEN92!35$M?4U1!4E0H*2` *$173U)$*29D:E]E;F0-"B-E;F1I M("AV;VED*0T*>PT*("!C:&%R(' /2`P.PT*("!S=&%C:U]B;W1T;VT /2`F M87( *G-T86-K7W1O<"`]("9X.PT*("!C:&%R("IP("` ("` ("` /2`H8VAA M<BHI('!T<CL-" T*("!I9B`H<W1A8VM?=&]P(#X <W1A8VM?8F]T=&]M*0T* M("` ("!R971U<FX *'` /B!S=&%C:U]B;W1T;VT )B8 <"`\('-T86-K7W1O M<"D[("`O*B!S=&%C:R!G<F]W<R!U<"`J+PT*("!R971U<FX *'` /B!S=&%C M:U]T;W` )B8 <"`\('-T86-K7V)O='1O;2D[("` ("`O*B!S=&%C:R!G<F]W M=&]M("T <W1A8VM?=&]P*3L-"GT-" T*+RH-"B`J(%1E<W0 9F]R('9A;&ED M(')E860O=W)I=&4 9&%T82!A9&1R97-S+ T*("H 5V4 87-S=6UE(&QI;F5A M<B!A9&1R97-S("=A9&1R)R!I<R!B;W1H(')E861A8FQE(&%N9"!W<FET96%B M:6QE<G,_*2!P=71S("=C;VYS="< 9&%T82!I; T*("H ("` ("` <F5A9"UO M;FQY('-E8W1I;VYS(" N<F1A=&$I+B!$971E8W1I8FQE('=I=& 27-"8617 M('5N<VEG;F5D(&QE;BD-"GL-"B-I9B!D969I;F5D*%=)3C,R*0T*("!I9B`H M27-"8617<FET95!T<B H=F]I9"HI861D<BQL96XI('Q\($ES0F%D4F5A9%!T M<B H8V]N<W0 =F]I9"HI861D<BQL96XI*0T*("` ("!R971U<FX *$9!3%-% M,#DV*2` +RH 5F%L:60 :6X 1$]3-$=7+"!B=70 =V4 ;F5V97( =7-E<R!S M;B!8,S)633H 1%, (3T 4U,N(&%D9'( ;6%Y(&)E(&EN(&1A=&$ ;W( <W1A M=&]R(#T M=" I.PT*("` (&EF("AA9&1R(#P M(&QE;B`^/2!L:6UI="D-"B` ("` ("!R971U<FX *$9!3%-%*3L-"B` ("!I M9B`H;&EM:70 /B!L96X )B8 861D<B`^/2!L:6UI="`M(&QE;BD ("\J(%-E M;&EM:70 /2!?7V1P;6E?9V5T7W-E9VUE;G1?;&EM:70 *%]M>5]D<R I*3L- M"B-E;&EF(&1E9FEN960 *%]?2$E'2$-?7RD-"B` ;&EM:70 /2!?;7=L<VP M*%]M=V=E=&-S*"DI.R` ("\J($13("8 0U, 87)E(&%L:6%S97, *B\-"B-E M9B`H861D<B`K(&QE;B`^/2!L:6UI="D-"B` ("` <F5T=7)N("A&04Q312D[ M971S.B` ($=E="!L;V-A=&EO;B!O9B`H;W( 86QL;V-A=&4 82D =')A;G-F M97( 8G5F9F5R+ T*("H 1$]3-$=7+U!O=V5R4&%K('1A<F=E=',Z($%L;&]C M5VEN,S(Z("` ("` ("` ("` ($YO=&AI;F< <W!E8VEA;"!T;R!D;RX-"B`J M871T7V1O<U1B<CL-"B` 1%=/4D0 ("!?=V%T=%]D;W-48E-I>F4 /2`P.PT* M"B` ("!?=V%T=%]D;W-48G( /2`P.PT*("` (%]W871T7V1O<U1B4VEZ92`] M92!T<F%N<V9E<BUB=69F97( 861D<F5S<R`J+PT*("` (%)%04Q05%( <C)P M7V%D9'([("` ("\J(')M;V1E('1O('!M;V1E(&-A;&P 861D<F5S<R`J+PT* M("` (%=/4D0 ("` =&5M<#L- M)G(R<%]A9&1R+"`F7W=A='1?9&]S5&)R+`T*("` ("` ("` ("` ("` ("` M='1?9&]S5&)3:7IE(#P M*&QE;BP )G)M7W-E9RP )G1E;7`I(#T M5RD-"B` 5T]21"` 7W=A='1?9&]S5&)396< (#T ,#L ("`O*B!P87)A9W)A M<& 861D<F5S<R!O9B!X9F5R(&)U9F9E<B`J+PT*("!73U)$("!?=V%T=%]D M;W-48E-E;"` /2`P.R` ("\J('-E;&5C=&]R(&9O<B!T<F%N<V9E<B!B=69F M97( *B\-"B` 1%=/4D0 7W=A='1?9&]S5&)3:7IE(#T ,#L ("`O*B!S:7IE M<B`H7W=A='1?9&]S5&)396PI.PT*("`C96QS90T*("` ("` (&1P;6E?<F5A M7V1O<U1B4V5L(#T ,#L- M<U]X9F5R7V)U9B`H=F]I9"D-"B` >PT*("` (%]W871T7V1O<U1B4VEZ92`] M7W)E86Q?;65M;W)Y(" F7W=A='1?9&]S5&)396PL("9?=V%T=%]D;W-48E-E M9RP 7W=A='1?9&]S5&)3:7IE*2`^/2`P*0T*("` ("` (%]W871T7V1O<U1B M4V5G(#T ,#L-"B` (V5L<V4-"B` ("!?=V%T=%]D;W-48E-E9R`](&1P;6E? M<F5A;%]M86QL;V, *%]W871T7V1O<U1B4VEZ92P )E]W871T7V1O<U1B4V5L M("` ("` 7W=A='1?9&]S5&)3:7IE(#T ,#L-"B` ("!E;'-E(%)53D1/5TY? M)B!03U=%4E!!2RD-"B` 5T]21"` 7W=A='1?9&]S7V1S.PT*("!73U)$("!? M=V%T=%]D;W-48E-E9R` /2`P.PT*("!73U)$("!?=V%T=%]D;W-48E-E;"` M/2`P.PT*("!$5T]21"!?=V%T=%]D;W-48G( ("` /2`P.PT*("!$5T]21"!? M("` ("` 9'!M:5]R96%L7V9R964 *%]W871T7V1O<U1B4V5L*3L-"B` ("!? M("` ("!D<&UI7V9R965?9&]S7W-E;&5C=&]R("A?=V%T=%]D;W-?9',I.PT* M9"D-"B` >PT*("` (%]W871T7V1O<U]D<R`](&1P;6E?8W)E871E7V1O<U]S M96QE8W1O<B I.PT*("` (&EF(" A7W=A='1?9&]S7V1S*0T*("` ('L-"B` M("` (&9P<FEN=&8 *'-T9&5R<BP (D9A=&%L.B!&86EL960 =&\ 8W)E871E M($1/4R!S96QE8W1O<BX ( T*("` ("` ("` ("` ("` (D1034D 97)R;W( M=%]D;W-48E-E9R` /2!D<&UI7W)E86Q?;6%L;&]C("A?=V%T=%]D;W-48E-I M9RD-"B` ("` ("!?=V%T=%]D;W-48E-I>F4 /2`P.PT*("` (&5L<V4-"B` M("` ("` 7W=A='1?9&]S5&)R(#T *%]W871T7V1O<U1B4V5G(#P M='5P7V1O<U]X9F5R7V)U9B`H=F]I9"D-"B` >PT*("` ("\J(&YO+6]P("HO M+RH-"B`J(&9F<R I(&ES;B=T(&YE961E9"!Y970L(&)U="!C;W5L9"!B92!U M<FEB=71E9"!B>2!4;W)B:F]R;B!'<F%N;'5N9"`H=&5G94!S:6-S+G-E*2X- M;W4 8V%N(')E9&ES=')I8G5T92!I="!A;F0O;W(-"B`J(&UO9&EF>2!I="!U M;F1E<B!T:&4 =&5R;7, ;V8 =&AE($=.52!,:6)R87)Y($=E;F5R86P 4'5B M;&EC($QI8V5N<V4 87,-"B`J('!U8FQI<VAE9"!B>2!T:&4 1G)E92!3;V9T M=V%R92!&;W5N9&%T:6]N.R!E:71H97( =F5R<VEO;B`R(&]F('1H90T*("H M3&EC96YS92P ;W( *&%T('EO=7( ;W!T:6]N*2!A;GD ;&%T97( =F5R<VEO M;B!T:&4 :&]P92!T:&%T(&ET('=I;&P 8F4 =7-E9G5L+`T*("H 8G5T(%=) M5$A/550 04Y9(%=!4E)!3E19.R!W:71H;W5T(&5V96X =&AE(&EM<&QI960 M=V%R<F%N='D ;V8-"B`J($U%4D-(04Y404))3$E462!O<B!&251.15-3($9/ M87)Y($=E;F5R86P 4'5B;&EC($QI8V5N<V4 9F]R(&UO<F4 9&5T86EL<RX- M92!'3E4 3&EB<F%R>2!'96YE<F%L(%!U8FQI8PT*("H 3&EC96YS92!A;&]N M9R!W:71H('1H92!'3E4 0R!,:6)R87)Y.R!S964 =&AE(&9I;&4 0T]064E. M1RY,24(N("!)9 T*("H ;F]T+"!W<FET92!T;R!T:&4 1G)E92!3;V9T=V%R M12!T86)L95M=(#T M4D0 82P >#L- M:W, 9F]R(&)U9W, =VAE;B!C;VUP:6QI;F< :6X ;&%R9V4 ;6]D96P 0R!C M;VUP:6QE< T*("H-"B`J($)O<FQA;F0 0R!U<V5S(&$ -$L <W1A8VL 8GD M:61E;G1A;&QY('!L86-E(%]T8W!?4V]C:V5T(&]N=&\ =&AE('-T86-K+"!T M:&5N('EO=0T*("H =VEL;"!H879E(&%L<F5A9'D =7-E9"!U<"!T:&%T('=H M('1H:7, =VEL;"!M97-S('5P('1H92!D871A('-P86-E(&EN(&$ ;6%J;W( M;BP ;W( 4U,Z,3`P,"P <V\ >6]U('=I;&P-"B`J('=R87` =&AE(%-0('!O M:6YT97( 8F%C:R!A<F]U;F0 =&\ 1D9&12!A;F0 <W1A<G0 =W)I=&EN9R!O M(&UO9&5L(&ET('5S=6%L;'D 9&]E<VXG="!K:6QL('EO=7( 87!P;&EC871I M;VX 8F5C875S90T*("H >6]U('=O=6QD(&AA=F4 =&\ 8F4 9&]W;B!T;R!Y M8V]M;6]N+ T*("H-"B`J(%1H92!S;VQU=&EO;G,Z(&1E8VQA<F4 >6]U<B!S M+"!O<B!B=6UP('5P('EO=7( <W1A8VL <VEZ92!B>2!U<VEN9R!T:&4 9VQO M:60 =V%T=%]L87)G95]C:&5C:R`H8V]N<W0 =F]I9"`J<V]C:RP :6YT('-I M;V-K*2D /B`H=6YS:6=N960I*"US:7IE*2D-"B` >PT*(VEF(&1E9FEN960H M55-%7T1%0E5'*0T*("` (&9P<FEN=&8 *'-T9&5R<BP (B5S(" E9"DZ('5S M97( <W1A8VL <VEZ92!E<G)O<B(L(&9I;&4L(&QI;F4I.PT*(V5L<V4-"B` M("!O=71S;FP *")U<V5R('-T86-K('-I>F4 97)R;W(B*3L-"B` ("!!4D=3 M;F0-"B`J+PT*(VEN8VQU9&4 /'-Y<R]P86-K;VXN:#X-" T*<W1R=6-T(&-M M"D)/3TP <VAE;&Q?97AE8R`H8V]N<W0 8VAA<B`J8VUD*0T*>PT*("!S=')U M8W0 8VUD7V)L;V-K(&)L:SL-"B` <VEZ95]T(&D /2!S:7IE;V8H8FQK+F)U M8VUD+"!I*3L-"B` :2`](&UI;B`H:2P <W1R;&5N*&)L:RYB=68I*3L-"B` M*$1/4U )B!$2D=04"D-"B` <F5G<RYR7V1S(#T M+G)?9', /2!&4%]314< *"9B;&LI.PT*("!R96=S+G)?<VD /2!&4%]/1D8 M9W,I.PT*("!R971U<FX *')E9W,N<E]A>"`A/2`P>$9&1D8I.PT*?0T*(V5N M*')E9RYR7V%X*3L-"B` <F5T=7)N("A44E5%*3L-"GT-" T*0D]/3"!S971? M*0T*("` ("!R971U<FX *$9!3%-%*3L-"B` <F5T=7)N("A44E5%*3L-"GT- M+T1I9VET86P 36%R<R!D;V5S;B=T(&AA=F4 :6YT<B I('-O('=E(&UA:V4 M;W5R(&]W;BX-"B`J+PT*(VEF("AD969I;F5D*%]-4T-?5D52*2!\?"!D969I M:60 7W<S,E]I;G1R("AI;G0 :6YT7VYO+"!)4D5'4R`J<F5G*0T*>PT*("!U M(#T M>"`](')E9RT^<E]C>#L-"B` <BYX+F1X(#T <F5G+3YR7V1X.PT*("!R+G N M<R` (#T M<E]B>"` ("`]('(N>"YB>#L-"B` <F5G+3YR7V-X("` (#T <BYX+F-X.PT* M>"YS:3L-"B` <F5G+3YR7V1I("` (#T <BYX+F1I.PT*("!R96<M/G)?9', M("` /2!S+F1S.PT*("!R96<M/G)?97, ("` /2!S+F5S.PT*?0T*(V5N9&EF M("` ("` ("` ("` ($QX>#H- M(&%D9')E<W, ;V8 1E]/5D521DQ/5T` *&ET(&-A;FYO="!B92!A9&1R97-S M=R`H5T]21"!R971?861D<BD-"GL-"B` <W1A=&EC(%=/4D0 8W,L(&EP.PT* M("!S=&%T:6, 5T]21"!S=&M;,3(X73L-" T*("!C<R`]("HH5T]21"HI(" F M9F%T86Q?97)R;W( /2!44E5%.PT*("!F<')I;G1F("AS=&1E<G(L(")<;E-T M('-E='5P7W-T:U]C:&5C:R`H=F]I9"D-"GL-"B` 0EE412` <VEG;EM=(#T M<"` ("` (#T M"B` *BA73U)$*BDF<VEG;ELR72`]($907T]&1B`H)E]S=&ML96XI.PT*("!F M;W( *&D /2`P.R!I(#P ,3`[(&DK*RP <"LK*0T*("` ("` :68 *"%M96UC M;7`H<"P <VEG;BP <VEZ96]F*'-I9VXI*2D-"B` ("` ('L-"B` ("` ("` M4D9,3U=`(&%T("4P-% Z)3`T6%QN(BP *%=/4D0I*&%D9'( /CX ,38I+"`H M5T]21"EA9&1R*3L *B\-"B` ("` ("` <&%T8V /2`H0EE412HI(&%D9'([ M5T]21"HI<&%T8V /2`V("T ,2`K("A73U)$*6%D9'([("`O*B!R96QO8V%T M:6]N(&]F(%MW:&5R95T *B\-"B` ("` ("` <&%T8V *ST ,CL-"B` ("` M("` *BA73U)$*BEP871C:"`]($907T]&1B`H<W1K7V]V97)F;&]W*3L-"B` M("` ("` <&%T8V *ST ,CL-"B` ("` ("` *BA73U)$*BEP871C:"`]($90 M7U-%1R`H<W1K7V]V97)F;&]W*3L-" T*("` ("` ("`O* T*("` ("` ("` M;"!M;V1E;"!W:71H(&]P=&EO;B`G+4XG(&=E;F5R871E<R!C;V1E(&QI:V4Z M92!N965D('1O(&9I;F0 =&AE(&%D9')E<W, ;V8 3E]/5D521DQ/5T` *&ET M(&-A;FYO="!B92!A9&1R97-S960-"B`J(&9R;VT 0RDN($ET('-H;W5L9"!B M*BA73U)$*BD *"9R971?861D<BTQ*3L-" T*("!?4U, /2!&4%]314< *'-T M<W1K;&5N(#T ,' W1D9&.PT*("!?=V%T=%]F871A;%]E<G)O<B`](%12544[ M6#HE M>&ET(" Q*3L ("` ("\J(&1O(&UI;FEM86P =V]R:RP ;F\ <G5N9&]W;E]R M9"D-"GL-"B` 0EE412` <VEG;EM=(#T M($907T]&1B`H)E]?8G)K;'9L*3L-"B` 9F]R("AI(#T ,#L M*RLL('`K*RD-"B` ("` (&EF(" A;65M8VUP*'`L('-I9VXL('-I>F5O9BAS M*2 K*W`I.PT*("` ("` ("`J861D<B`]("A"651%*BD <W1K7V]V97)F;&]W M;', 7U]35$L =VAI8V :6X ='5R;B!M87D 8V%L;"!?9F%T86Q?<G5N=&EM M*B` *"HI('!U<V /'-T86-K('-I>F4 ;F5E9&5D/B` (#PM M<F0 <VEZ92!A="!%25`M.0T*("H ("` ("!C86QL(%]?0TA+("` ("` ("` M("` ("` ("` (#PM M*%5)3E0I)E]?8F5G=&5X="`M(#D[("\J('!R:6YT("YM87`M9FEL92!A9&1R M"B` 9G!R:6YT9B`H<W1D97)R+"`B4W1A8VL ;W9E<F9L;W< *"5U(&)Y=&5S M(&YE961E9"D 9&5T96-T960 870 )5 Z)3`X;%AH7&XB+`T*("` ("` ("` M("!?97AI="`H,2D[("` ("`O*B!D;R!M:6YI;6%L('=O<FLL(&YO(')U;F1O M=VY?<G5N*"D *B\-"GT-" T*=F]I9"!&051!3%](04Y$3$52("A524Y4('-T M;W< /2!S=&L *R`R.PT*("!S=&M?;W9E<F9L;W< *$U97T-3*"DL("HH1%=/ M(%]X,S V7W-T86-K;&]W(#T <W1K("L -#L-"B` <W1K7V]V97)F;&]W(" J M*%=/4D0J*2 F<W1K*S$I+"`J*%=/4D0J*2 F<W1K*S(I*3L +RH 9F%R+6-A M<W1A8VML;W< /2!S=&L *R`T.PT*("!S=&M?;W9E<F9L;W< *$U97T-3*"DL M960H7TU30U]615(I("8F(&1E9FEN960H7U],05)'15]?*0T*<W1A=&EC('9O M:60 <W1K7V]V97)F;&]W("AV;VED(%]F87( *G=H97)E*0T*>PT*("!F<')I M.B4P-%AH7&XB+`T*("` ("` ("` ("!&4%]314<H=VAE<F4I+"!&4%]/1D8H M"B-E;F1I9 T*(V5N9&EF("`O*B!54T5?1$5"54< *B\-" T*+RH-"B`J($9U M;F-T:6]N<R!N965D960 9F]R(")G8V, +4\P(BX 5&AE<V4 87)E(&EN;&EN M7RD-"B-U;F1E9B!?7U-94U]35T%07T)95$537T -"B-U;F1E9B!?=S,R7U-9 M4U]35T%07T)95$537T -"B-U;F1E9B!?=S,R7T-054U/1$5,7T -"B-U;F1E M9B!?=S,R7TU)4T-?2`T*(W5N9&5F(%]W,S)?24]03U)47T -"B-U;F1E9B!" M;F5D*%=)3C,R*0T*("`C=6YD968 :6YT96P-"B` (W5N9&5F(&EN=&5L,38- M"B` (V1E9FEN92!?7TY/7TE.3$E.15]?("`O*B!E;75L871E("U/,"`J+PT* M*3L ?0T*=F]I9"!F;V]?,C` *'9O:60I('L <'5T<R`H(DDG;2!F;V]?,C`H M," I(BD[('T-"G9O:60 9F]O7S0P("AV;VED*2![('!U=', *")))VT 9F]O M7S0P*"DB*3L ?0T*=F]I9"!F;V]?-3` *'9O:60I('L <'5T<R`H(DDG;2!F M(&9O;U\V," I(BD[('T-"G9O:60 9F]O7S<P("AV;VED*2![('!U=', *")) M12!S=')A=#L-" T*("!P<FEN=&8 *")$3U, ;65M;W)Y(&%L;&]C871I;VX M<W1R871E9WDZ("(I.PT*("!I9B`H(6=E=%]M96U?<W1R870H)G-T<F%T*2D- M*0T*("` ("` ('!U=', *")F86EL960B*3L-"B` 96QS92!P=71S(" B;VMA M*3L-"B` 4E5.1$]73E]!1$0 *&9O;U\V,"P -C`I.PT*("!254Y$3U=.7T%$ M"B` 4E5.1$]73E]!1$0 *&9O;U\U,"P -3`I.PT*("!254Y$3U=.7T%$1"`H ` end
Oct 12 2004
Benoit Tremblay wrote:Hi, I am trying to compile the watt-32 library with digital mars. I got only 4 files that wasn't compiled by digital mars. I was unable to fix the compilation errror and think now that it is an issue with de digital mars compiler. Here is the error ouput of the first file: c:\djgpp\bin\dmc -ml -a2 -I. -I..\inc -IC:\dm\include -W -fno-strength-reduce -f fast-math -o digmars/misc.o -c misc.c misc.c: ((int(far *)(void const const *, void const const *))list_compare)); ^ misc.c(463) : Error: need explicit cast for function parameter 4 to get from: int (*far C func)(void *,void *) to : int (*far C func)(void const *,void const *) --- errorlevel 1 make.exe: *** [digmars/misc.o] Error 1This newsgroup is for reporting bugs in the D Programming Languages. You probably meant to post to one of the C++ newsgroups. Here are some ideas: c++ c++.stl c++.stl.hp c++.stl.sgi c++.stl.port c++.idde c++.command-line c++.rtl c++.mfc c++.atl c++.announce c++.dos c++.dos.16-bits c++.dos.32-bits c++.windows c++.windows.16-bits c++.windows.32-bits c++.chat c++.beta c++.stlsoft c++.wxwindows -- Justin (a/k/a jcc7) http://jcc_7.tripod.com/d/
Oct 12 2004
I believe the compiler is correct. You can fix the problem in the code by using a cast. "Benoit Tremblay" <Benoit_member pathlink.com> wrote in message news:ckh468$14ga$1 digitaldaemon.com...Hi, I am trying to compile the watt-32 library with digital mars. I got only 4filesthat wasn't compiled by digital mars. I was unable to fix the compilationerrrorand think now that it is an issue with de digital mars compiler. Here is the error ouput of the first file:c:\djgpp\bin\dmc -ml -a2 -I. -I..\inc -IC:\dm\include -W -fno-strength-reduc e -ffast-math -o digmars/misc.o -c misc.c misc.c: ((int(far *)(void const const *, void const const *))list_compare)); ^ misc.c(463) : Error: need explicit cast for function parameter 4 to get from: int (*far C func)(void *,void *) to : int (*far C func)(void const *,void const *) --- errorlevel 1 make.exe: *** [digmars/misc.o] Error 1 C:\net\watt\src> The cast is exactly as requested by the compiler. I try all sort ofvariationand I am unable to please digital mars. I feel that digital mars have some difficulty with the "const" keyword. I got similar error with 3 other files. thank you Benoit Benoit Tremblay trembb22 hotmail.com
Oct 13 2004