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

Bug fixes for gcc 4.8 make_unique #106

Merged
merged 7 commits into from
Jun 30, 2020
Merged

Conversation

donaldwj
Copy link
Contributor

Fix issues with use of make_unique with gcc 4.8.5 and other Centos 7 issues. Addresses issue #81.

Additions

Removals

Changes

Testing

Screenshots

Notes

Todos

Checklist

  • PR has an informative and human-readable title
  • Changes are limited to a single goal (no scope creep)
  • Code can be automatically merged (no conflicts)
  • Code follows project standards (link if applicable)
  • Passes all existing automated tests
  • Any change in functionality is tested
  • New functions are documented (with a description, list of inputs, and expected output)
  • Placeholder code is flagged / future todos are captured in comments
  • Project documentation has been updated (including the "Unreleased" section of the CHANGELOG)
  • Reviewers requested with the Reviewers tool ➡️

Testing checklist (automated report can be put here)

Target Environment support

  • Linux

@hellkite500
Copy link
Member

The build tests fail with this patch:
[ 41%] Building CXX object src/core/catchment/giuh/CMakeFiles/core_catchment_giuh.dir/GiuhJsonReader.cpp.o
In file included from /Users/runner/runners/2.263.0/work/ngen/ngen/src/core/catchment/giuh/GiuhJsonReader.cpp:1:
/Users/runner/runners/2.263.0/work/ngen/ngen/include/core/catchment/giuh/GiuhJsonReader.h:31:34: error: call to 'make_unique' is ambiguous
data_json_tree = std::make_unique(tree);
^~~~~~~~~~~~~~~~~~~~~~~

@donaldwj
Copy link
Contributor Author

donaldwj commented Jun 29, 2020 via email

@donaldwj
Copy link
Contributor Author

donaldwj commented Jun 29, 2020 via email

@hellkite500 hellkite500 merged commit 9785090 into NOAA-OWP:master Jun 30, 2020
@hellkite500
Copy link
Member

Closes #81

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