libports: less noisy compilation of libfuse

Out of laziness we only provide two dummy functions for all FUSE
operations, which are used in case the FUSE file system does not
implement them itself.

Fixes #1058.
This commit is contained in:
Josef Söntgen 2013-12-09 16:18:54 +01:00 committed by Christian Helmuth
parent 8f1e8c122f
commit 7998fdaf3f
1 changed files with 6 additions and 0 deletions

View File

@ -148,6 +148,12 @@ struct fuse* fuse_new(struct fuse_chan *chan, struct fuse_args *args,
Genode::memcpy(&_fuse->op, fsop, Genode::min(size, sizeof (_fuse->op)));
/**
* Defining a dummy function for each fuse operation is cumbersome.
* So let us faithfully ignore the compiler.
*/
#pragma GCC diagnostic ignored "-fpermissive"
FIX_UP_OPERATION1(_fuse, readlink);
FIX_UP_OPERATION1(_fuse, mknod);
FIX_UP_OPERATION1(_fuse, unlink);