Skip to content

Compilation problem with latest master #188

@vlachoudis

Description

@vlachoudis

I am trying to build the latest master v1.2.74 on a latest version of Ubuntu 24.10
and I get multiple errors like

   10 |   this->path = std::move( other.path );
      |   ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/bnv/git/NJOY21/build/_deps/spdlog-src/include/spdlog/details/spdlog_impl.h:11,
                 from /home/bnv/git/NJOY21/build/_deps/spdlog-src/include/spdlog/spdlog.h:204,
                 from /home/bnv/git/NJOY21/build/_deps/log-src/src/Log.hpp:7,
                 from /home/bnv/git/NJOY21/build/_deps/header-utilities-src/src/header-utilities/echoErroneousLine.hpp:10,
                 from /home/bnv/git/NJOY21/build/_deps/header-utilities-src/src/header-utilities.hpp:22,
                 from /home/bnv/git/NJOY21/build/_deps/utility-src/src/utility.hpp:21,
                 from /home/bnv/git/NJOY21/build/_deps/utility-src/src/utility/stream/src/getInteger.cpp:1:
/home/bnv/git/NJOY21/build/_deps/spdlog-src/include/spdlog/details/../details/registry.h:31:22: error: template-id not allowed for constructor in C++20 [-Werror=template-id-cdtor]
   31 |     registry_t<Mutex>(const registry_t<Mutex> &) = delete;
      |                      ^
/home/bnv/git/NJOY21/build/_deps/spdlog-src/include/spdlog/details/../details/registry.h:31:22: note: remove the ‘< >’
/home/bnv/git/NJOY21/build/_deps/spdlog-src/include/spdlog/details/../details/registry.h:232:22: error: template-id not allowed for constructor in C++20 [-Werror=template-id-cdtor]
  232 |     registry_t<Mutex>() = default;
      |                      ^
/home/bnv/git/NJOY21/build/_deps/spdlog-src/include/spdlog/details/../details/registry.h:232:22: note: remove the ‘< >’
[ 35%] Building Fortran object _deps/njoy-build/CMakeFiles/njoy.dir/src/viewr.f90.o
/home/bnv/git/NJOY21/build/_deps/njoy-src/src/thermr.f90:1581:33:

 1581 |    real(kr)::yy(imax),yu(2*nemax)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions