Skip to content

Build error with clang: src/IECoreScene/SceneAlgo.cpp:65:11: error: only virtual member functions can be marked 'override' #1457

Open
@VVD

Description

@VVD

Version: Cortex 10.5.13.0-release
3rd-party modules: OS FreeBSD 14.2 amd64, different versions of clang: 18.1.6 from base, 19.1.7 from ports, 14.0.6 from ports, 13.0.1 from ports.

Description

Build error:

src/IECoreScene/SceneAlgo.cpp:65:11: error: only virtual member functions can be marked 'override'
                ~Task() override
                        ^~~~~~~~

Steps to Reproduce

  1. Build Cortex.

Debug Log

Part of build log with clang 14

/usr/local/llvm14/bin/clang++ -o src/IECoreScene/SceneAlgo.os -c -pipe -Wall -Wextra -Wsuggest-override -fPIC -isystem /usr/local/include -isystem /usr/local/include -isystem /usr/local/include -isystem /usr/local/include/oneapi/ -isystem /usr/local/include -isystem /usr/local/include/OpenEXR -isystem /usr/local/include/Imath -isystem /usr/local/include/freetype2 -std=c++17 -fvisibility=hidden -fPIC -Wno-unused-local-typedef -Wno-unused-parameter -DNDEBUG -DBOOST_DISABLE_ASSERTS -O3 -DIECoreScene_EXPORTS -fPIC -DIE_CORE_MILESTONEVERSION=10 -DIE_CORE_MAJORVERSION=5 -DIE_CORE_MINORVERSION=13 -DIE_CORE_PATCHVERSION=0 -DBOOST_FILESYSTEM_VERSION=3 -DBOOST_BIND_GLOBAL_PLACEHOLDERS -DIECORE_WITH_FREETYPE -Iinclude src/IECoreScene/SceneAlgo.cpp
src/IECoreScene/SceneAlgo.cpp:65:11: error: only virtual member functions can be marked 'override'
                ~Task() override
                        ^~~~~~~~

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