[flac-dev] flac 1.3.0pre2 pre-release

Miroslav Lichvar
Mon, 11 Mar 2013 09:23:40 -0000

On Sat, Mar 09, 2013 at 12:28:28PM -0500, Ben Allison
wrote:
> Erik,
>
> Sorry for the confusion.  There is one more patch.  I had it in the first
> attempt I made but somehow these changes weren't in the redone patch.
>
> As mentioned before, this removes some of the 'inline' from the
bitreader
> and bitwriter functions that were used in another translation unit.
I'm
> surprised that this code works on other platform.  It must be a bug in
> GCC, or maybe deliberately non-standard behavior.   See 6.7.4 of the C99
> spec for details.

I don't see the problem. What exactly is the compiler error? It seems
the declarations in the header files don't have inline and they are
included with the definitions, so they shouldn't be inline definitions
and should be callable from other units.

--
Miroslav Lichvar