Re: Using tango with dub

2016-12-18 Thread albert-j via Digitalmars-d-learn
Have you seen https://github.com/economicmodeling/containers it has a HashSet http://economicmodeling.github.io/containers/containers/hashset.HashSet.html Just curious, how is it different from Tango's implementation?

Re: Using tango with dub

2016-12-18 Thread Jacob Carlborg via Digitalmars-d-learn
On 2016-12-17 21:15, bauss wrote: I thought Tango was obsolete a long time ago. It's a third party library like any other library. -- /Jacob Carlborg

Re: Using tango with dub

2016-12-18 Thread Jacob Carlborg via Digitalmars-d-learn
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

Re: Using tango with dub

2016-12-18 Thread albert-j via Digitalmars-d-learn
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]

Re: Using tango with dub

2016-12-17 Thread Soulsbane via Digitalmars-d-learn
On Saturday, 17 December 2016 at 20:26:53 UTC, albert-j wrote: I thought Tango was obsolete a long time ago. Is there a specific reason you need to use Tango and can't use Phobos? I need a Set implementation and from what I understand there isn't one in Phobos right now? Have you seen

Re: Using tango with dub

2016-12-17 Thread albert-j via Digitalmars-d-learn
I thought Tango was obsolete a long time ago. Is there a specific reason you need to use Tango and can't use Phobos? I need a Set implementation and from what I understand there isn't one in Phobos right now?

Re: Using tango with dub

2016-12-17 Thread bauss via Digitalmars-d-learn
On Saturday, 17 December 2016 at 15:46:20 UTC, albert-j wrote: I am trying to use Tango in a dub project because I need a HashSet. I added Tango as a dependency to the dub.json, but now dub gives me a bunch of depreciation warnings and a few errors, like

Re: Using tango with dub

2016-12-17 Thread Jacob Carlborg via Digitalmars-d-learn
On 2016-12-17 16:51, albert-j wrote: Since I just do "dub build", I assume it invokes dmd? I have v2.072.0. Try an older version. -- /Jacob Carlborg

Re: Using tango with dub

2016-12-17 Thread albert-j via Digitalmars-d-learn
Since I just do "dub build", I assume it invokes dmd? I have v2.072.0.

Re: Using tango with dub

2016-12-17 Thread Jacob Carlborg via Digitalmars-d-learn
On 2016-12-17 16:46, albert-j wrote: I am trying to use Tango in a dub project because I need a HashSet. I added Tango as a dependency to the dub.json, but now dub gives me a bunch of depreciation warnings and a few errors, like

Using tango with dub

2016-12-17 Thread albert-j via Digitalmars-d-learn
I am trying to use Tango in a dub project because I need a HashSet. I added Tango as a dependency to the dub.json, but now dub gives me a bunch of depreciation warnings and a few errors, like ../../../.dub/packages/tango-1.0.3_2.068/tango/tango/util/log/Log.d(349,51): Error: undefined