Skip to content

msys2 error in ofLog #8464

@dimitre

Description

@dimitre

I'm porting all that is needed to run OF with ofLibs in msys2, and when I updated compiler from -std=gnu++17 to -std=gnu++20 (because of std::clamp and std::lerp) now there is a fatal error in ofLog.h

error: use of deleted function.
it seems << operator is overriding string or char

		template <typename T>
		ofLog & operator<<(T value) {
			message << value << getPadding();
			return *this;
		}

Any ideas of how to solve this one?

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