All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai] header file order in copperplate/registry.c
@ 2014-03-17 20:49 Matthias Schneider
  2014-03-18  8:24 ` Philippe Gerum
  0 siblings, 1 reply; 2+ messages in thread
From: Matthias Schneider @ 2014-03-17 20:49 UTC (permalink / raw)
  To: xenomai@xenomai.org

Hi all,

shouldn't fuse.h be include after xeno_config.h in copperplate/registry.c 
of xenomai-forge/next in order to allow xeno_config.h to set the FUSE_USE_VERSION
define before it is set to a default value by fuse.h? Otherwise I get compile
errors due to mismatching APIs.

Regards,

Matthias


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Xenomai] header file order in copperplate/registry.c
  2014-03-17 20:49 [Xenomai] header file order in copperplate/registry.c Matthias Schneider
@ 2014-03-18  8:24 ` Philippe Gerum
  0 siblings, 0 replies; 2+ messages in thread
From: Philippe Gerum @ 2014-03-18  8:24 UTC (permalink / raw)
  To: Matthias Schneider, xenomai@xenomai.org

On 03/17/2014 09:49 PM, Matthias Schneider wrote:
> Hi all,
>
> shouldn't fuse.h be include after xeno_config.h in copperplate/registry.c
> of xenomai-forge/next in order to allow xeno_config.h to set the FUSE_USE_VERSION
> define before it is set to a default value by fuse.h? Otherwise I get compile
> errors due to mismatching APIs.
>

Yep, something is wrong. Another option is to define FUSE_USE_VERSION in 
the local CFLAGS only for building the registry support. The commit 
below does this:

http://git.xenomai.org/xenomai-forge.git/commit/?h=next&id=f8dfc3f064ed75deda2336cd5db6bf4713f60700

-- 
Philippe.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-03-18  8:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-17 20:49 [Xenomai] header file order in copperplate/registry.c Matthias Schneider
2014-03-18  8:24 ` Philippe Gerum

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.