Moi.
Katos tämä
https://wiki.ubuntu.com/CompilerFlags onko mitään apua.
Eli laitan tähänkin jos tuo sivu joskus nurin:
error: call to '__open_missing_mode' declared with attribute error: open with O_CREAT in second argument needs 3 arguments
* When using open() with O_CREAT, best-practice is to define a valid mode argument. For the least modes, try using (S_IRUSR|S_IWUSR) first. If that doesn't work as expected in the program, then start adding back perms. For example, user and group: (S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP); user, group, and other: (S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH).
Auttaneeko tuo?