Skip to content

build error in debugger/baseD when building on manjaro #184

@silverhikari

Description

@silverhikari

Describe the bug

debugger/BaseD.cpp: In static member function ‘static void BaseD::check_paths_and_reload(char**, unsigned int, bool)’:
debugger/BaseD.cpp:323:7: error: ‘sort’ was not declared in this scope; did you mean ‘sqrt’?
  323 |       sort(v.begin(), v.end());             // sort, since directory iteration
      |       ^~~~
      |       sqrt
make[1]: *** [Makefile:352: obj/debugger/BaseD.o] Error 1

To Reproduce
Steps to reproduce the behavior:
after completing the submodule.sh run make in main directory

Expected behavior
build ends successfully

Desktop (please complete the following information):

  • OS: Manjaro Linux
  • Version:21.01 and for the source code git version

Additional context
version of gcc is 11, also changed the directory of the wla-dx from build-wla/binaries to just binaries as that is after building where they are located

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions