[prev in list] [next in list] [prev in thread] [next in thread] 

List:       boost-build
Subject:    Re: [Boost-build] Generator conflicts..
From:       Steven Watanabe via Boost-build <boost-build () lists ! boost ! org>
Date:       2017-08-01 16:57:06
Message-ID: 5980B2E2.6000709 () providere-consulting ! com
[Download RAW message or body]

AMDG

On 08/01/2017 08:18 AM, Rene Rivera via Boost-build wrote:
> Here I was trying to add a common tool for asciidoctor, which can generate
> html and docbook at least, and ran into something I thought was resolved
> long ago.. Multiple generators conflicting when there are multiple
> transformations possible, of different lengths. Here's the quick repro
> jamroot.jam:
> 
> ===
> <snip>
> ===
> 
> With an empty test.aaa and running it as is one gets:
> 
> ===
> $ b2 -a -n
> Error: ambiguity found when searching for best transformation
> <snip>
> ===
> 
> Which is as might be expected. Except I though we had rigged the generator
> selection to pick the shortest such transformation. Am I wrong on that?

I don't remember any such rule.

> If
> I am is there some way to adjust the generators to get around the issue?

Isn't the usual solution to use generators.override?

> Note, this problem is going come up more and more as we add different tools
> that can generate common formats.
> 

In Christ,
Steven Watanabe

_______________________________________________
Unsubscribe & other changes: https://lists.boost.org/mailman/listinfo.cgi/boost-build
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic