C++ Logo

std-proposals

Advanced search

Re: Diamond dependencies and modules

From: Thiago Macieira <thiago_at_[hidden]>
Date: Wed, 22 Jan 2020 10:57:19 -0800
On Wednesday, 22 January 2020 04:56:17 PST Askar Safin via Std-Proposals
wrote:
> Hi. Consider this situation: program X depends on libraries Y and Z, Y
> depends on library T 1.0 and Z depends on library T 2.0. Versions T 1.0 and
> T 2.0 export same symbols (but they are implemented differently). As well
> as I understand usual C++ package managers simply refuse to build X in this
> situation. Can we somehow solve this problem? For example, using modules?

This should be resolved by refusing to build at the C++ level.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel System Software Products

Received on 2020-01-22 12:59:59