Skip to content

error: cannot initialize a variable of type 'const char *const' with an rvalue of type 'int' #164

@yurivict

Description

@yurivict
/usr/ports/devel/corrade/work/corrade-2020.06-1214-g3bf6057d/src/Corrade/Utility/Implementation/ErrorString.cpp:68:23: error: cannot initialize a variable of type 'const char *const' with an rvalue of type 'int'
    const char* const string = strerror_r(error, buffer, Containers::arraySize(buffer));
                      ^        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.

rev. 2020.06-1214-g3bf6057d
clang-14
FreeBSD 13.1

Metadata

Metadata

Assignees

No one assigned

    Projects

    Status
    Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions