Skip to content

REG 1.42.0-beta1: Obj-C related compile error on Linux and misleading error location #5040

@s-ludwig

Description

@s-ludwig

Receiving the following error on Linux that doesn't occur for 1.41.0:

app-desktop/source/krtek/desktop/gui/panes/metadata.d(618,55): Error: Runtime function `objc_opt_isKindOfClass` was not found
                            auto btn = cast(ListIconButton)tsi.extraWidgets[0];
                                                                           ^

The location associated with the error does not have anything to do with extern (Objective-C), but there are other parts of the code base that do call Objective-C functions, but obviously only when compiling for Apple platforms. AFAICS, all such code is in version (iOS) or version (OSX) blocks.

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