Using tango with dub

albert-j via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sun Dec 18 01:43:11 PST 2016


> 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?


More information about the Digitalmars-d-learn mailing list