From: kevin@TorreyPinesCA.ncr.com (Kevin Sanders) Subject: Re: Chainsaw 3.12 compiles with errors Date: Tue, 3 Aug 1993 00:06:00 GMT
In article <1993Aug1.011239.15328@cognos.com> naubertp@cognos.COM (Patrick Naubert) writes:
>Got the following after downloading chain3.12.tpz from sunsite:
>
>cc -I/usr/src/chain3.12/E/h -DNO_FIX_MALLOC -fwritable-strings -g -c fairland.c -o fairland.o
>fairland.c:159: built-in function 'sin' declared as non-function
>fairland.c: In function 'init':
>fiarland.c: 344: warning: ordered comparison of pointer with interger zero
>make[2]: *** [fairland.o] Error 1
>make[1]: *** [all] Error 1
>
>Can the author help me with this one ? I did RTFM and saw nothing about this.
>(Don't feel like hacking tonight...)
>
>Thanks muchly !
>
This could be due to differences in the compiler/include files on the newer
systems. I posted this source just prior to upgrading to new kernel,
libraries, compiler, X, etc. I haven't tried compiling it on my now-upgraded
system.
As noted in another post, this appears to be a conflict in variable names,
so renaming the 'sin' variable to something else should resolve this problem.
-- [] [] [][] [][] Kevin Sanders, KN6FQ NCR Torrey Pines [] [] [] [] [] kevin.sanders@torreypinesca.ncr.com (619) 597-3602 [][] [][] [][] kevin%beacons@cyber.net [] [] [] [] [] [] [] [] [] [][] Dump MS-DOS. Prevent Programmer Burnout with Linux.