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

C++17 build #21

Merged
merged 1 commit into from
Feb 28, 2022
Merged

C++17 build #21

merged 1 commit into from
Feb 28, 2022

Conversation

ax3l
Copy link
Member

@ax3l ax3l commented Feb 28, 2022

Seen in #19:

  In file included from /home/runner/work/pyamrex/pyamrex/build/temp.linux-x86_64-3.6/3/_deps/fetchedamrex-src/Src/Base/AMReX_FabArray.H:13:
  /home/runner/work/pyamrex/pyamrex/build/temp.linux-x86_64-3.6/3/_deps/fetchedamrex-src/Src/Base/AMReX_FabFactory.H:52:5: error: use of the 'nodiscard' attribute is a C++17 extension [-Werror,-Wc++17-extensions]
      AMREX_NODISCARD
      ^
  /home/runner/work/pyamrex/pyamrex/build/temp.linux-x86_64-3.6/3/_deps/fetchedamrex-src/Src/Base/AMReX_Extension.H:185:30: note: expanded from macro 'AMREX_NODISCARD'
  #   define AMREX_NODISCARD [[nodiscard]]
                               ^

and no need to restrict us to C++14 anyway here :)

@ax3l ax3l force-pushed the topic-cxx17 branch 2 times, most recently from 026ea80 to a157675 Compare February 28, 2022 07:41
```
  In file included from /home/runner/work/pyamrex/pyamrex/build/temp.linux-x86_64-3.6/3/_deps/fetchedamrex-src/Src/Base/AMReX_FabArray.H:13:
  /home/runner/work/pyamrex/pyamrex/build/temp.linux-x86_64-3.6/3/_deps/fetchedamrex-src/Src/Base/AMReX_FabFactory.H:52:5: error: use of the 'nodiscard' attribute is a C++17 extension [-Werror,-Wc++17-extensions]
      AMREX_NODISCARD
      ^
  /home/runner/work/pyamrex/pyamrex/build/temp.linux-x86_64-3.6/3/_deps/fetchedamrex-src/Src/Base/AMReX_Extension.H:185:30: note: expanded from macro 'AMREX_NODISCARD'
  #   define AMREX_NODISCARD [[nodiscard]]
                               ^
```
@ax3l ax3l merged commit 8db8234 into AMReX-Codes:development Feb 28, 2022
@ax3l ax3l deleted the topic-cxx17 branch February 28, 2022 08:05
ax3l added a commit that referenced this pull request Mar 9, 2022
ax3l added a commit that referenced this pull request Mar 25, 2022
Follow-up to #21
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.

1 participant