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

Fixed some compilation warnings and removed unused source code #94

Merged
merged 9 commits into from
May 31, 2018

Conversation

wenqing
Copy link
Member

@wenqing wenqing commented May 29, 2018

This PR

  1. fixes some compilation warnings.
  2. removes unused source code.
  3. re-writes the reading of command line arguments in the main function.

@@ -155,7 +155,8 @@ std::string getCwd()
#ifdef WIN32
_getcwd(cwd, FILENAME_MAX);
#else
getcwd(cwd, FILENAME_MAX);
char* unused __attribute__((unused));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

are compilers other than GCC supporting __attribute__?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@norihiro-w Thanks. Just removed it and gcc 7.3 still keeps silent after removing.

@norihiro-w
Copy link
Contributor

it looks ok for me besides one minor comment.

@norihiro-w
Copy link
Contributor

👍 if Jenkins is green

@wenqing
Copy link
Member Author

wenqing commented May 31, 2018

@norihiro-w Only the two benchmarks failed. The two benchmarks do not work for long time. I will fixed them in another PR.

@wenqing wenqing merged commit d62e320 into ufz:master May 31, 2018
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.

2 participants