www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Warnings in dub docs build

reply Confused Coder <bob123 example.org> writes:
I am trying to use dub to build documentation. I am running "dub 
build --build=docs", but it fails on the following warning:
"../../.dub/packages/vibe-d-0.8.5/vibe-d/crypto/vibe/crypto/
ryptorand.d(44,18): Warning: Ddoc: parameter count mismatch, expected 2, got"

How can I prevent this? I want to either ignore the warnings, or 
(preferably) just have dub build docs for my package, and not the 
dependencies.

Thanks!
May 14
parent Jacob Carlborg <doob me.com> writes:
On 2019-05-14 23:05, Confused Coder wrote:
 I am trying to use dub to build documentation. I am running "dub build 
 --build=docs", but it fails on the following warning:
 "../../.dub/packages/vibe-d-0.8.5/vibe-d/crypto/vibe/crypto/
ryptorand.d(44,18): 
 Warning: Ddoc: parameter count mismatch, expected 2, got"
 
 How can I prevent this? I want to either ignore the warnings, or 
 (preferably) just have dub build docs for my package, and not the 
 dependencies.
The simplest would be to build with `--verror`. That will only print errors and no warnings. -- /Jacob Carlborg
May 15