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

Clang Warnings #11369

Closed
PeterParker opened this issue Nov 11, 2014 · 1 comment
Closed

Clang Warnings #11369

PeterParker opened this issue Nov 11, 2014 · 1 comment
Assignees
Labels
Indirect/Inelastic Issues and pull requests related to indirect or inelastic Low Priority Things that you don't ever want to be done.
Milestone

Comments

@PeterParker
Copy link
Contributor

Slack message from Steven Hahn:

Some of your code in Refs http://trac.mantidproject.org/mantid/ticket/5308 (https://github.com/mantidproject/mantid/commit/9c4606692a4d4f60cc3fb2cb9bc591fb23837bf3) is generating warning in osx with the clang compiler. Would you please rework the following lines?

/Users/svh/Documents/MantidProject/mantid/Code/Mantid/MantidQt/CustomInterfaces/src/CalcCorr.cpp:292:5: warning: ignoring return value of function declared with warn_unused_result attribute [-Wunused-result]
   runPythonCode(pyInput).trimmed();
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
[1005/1462] Building CXX object Mantid...s/CustomInterfaces.dir/src/Elwin.cpp.o
/Users/svh/Documents/MantidProject/mantid/Code/Mantid/MantidQt/CustomInterfaces/src/Elwin.cpp:122:5: warning: ignoring return value of function declared with warn_unused_result attribute [-Wunused-result]
   runPythonCode(pyInput).trimmed();
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
[1010/1462] Building CXX object Mantid.../CustomInterfaces.dir/src/MSDFit.cpp.o
/Users/svh/Documents/MantidProject/mantid/Code/Mantid/MantidQt/CustomInterfaces/src/MSDFit.cpp:86:5: warning: ignoring return value of function declared with warn_unused_result attribute [-Wunused-result]
   runPythonCode(pyInput).trimmed();
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
@PeterParker
Copy link
Contributor Author

This issue was originally trac ticket 10527

@PeterParker PeterParker added Low Priority Things that you don't ever want to be done. Indirect/Inelastic Issues and pull requests related to indirect or inelastic labels Jun 3, 2015
@PeterParker PeterParker self-assigned this Jun 3, 2015
@PeterParker PeterParker added this to the Release 3.3 milestone Jun 3, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Indirect/Inelastic Issues and pull requests related to indirect or inelastic Low Priority Things that you don't ever want to be done.
Projects
None yet
Development

No branches or pull requests

1 participant