Skip to content

Fixed some compilation warnings and removed unused source code - #94

Merged
wenqing merged 9 commits into
ufz:masterfrom
wenqing:rm_unused
May 31, 2018
Merged

wenqing merged 9 commits into
ufz:masterfrom
wenqing:rm_unused

Conversation

@wenqing

@wenqing wenqing commented May 29, 2018 •

Copy link
Copy Markdown
Member

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.

Comment thread Base/FileTools.cpp Outdated
_getcwd(cwd, FILENAME_MAX);
#else
getcwd(cwd, FILENAME_MAX);
char* unused __attribute__((unused));

Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Contributor

it looks ok for me besides one minor comment.

@norihiro-w

Copy link
Copy Markdown
Contributor

👍 if Jenkins is green

@wenqing

wenqing commented May 31, 2018

Copy link
Copy Markdown
Member Author

@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