[flac-dev] flac 1.3.0pre3 pre-release

Erik de Castro Lopo mle+la at mega-nerd.com
Sat Apr 6 19:19:17 PDT 2013


Dagobert Michelsen wrote:

> There compilation on Solaris 10 Sparc with Sun Studio 12 gives the following compile errors:
> 
> >   CC     bitreader.lo
> > "bitreader.c", line 494: warning: implicit function declaration: MIN
> >   CC     bitwriter.lo
> > "bitwriter.c", line 273: reference to static identifier "bitwriter_grow_" in extern inline function
> > "bitwriter.c", line 277: warning: implicit function declaration: MIN
> > "bitwriter.c", line 316: reference to static identifier "bitwriter_grow_" in extern inline function
> > cc: acomp failed for bitwriter.c
> > gmake[4]: *** [bitwriter.lo] Error 1
> 
> Either bitwriter_grow_ can be made non-static or FLAC__bitwriter_write_zeroes not inline or
> also static to work around this.
> 
> The attached patch fixes the issue.

Not sure about this patch.

Can you please make sure that your C compiler is in the C99 mode and
you have optimisation turned on and try again.



More information about the flac-dev mailing list