header file order in copperplate/registry.c
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
Quoted 7 lines · Matthias Schneider
Hi all,
shouldn't
fuse.hbe include afterxeno_config.hincopperplate/registry.cof xenomai-forge/next in order to allowxeno_config.hto set theFUSE_USE_VERSIONdefine before it is set to a default value byfuse.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
Signature · 1 line
Philippe.