I suspected as much.  We should experiment to see if LLVM does a better
job, but that's post v1.0.

On Wed, Nov 5, 2014 at 6:32 AM, Taras Kondratiuk <
taras.kondrat...@linaro.org> wrote:

> On 11/04/2014 07:35 PM, Bill Fischofer wrote:
>
>> If the ODP prototypes simply all said 'static inline' then would that
>> permit the implementation to choose later which were actually static
>> inline?
>>
>> I.e., if the common odp_xxx.h says
>>
>> static inline void *odp_foo(...);
>>
>> Then can the implementation can say;
>>
>> static inline void *odp_foo(...) {  };
>>
>> to make the function inline and just say
>>
>> void *odp_foo(...) {  };
>>
>> to make it an actual call?
>>
>
> Unfortunately GCC throws -Werror=unused-function on this in each place
> where this header included, but no function implemented.
>
_______________________________________________
lng-odp mailing list
lng-odp@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/lng-odp

Reply via email to