Using tango with dub
Jacob Carlborg via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Sun Dec 18 03:33:06 PST 2016
On 2016-12-18 10:43, albert-j wrote:
>> Try an older version.
>
> Before resorting to that, I am also trying to "dub build
> --compiler=gdc". Getting different types of errors:
>
> ../../../.dub/packages/tango-1.0.3_2.068/tango/tango/math/IEEE.d:614:17:
> error: instead of C-style syntax, use D-style syntax 'real[3][] vals'
> [-Werror]
> static real vals[][3] = // x,frexp,exp
> ...
> ^
> cc1d: all warnings being treated as errors
>
> I tried to suppress the errors by adding
> buildRequirements:["allowWarnings", "silenceWarnings"] to dub.json, but
> no luck. Is it possible to get around them?
I don't know. Seems like the -Werror flag is passed, somewhere.
--
/Jacob Carlborg
More information about the Digitalmars-d-learn
mailing list