jwatte
Posts: 203
Joined: Sat Aug 13, 2011 7:28 pm

MMAL: How do I get rid of VCOS_INLINE_DECL warnings?

Wed Apr 01, 2015 6:48 pm

I generally compile with -Wall -Werror

Unfortunately, the VCOS_INLINE_DECL macro used for some mmal functions generates a warning, because I get the inline declaration but not the definition.
This comes from, for example, vcos_platform_types.h.

How am I supposed to #define/#include these headers to avoid this warning?
(I already tried -DVCOS_INLINE_DECL=extern, but that is overridden in vcos_types.h when NDEBUG is defined)

jwatte
Posts: 203
Joined: Sat Aug 13, 2011 7:28 pm

Re: MMAL: How do I get rid of VCOS_INLINE_DECL warnings?

Tue Apr 07, 2015 2:58 am

That was not an April Fools joke -- I really want to know!

Return to “Advanced users”