C++ Logo

STD-PROPOSALS

Advanced search

Subject: Re: [std-proposals] Diamond dependencies and modules
From: Thiago Macieira (thiago_at_[hidden])
Date: 2020-01-22 12:57:19


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

STD-PROPOSALS list run by std-proposals-owner@lists.isocpp.org

Standard Proposals Archives on Google Groups