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

[dev.icinga.com #6488] build warnings #1691

Closed
icinga-migration opened this issue Jun 15, 2014 · 2 comments
Closed

[dev.icinga.com #6488] build warnings #1691

icinga-migration opened this issue Jun 15, 2014 · 2 comments
Labels
bug Something isn't working
Milestone

Comments

@icinga-migration
Copy link

This issue has been migrated from Redmine: https://dev.icinga.com/issues/6488

Created by mthode on 2014-06-15 19:30:16 +00:00

Assignee: (none)
Status: Resolved (closed on 2014-06-26 12:13:58 +00:00)
Target Version: 2.0.1
Last Update: 2014-06-26 12:13:58 +00:00 (in Redmine)

Icinga Version: icinga2-2.0.0-beta2

/var/tmp/portage/net-analyzer/icinga2-2.0.0_beta2/work/icinga2-2.0.0-beta2/lib/base/process.cpp: In member function ‘void icinga::Process::Run(const boost::function<void(const icinga::ProcessResult&)>&)’:
/var/tmp/portage/net-analyzer/icinga2-2.0.0_beta2/work/icinga2-2.0.0-beta2/lib/base/process.cpp:515:16: warning: ignoring return value of ‘int nice(int)’, declared with attribute warn_unused_result [-Wunused-result]
/var/tmp/portage/net-analyzer/icinga2-2.0.0_beta2/work/icinga2-2.0.0-beta2/lib/base/process.cpp:573:41: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result]
/var/tmp/portage/net-analyzer/icinga2-2.0.0_beta2/work/icinga2-2.0.0-beta2/lib/base/process.cpp: In static member function ‘static void icinga::Process::IOThreadProc(int)’:
/var/tmp/portage/net-analyzer/icinga2-2.0.0_beta2/work/icinga2-2.0.0-beta2/lib/base/process.cpp:231:59: warning: ignoring return value of ‘ssize_t read(int, void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result]
/var/tmp/portage/net-analyzer/icinga2-2.0.0_beta2/work/icinga2-2.0.0-beta2/lib/base/utility.cpp: In static member function ‘static icinga::String icinga::Utility::Addr2Line(const icinga::String&, uintptr_t)’:
/var/tmp/portage/net-analyzer/icinga2-2.0.0_beta2/work/icinga2-2.0.0-beta2/lib/base/utility.cpp:109:35: warning: ignoring return value of ‘char* fgets(char**, int, FILE**)’, declared with attribute warn_unused_result [-Wunused-result]

Changesets

2014-06-26 12:12:37 +00:00 by gbeutner 3ece0cf

Fix build warnings

fixes #6488
@icinga-migration
Copy link
Author

Updated by mfriedrich on 2014-06-17 16:18:18 +00:00

  • Target Version set to 2.0.1

@icinga-migration
Copy link
Author

Updated by gbeutner on 2014-06-26 12:13:58 +00:00

  • Status changed from New to Resolved
  • Done % changed from 0 to 100

Applied in changeset 3ece0cf.

@icinga-migration icinga-migration added Low bug Something isn't working labels Jan 17, 2017
@icinga-migration icinga-migration added this to the 2.0.1 milestone Jan 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant