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

gcc-9.2 complains about SortPermutation.hh #828

Closed
KineticTheory opened this issue May 12, 2020 · 0 comments · Fixed by #829
Closed

gcc-9.2 complains about SortPermutation.hh #828

KineticTheory opened this issue May 12, 2020 · 0 comments · Fixed by #829
Assignees
Labels
Milestone

Comments

@KineticTheory
Copy link
Collaborator

[  3%] Building CXX object src/ds++/test/CMakeFiles/Ut_dsxx_tstSortPermutation_exe.dir/tstSortPermutation.cc.o
cd /scratch/kellyt/gcc-mpid/src/ds++/test && /ccs/opt/vendors/spack.20200429/opt/spack/linux-rhel7-sandybridge/gcc-4.8.5/gcc-9.3.0-5meziogpwuvromk6iuxk7enejt4muwne/bin/g++  -DPROJECT_BINARY_DIR=\"/scratch/kellyt/gcc-mpid/src/ds++/test\" -DPROJECT_SOURCE_DIR=\"/home/kellyt/draco/src/ds++/test\" -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D__STDC_CONSTANT_MACROS -I/home/kellyt/draco/src -I/scratch/kellyt/gcc-mpid/src/ds++  -Wcast-align -Wpointer-arith -Wall -pedantic -Wfloat-equal -Wunused-macros -fsanitize=bounds-strict -Wshadow -Wformat=2 -Wno-expansion-to-defined -Wnarrowing -march=native -fopenmp   -Werror  -g -gdwarf-3 -fno-inline -fno-eliminate-unused-debug-types -O0 -Wextra -Wundef -Wunreachable-code -DDEBUG -fsanitize=float-divide-by-zero -fsanitize=float-cast-overflow -fdiagnostics-color=auto -fsanitize=signed-integer-overflow -Woverloaded-virtual -Wnoexcept -Wsuggest-attribute=const -Wunused-local-typedefs -Wconversion -Wdouble-promotion  -fPIE   -std=c++14 -o CMakeFiles/Ut_dsxx_tstSortPermutation_exe.dir/tstSortPermutation.cc.o -c /home/kellyt/draco/src/ds++/test/tstSortPermutation.cc
In file included from /home/kellyt/draco/src/ds++/test/tstSortPermutation.cc:11:
/home/kellyt/draco/src/ds++/SortPermutation.hh:105:5: error: but 'rtt_dsxx::SortPermutation::Proxy<IT>::Proxy(const rtt_dsxx::SortPermutation::Proxy<IT>&) [with IT = __gnu_cxx::__normal_iterator<Foo*, std::vector<Foo> >]' does not throw; perhaps it should be declared 'noexcept' [-Werror=noexcept]
  105 |     Proxy(Proxy const &rhs) : pos(rhs.pos), iters(rhs.iters){};
      |     ^~~~~
/home/kellyt/draco/src/ds++/SortPermutation.hh:105:5: error: but 'rtt_dsxx::SortPermutation::Proxy<IT>::Proxy(const rtt_dsxx::SortPermutation::Proxy<IT>&) [with IT = std::_List_const_iterator<Foo>]' does not throw; perhaps it should be declared 'noexcept' [-Werror=noexcept]
/home/kellyt/draco/src/ds++/SortPermutation.hh:105:5: error: but 'rtt_dsxx::SortPermutation::Proxy<IT>::Proxy(const rtt_dsxx::SortPermutation::Proxy<IT>&) [with IT = Foo*]' does not throw; perhaps it should be declared 'noexcept' [-Werror=noexcept]
/home/kellyt/draco/src/ds++/SortPermutation.hh:105:5: error: but 'rtt_dsxx::SortPermutation::Proxy<IT>::Proxy(const rtt_dsxx::SortPermutation::Proxy<IT>&) [with IT = std::_List_iterator<FooGT>]' does not throw; perhaps it should be declared 'noexcept' [-Werror=noexcept]
/home/kellyt/draco/src/ds++/SortPermutation.hh:105:5: error: but 'rtt_dsxx::SortPermutation::Proxy<IT>::Proxy(const rtt_dsxx::SortPermutation::Proxy<IT>&) [with IT = __gnu_cxx::__normal_iterator<const FooGT*, std::vector<FooGT> >]' does not throw; perhaps it should be declared 'noexcept' [-Werror=noexcept]
/home/kellyt/draco/src/ds++/SortPermutation.hh:105:5: error: but 'rtt_dsxx::SortPermutation::Proxy<IT>::Proxy(const rtt_dsxx::SortPermutation::Proxy<IT>&) [with IT = const FooGT*]' does not throw; perhaps it should be declared 'noexcept' [-Werror=noexcept]
cc1plus: all warnings being treated as errors

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant