Skip to content

Doesn't compile on MSVC 22 #48

@klugier

Description

@klugier

Hello Oblivion, It looks like Bobcat is not compiling on MSVC. Here is the error:
C:\Prototable\upp\git\uppsrc\Core\Value.hpp (161): error C2666: ,Upp::ValueType<Upp::TerminalCtrl::InlineImage,999,Upp::Moveable<Upp::TerminalCtrl::InlineImage>>::operator ==": overloaded functions have similar conversions

It looks like the error is related to this class in Terminal package:

    // Inline image data structure.
    struct InlineImage : ValueType<InlineImage, 999, Moveable<InlineImage> > {
        Image       image;
        Size        cellsize;
        Size        fontsize;
        Rect        paintrect;
        operator    Value() const                               { return RichValue<TerminalCtrl::InlineImage>(*this); }
    };

However, you will probably need to dif more to narrow down this problem.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions