Re: Inline definition problem in current

From: Gustau Perez <gperez_at_entel.upc.edu>
Date: Tue, 24 Mar 2009 17:06:32 +0100
>>
>> It seems like they might be related.
>>
>>     
>> Hope that helps.
>>
>>     

   Yes it did.
> I can confirm that reverting this change allows the audio/faad port to build.
>
>   

   Instead of reverting that change, it would be better to change the 
offeding inline function definition to something like :

          extern inline [return type|void] __attribute__((gnu_inline)) 
function_name(arg1,arg2,...)

   and the function implementation should be the same without the 
extern. That allowed me to compile compiz-fusion-plugins-main
in current and run it. I'm found the problem you faced, but didn't know 
how to fix it, so I used an static inline definition (which is not the 
solution).

   I'm going to try this patch in stable branch (which doesn't need this 
change). If it works a PR can be send to fix both current and stable
without tricks in the makefile.

   Greets,

  
Received on Tue Mar 24 2009 - 15:08:42 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:44 UTC