Orange not working?

Timoses timosesu at gmail.com
Sat Jul 14 06:48:47 UTC 2018


On Friday, 13 July 2018 at 21:38:18 UTC, JN wrote:
>
> I'm curious, are the tests in any way OS specific? I see the 
> tests are passing, but trying the latest DMD on Windows and 
> orange v2.0.0, when I add "@nonSerialized" to a struct member, 
> I get this:
>
> C:\Users\jacek\Desktop\test_orange>dub run
> Performing "debug" build using C:\D\dmd2\windows\bin\dmd.exe 
> for x86.
> orange 2.0.0: target for configuration "" is up to date.
> test_orange ~master: building configuration "application"...
> ..\..\AppData\Local\dub\packages\orange-2.0.0\orange\orange\serialization\Serializer.d(1504,13): Warning: statement is not reachable
> ..\..\AppData\Local\dub\packages\orange-2.0.0\orange\orange\serialization\Serializer.d(1510,17): Warning: statement is not reachable
> ..\..\AppData\Local\dub\packages\orange-2.0.0\orange\orange\serialization\Serializer.d(1512,13): Warning: statement is not reachable
> ..\..\AppData\Local\dub\packages\orange-2.0.0\orange\orange\serialization\Serializer.d(1514,13): Warning: statement is not reachable
> C:\D\dmd2\windows\bin\dmd.exe failed with exit code 1.

Wasn't aware of the `buildRequirements "silenceWarnings"` switch 
in dub.sdl.

Now there should hopefully be no more warnings with below PR.

https://github.com/jacob-carlborg/orange/pull/51

Could perhaps bump it to 2.0.1 ? @Jacob


More information about the Digitalmars-d-learn mailing list