この helloworld の例をコンパイルすると、次のエラーが 4 回繰り返されます。
error: expected primary-expression before ‘.’ token
コードは次のとおりです。
static struct fuse_operations hello_oper = {
.getattr = hello_getattr,
.readdir = hello_readdir,
.open = hello_open,
.read = hello_read,
};
int main(int argc, char *argv[])
{
return fuse_main(argc, argv, &hello_oper);
}