Skip to content
This repository was archived by the owner on May 20, 2026. It is now read-only.
This repository was archived by the owner on May 20, 2026. It is now read-only.

Replace Session_object::warning() and friends by just print'able Session_object #5795

@chelmuth

Description

@chelmuth

If warning() is used in a static class function of a class derived from Session_object the compiler nags like follows, which can be addressed by using Genode::warning() but is unexpected at least.

error: cannot call member function ‘void Genode::Session_object< <template-parameter-1-1>, <template-parameter-1-2> >::error(auto:176&& ...) const

It may be a better approach to amend Session_object with a print() method such that a derived class can use warning(*this, " deserves a warning").

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions