huntlabs / hunt-extra Goto Github PK
View Code? Open in Web Editor NEWLicense: Apache License 2.0
License: Apache License 2.0
The error from the compiler is
hunt 1.6.4: building configuration "library"...
hunt-extra 1.0.4: building configuration "library"...
AppData\Local\dub\packages\hunt-extra-1.0.4\hunt-extra\source\hunt\collection\Radix.d(49,28): Deprecation: returning `cast(char*)(&this + 8L)` escapes a reference to parameter `this`
AppData\Local\dub\packages\hunt-extra-1.0.4\hunt-extra\source\hunt\collection\Radix.d(49,28): perhaps annotate the parameter with `return`
hunt-net 0.5.3: building configuration "default"...
hunt-time 1.1.1: building configuration "library"...
AppData\Local\dub\packages\hunt-extra-1.0.4\hunt-extra\source\hunt\Enum.d(180,3): Error: function `hunt.Enum.valueOf!(DayOfWeek).valueOf` no `return exp;` or `assert(0);` at end of function
AppData\Local\dub\packages\hunt-time-1.1.1\hunt-time\source\hunt\time\DayOfWeek.d(124,25): Error: template instance `hunt.Enum.valueOf!(DayOfWeek)` error instantiating
C:\d\dmd2\windows\bin\dmd.exe failed with exit code 1.
The following warning is shown when compiling hunt-extra (from hunt-console):
\hunt-extra-1.2.3\hunt-extra\source\hunt\collection\Radix.d(49,28): Deprecation: returning `cast(char*)(&this + 8L)` escapes a reference to parameter `this`
\hunt-extra-1.2.3\hunt-extra\source\hunt\collection\Radix.d(47,21): perhaps annotate the function with `return`
When building hunt-skeleton
example
$ DC=gdc-12 dub run -v
../.dub/packages/hunt-extra-1.2.3/hunt-extra/source/hunt/collection/Radix.d:49:28: error: returning ‘cast(char*)(&this + 8L)’ escapes a reference to parameter ‘this’ [-Werror=deprecated]
49 | return cast(char*)(&this + 1);
| ^
../.dub/packages/hunt-extra-1.2.3/hunt-extra/source/hunt/collection/Radix.d:49:28: note: perhaps annotate the function with ‘return’
49 | return cast(char*)(&this + 1);
hunt 1.6.1: target for configuration "library" is up to date.
hunt-extra 1.0.0: building configuration "library"...
../../../../.dub/packages/hunt-extra-1.0.0/hunt-extra/source/hunt/concurrency/Executors.d(402,12): Error: interface hunt.util.Common.Callable(V) at ../../../../.dub/packages/hunt-extra-1.0.0/hunt-extra/source/hunt/util/Common.d(110,1) conflicts with struct core.thread.context.Callable at /usr/include/dmd/druntime/import/core/thread/context.d(26,1)
/usr/bin/dmd failed with exit code 1.
may need to add the line
"import hunt.util.Common:Callable;"
to hunt-extra-1.0.0/hunt-extra/source/hunt/concurrency/
FutureTask.d
and
Executors.d
?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.