Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix compilation warning #15

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

NeitrinoK
Copy link

user@o0004238:~/nocc$ make client
go build -o bin/nocc-daemon -trimpath -ldflags '-s -w -X "github.com/VKCOM/nocc/internal/common.version=v1.2, rev 73b26e5, compiled at 2023-05-23 21:54:34 UTC"' cmd/nocc-daemon/main.go
g++ -std=c++11 -O3 cmd/nocc.cpp -o bin/nocc
cmd/nocc.cpp: In function ‘void start_daemon_in_background()’:
cmd/nocc.cpp:130:7: warning: ignoring return value of ‘int pipe(int*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  130 |   pipe(pipd);
      |   ~~~~^~~~~~

```
user@o0004238:~/nocc$ make client
go build -o bin/nocc-daemon -trimpath -ldflags '-s -w -X "github.com/VKCOM/nocc/internal/common.version=v1.2, rev 73b26e5, compiled at 2023-05-23 21:54:34 UTC"' cmd/nocc-daemon/main.go
g++ -std=c++11 -O3 cmd/nocc.cpp -o bin/nocc
cmd/nocc.cpp: In function ‘void start_daemon_in_background()’:
cmd/nocc.cpp:130:7: warning: ignoring return value of ‘int pipe(int*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  130 |   pipe(pipd);
      |   ~~~~^~~~~~
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant