Another take on decimal data types

kdevel kdevel at vogtner.de
Sat Jan 13 13:56:20 UTC 2018


On Saturday, 13 January 2018 at 13:49:59 UTC, kdevel wrote:
> diff --git a/dub.json b/dub.json
> index c48899f..d8882c1 100644
> --- a/dub.json
> +++ b/dub.json
> @@ -10,16 +10,16 @@
>      "configurations": [
>          {
>              "name": "library",
> -            "excludedSourceFiles": [ "src/benchmark.d", 
> "src/test.d" ]
> +            "excludedSourceFiles": [ 
> "src/benchmark/benchmark.d", "src/test/test.d" ]
>          },

Now my code does no longer compiles against the decimal package. 
This is my directory structure:

    dlang-decimal/
       decimal -> decimal.git/src
       decimal.git                        [created by git clone 
<url> decimal.git]
       nosine.d

$ dmd nosine decimal.git/libdecimal.a
nosine.d(3): Error: module decimal is in file 'decimal.d' which 
cannot be read
import path[0] = /.../dmd2/linux/bin64/../../src/phobos
import path[1] = /.../dmd2/linux/bin64/../../src/druntime/import
make: *** [nosine] Fehler 1



More information about the Digitalmars-d-announce mailing list