We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Platform: Windows 7 x64 dmd: DMD32 D Compiler v2.066.0 dub: 0.9.22
Runing dub test at a package that depends on the star-entity generates following:
dub test
star-entity
C:\dev\d\tempwerk>dub test Generating test runner configuration '__test__library__' for 'library' (library). Building star-entity 1.0.5 configuration "library", build type unittest. Running dmd... ..\..\..\Users\NCrashed\AppData\Roaming\dub\packages\star-entity-1.0.5\source\star\entity\entity.d(884): Error: cannot implicitly convert expression (type + 1LU) of type ulong to uint ..\..\..\Users\NCrashed\AppData\Roaming\dub\packages\star-entity-1.0.5\source\star\entity\entity.d(701): Error: templa te instance star.entity.entity.EntityManager.accomodateComponent!(Test) error instantiating ..\..\..\Users\NCrashed\AppData\Roaming\dub\packages\star-entity-1.0.5\source\star\entity\entity.d(160): instan tiated from here: addComponent!(Test) ..\..\..\Users\NCrashed\AppData\Roaming\dub\packages\star-entity-1.0.5\source\star\entity\entity.d(378): instan tiated from here: add!(Test) ..\..\..\Users\NCrashed\AppData\Roaming\dub\packages\star-entity-1.0.5\source\star\entity\entity.d(856): Error: cannot implicitly convert expression (this.type()) of type ulong to uint ..\..\..\Users\NCrashed\AppData\Roaming\dub\packages\star-entity-1.0.5\source\star\entity\entity.d(702): Error: templa te instance star.entity.entity.EntityManager.setComponent!(Test) error instantiating ..\..\..\Users\NCrashed\AppData\Roaming\dub\packages\star-entity-1.0.5\source\star\entity\entity.d(160): instan tiated from here: addComponent!(Test) ..\..\..\Users\NCrashed\AppData\Roaming\dub\packages\star-entity-1.0.5\source\star\entity\entity.d(378): instan tiated from here: add!(Test) ..\..\..\Users\NCrashed\AppData\Roaming\dub\packages\star-entity-1.0.5\source\star\entity\entity.d(862): Error: cannot implicitly convert expression (this.type()) of type ulong to uint ..\..\..\Users\NCrashed\AppData\Roaming\dub\packages\star-entity-1.0.5\source\star\entity\entity.d(703): Error: templa te instance star.entity.entity.EntityManager.setMask!(Test) error instantiating ..\..\..\Users\NCrashed\AppData\Roaming\dub\packages\star-entity-1.0.5\source\star\entity\entity.d(160): instan tiated from here: addComponent!(Test) ..\..\..\Users\NCrashed\AppData\Roaming\dub\packages\star-entity-1.0.5\source\star\entity\entity.d(378): instan tiated from here: add!(Test) ..\..\..\Users\NCrashed\AppData\Roaming\dub\packages\star-entity-1.0.5\source\star\entity\entity.d(742): Error: cannot implicitly convert expression (this.type()) of type ulong to uint ..\..\..\Users\NCrashed\AppData\Roaming\dub\packages\star-entity-1.0.5\source\star\entity\entity.d(731): Error: templa te instance star.entity.entity.EntityManager.component!(Test) error instantiating ..\..\..\Users\NCrashed\AppData\Roaming\dub\packages\star-entity-1.0.5\source\star\entity\entity.d(697): instan tiated from here: hasComponent!(Test) ..\..\..\Users\NCrashed\AppData\Roaming\dub\packages\star-entity-1.0.5\source\star\entity\entity.d(160): instan tiated from here: addComponent!(Test) ..\..\..\Users\NCrashed\AppData\Roaming\dub\packages\star-entity-1.0.5\source\star\entity\entity.d(378): instan tiated from here: add!(Test) ..\..\..\Users\NCrashed\AppData\Roaming\dub\packages\star-entity-1.0.5\source\star\entity\entity.d(884): Error: cannot implicitly convert expression (type + 1LU) of type ulong to uint ..\..\..\Users\NCrashed\AppData\Roaming\dub\packages\star-entity-1.0.5\source\star\entity\entity.d(701): Error: templa te instance star.entity.entity.EntityManager.accomodateComponent!(Position) error instantiating ..\..\..\Users\NCrashed\AppData\Roaming\dub\packages\star-entity-1.0.5\source\star\entity\entity.d(160): instan tiated from here: addComponent!(Position) ..\..\..\Users\NCrashed\AppData\Roaming\dub\packages\star-entity-1.0.5\source\star\entity\entity.d(447): instan tiated from here: add!(Position) ..\..\..\Users\NCrashed\AppData\Roaming\dub\packages\star-entity-1.0.5\source\star\entity\entity.d(856): Error: cannot implicitly convert expression (this.type()) of type ulong to uint ..\..\..\Users\NCrashed\AppData\Roaming\dub\packages\star-entity-1.0.5\source\star\entity\entity.d(702): Error: templa te instance star.entity.entity.EntityManager.setComponent!(Position) error instantiating ..\..\..\Users\NCrashed\AppData\Roaming\dub\packages\star-entity-1.0.5\source\star\entity\entity.d(160): instan tiated from here: addComponent!(Position) ..\..\..\Users\NCrashed\AppData\Roaming\dub\packages\star-entity-1.0.5\source\star\entity\entity.d(447): instan tiated from here: add!(Position) ..\..\..\Users\NCrashed\AppData\Roaming\dub\packages\star-entity-1.0.5\source\star\entity\entity.d(862): Error: cannot implicitly convert expression (this.type()) of type ulong to uint ..\..\..\Users\NCrashed\AppData\Roaming\dub\packages\star-entity-1.0.5\source\star\entity\entity.d(703): Error: templa te instance star.entity.entity.EntityManager.setMask!(Position) error instantiating ..\..\..\Users\NCrashed\AppData\Roaming\dub\packages\star-entity-1.0.5\source\star\entity\entity.d(160): instan tiated from here: addComponent!(Position) ..\..\..\Users\NCrashed\AppData\Roaming\dub\packages\star-entity-1.0.5\source\star\entity\entity.d(447): instan tiated from here: add!(Position) ..\..\..\Users\NCrashed\AppData\Roaming\dub\packages\star-entity-1.0.5\source\star\entity\entity.d(742): Error: cannot implicitly convert expression (this.type()) of type ulong to uint ..\..\..\Users\NCrashed\AppData\Roaming\dub\packages\star-entity-1.0.5\source\star\entity\entity.d(731): Error: templa te instance star.entity.entity.EntityManager.component!(Position) error instantiating ..\..\..\Users\NCrashed\AppData\Roaming\dub\packages\star-entity-1.0.5\source\star\entity\entity.d(697): instan tiated from here: hasComponent!(Position) ..\..\..\Users\NCrashed\AppData\Roaming\dub\packages\star-entity-1.0.5\source\star\entity\entity.d(160): instan tiated from here: addComponent!(Position) ..\..\..\Users\NCrashed\AppData\Roaming\dub\packages\star-entity-1.0.5\source\star\entity\entity.d(447): instan tiated from here: add!(Position) ..\..\..\Users\NCrashed\AppData\Roaming\dub\packages\star-entity-1.0.5\source\star\entity\entity.d(884): Error: cannot implicitly convert expression (type + 1LU) of type ulong to uint ..\..\..\Users\NCrashed\AppData\Roaming\dub\packages\star-entity-1.0.5\source\star\entity\entity.d(701): Error: templa te instance star.entity.entity.EntityManager.accomodateComponent!(Velocity) error instantiating ..\..\..\Users\NCrashed\AppData\Roaming\dub\packages\star-entity-1.0.5\source\star\entity\entity.d(160): instan tiated from here: addComponent!(Velocity) ..\..\..\Users\NCrashed\AppData\Roaming\dub\packages\star-entity-1.0.5\source\star\entity\entity.d(448): instan tiated from here: add!(Velocity) ..\..\..\Users\NCrashed\AppData\Roaming\dub\packages\star-entity-1.0.5\source\star\entity\entity.d(856): Error: cannot implicitly convert expression (this.type()) of type ulong to uint ..\..\..\Users\NCrashed\AppData\Roaming\dub\packages\star-entity-1.0.5\source\star\entity\entity.d(702): Error: templa te instance star.entity.entity.EntityManager.setComponent!(Velocity) error instantiating ..\..\..\Users\NCrashed\AppData\Roaming\dub\packages\star-entity-1.0.5\source\star\entity\entity.d(160): instan tiated from here: addComponent!(Velocity) ..\..\..\Users\NCrashed\AppData\Roaming\dub\packages\star-entity-1.0.5\source\star\entity\entity.d(448): instan tiated from here: add!(Velocity) ..\..\..\Users\NCrashed\AppData\Roaming\dub\packages\star-entity-1.0.5\source\star\entity\entity.d(862): Error: cannot implicitly convert expression (this.type()) of type ulong to uint FAIL ..\..\..\Users\NCrashed\AppData\Roaming\dub\packages\star-entity-1.0.5\.dub\build\library-unittest-windows-x86-dm d_2066-636256E26935E5611654D36935405E62\ star-entity staticLibrary Error executing command test: dmd failed with exit code 1.
The text was updated successfully, but these errors were encountered:
Fixed in 50e9fba (assigned ulong to type size_t, which is uint in 32-bit systems).
I develop normally in 64-bit Arch Linux, but I've tested this on Windows 8 (64-bit, dmd32 2.066.0, dub 0.9.22). Tests should compile normally.
Bumping the version number to 1.0.6.
@NCrashed, let me know if this works out for you.
Sorry, something went wrong.
Thank you!
jameslzhu
No branches or pull requests
Platform: Windows 7 x64
dmd: DMD32 D Compiler v2.066.0
dub: 0.9.22
Runing
dub test
at a package that depends on thestar-entity
generates following:The text was updated successfully, but these errors were encountered: