Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
S src
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 62
    • Issues 62
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 4
    • Merge requests 4
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI/CD
    • Code Review
    • Issue
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • OPAL
  • src
  • Issues
  • #525

Closed
Open
Created Apr 28, 2020 by gsell@gsellOwner

Compilation on macOS with Clang is failing

Compilation with Clang on macOS is failing on the master branch:

In file included from /Users/gsell/src/OPAL/src/src/Solvers/MGPoissonSolver.cpp:35:
In file included from /Users/gsell/src/OPAL/src/src/Solvers/MGPoissonSolver.h:36:
In file included from /Users/gsell/src/OPAL/src/src/Solvers/PoissonSolver.h:5:
In file included from /Users/gsell/src/OPAL/src/src/Classic/Algorithms/PBunchDefs.h:4:
In file included from /Users/gsell/src/OPAL/src/src/Classic/Algorithms/Vektor.h:4:
In file included from /Users/gsell/src/OPAL/src/ippl/src/AppTypes/Vektor.h:15:
In file included from /Users/gsell/src/OPAL/src/ippl/src/Utility/PAssert.h:9:
In file included from /Users/gsell/src/OPAL/src/ippl/src/Utility/IpplInfo.h:46:
In file included from /Users/gsell/src/OPAL/src/ippl/src/Utility/Inform.h:34:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/iostream:37:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/ios:215:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/__locale:14:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/string:504:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/string_view:175:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/__string:56:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/algorithm:643:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/memory:2338:5: error: 
      delete called on 'IrregularDomain' that is abstract but has non-virtual destructor
      [-Werror,-Wdelete-abstract-non-virtual-dtor]
    delete __ptr;
    ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/memory:2651:7: note: 
      in instantiation of member function 'std::__1::default_delete<IrregularDomain>::operator()' requested here
      __ptr_.second()(__tmp);
      ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/memory:2605:19: note: 
      in instantiation of member function 'std::__1::unique_ptr<IrregularDomain, std::__1::default_delete<IrregularDomain>
      >::reset' requested here
  ~unique_ptr() { reset(); }
                  ^
/Users/gsell/src/OPAL/src/src/Solvers/MGPoissonSolver.cpp:74:18: note: in instantiation of member function
      'std::__1::unique_ptr<IrregularDomain, std::__1::default_delete<IrregularDomain> >::~unique_ptr' requested here
MGPoissonSolver::MGPoissonSolver ( PartBunch *beam,
                 ^
1 error generated.
make[2]: *** [src/CMakeFiles/libOPAL.dir/build.make:6186: src/CMakeFiles/libOPAL.dir/Solvers/MGPoissonSolver.cpp.o] Error 1
make[2]: Leaving directory '/Users/gsell/src/OPAL/build-master'
make[1]: *** [CMakeFiles/Makefile2:735: src/CMakeFiles/libOPAL.dir/all] Error 2
make[1]: Leaving directory '/Users/gsell/src/OPAL/build-master'
make: *** [Makefile:130: all] Error 2
Edited Apr 28, 2020 by gsell
Assignee
Assign to
OPAL 2.4.0
Milestone
OPAL 2.4.0 (Past due)
Assign milestone
Time tracking