Good Afternoon Mark:

Your gcc version is newer than anything we have access to here.
Evidently some behavior has changed in ther new gcc that is
incompatible with what we are using now.  I am certain
there are gcc arguments we could give to your compiler to
make it ignore these warnings, but I don't know what that
would be, and mysteriously I haven't been able to
find an answer via google, the usual answer to these types
of problems.  I note this error report can be found on google
in other software packages, but no work-arounds found yet.

These files with the errors are some of the
oldest files in our source tree.  Where one problem exists,
probably others do too.

Try getting rid of all the -W arguments to the gcc command.

--Hiram

Strivens, Mark Andrew wrote:
> Hi Brian
> 
>  
> 
> I tried the check-out, but am still getting prototype errors when
> compiling libs (I am following instructions step #6
> http://genome.ucsc.edu/admin/jk-install.htmlmkdir).
> 
>  
> 
> Error:
> 
>  
> 
> it -Wreturn-type -Wuninitialized -I../inc -I../../inc -I../../../inc
> -I../../../../inc -I../../../../../inc  -o gifdecomp.o -c gifdecomp.c
> 
> cc1: warnings being treated as errors
> 
> gifdecomp.c: In function 'decoder':
> 
> gifdecomp.c:274: error: call to function 'gif_out_line' without a real
> prototype

> I had previously corrected this error by adding the following line in
> 'lib/gifcodes.h':
> 
>  
> 
> int gif_out_line(UBYTE pixels[], int linelen);
> 
>  
> 
> I seem to be getting a lot of prototype errors - is this something to do
> with the compile settings or version of GCC I am using?
_______________________________________________
Genome maillist  -  [email protected]
https://lists.soe.ucsc.edu/mailman/listinfo/genome

Reply via email to