[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Unable to make drogon-assist
|
From: |
Paul Smith |
|
Subject: |
Re: Unable to make drogon-assist |
|
Date: |
Tue, 02 Jul 2024 09:06:29 -0400 |
|
User-agent: |
Evolution 3.52.3 (by Flathub.org) |
On Mon, 2024-07-01 at 14:31 -0700, Albaro Pereyra wrote:
> /home/albaro/drogon-assist/drogon/assist/passwdhash.cpp:20:15: error:
> ‘string_view’ does not name a type
> 20 | const string_view alphabet =
> "1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";
> | ^~~~~~~~~~~
Once again I have to say, this is not the right place to be asking
these questions. None of this has anything to do with GNU Make.
However, if you are using a version of C++ which supports
std::string_view (which C++20 does) then all I can assume is that the
above is a bug in the code, and the type should be std::string_view not
string_view.
It's possible, but considered _extremely_ bad form, to add a "using
std;" to this header file and avoid the need to prefix STL types with
std:: but apparently that was not done here (which is good because it's
wrong to do that; certainly in global scope but even inside a class or
namespace it's a bad idea).
So, I reiterate, you should report this problem to the drogon-assist
maintainers. They will have to help you.
Good luck!
PS. Or what Eddy said.
- Unable to make drogon-assist, Albaro Pereyra, 2024/07/01
- Re: Unable to make drogon-assist, Paul Smith, 2024/07/01
- Re: Unable to make drogon-assist, Albaro Pereyra, 2024/07/01
- Re: Unable to make drogon-assist, Paul Smith, 2024/07/01
- Re: Unable to make drogon-assist, Albaro Pereyra, 2024/07/01
- Re: Unable to make drogon-assist, Albaro Pereyra, 2024/07/01
- Re: Unable to make drogon-assist, Edward Welbourne, 2024/07/02
- Re: Unable to make drogon-assist,
Paul Smith <=
- Re: Unable to make drogon-assist, Albaro Pereyra, 2024/07/02