Skip to content

Support for building with C++ 20 for VFX Platform 2026 #208

@jfpanisset

Description

@jfpanisset

Problem

Currently the top level CMakeLists.txt forces the C++ standard to 17:

set(CMAKE_CXX_STANDARD 17)

For 2026 the VFX Platform specifies C++ 20 as the API/SDK version. When building in a VFX Platform 2026 Conan environment this results in:

#24 3.452 -- Warning: Standard CMAKE_CXX_STANDARD value defined in conan_toolchain.cmake to 20 has been modified to 17 by /opt/conan_home/d/b/openf69bc4c21731b6/b/CMakeLists.t
xt

Since OpenFX manages C++ plugins which have to conform to a certain ABI, I'm not sure how tightly coupled the C++ version of the host application, the OpenFX library and the plugins are, and how that interacts with the VFX Platform.

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    Status

    Upcoming Meeting Agenda Items

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions