On Saturday, February 9, 2019 2:19:27 PM MST Victor Porton via Digitalmars-
d-learn wrote:
> ISO C++ specifies that the C++ file must end with a newline.
>
> Should D file end with newline, too?
No, there is no need to end D files with a newline. I would guess that the
vast majority of D files end
On Saturday, 9 February 2019 at 21:19:27 UTC, Victor Porton wrote:
ISO C++ specifies that the C++ file must end with a newline.
Should D file end with newline, too?
I'm sure you could mostly get away without one, but POSIX says
that all text files should end with a newline. There are some
P
ISO C++ specifies that the C++ file must end with a newline.
Should D file end with newline, too?
On Saturday, 9 February 2019 at 08:15:36 UTC, Victor Porton wrote:
Why does -I flag in DFLAGS does not work? (Ubuntu Linux)
https://github.com/dlang/dub/issues/1645
On Saturday, 9 February 2019 at 11:40:57 UTC, Victor Porton wrote:
On Saturday, 9 February 2019 at 08:35:53 UTC, JN wrote:
On Saturday, 9 February 2019 at 08:15:36 UTC, Victor Porton
wrote:
Why does -I flag in DFLAGS does not work? (Ubuntu Linux)
I'm no expert on dub, but it's possible that i
On Saturday, 9 February 2019 at 08:35:53 UTC, JN wrote:
On Saturday, 9 February 2019 at 08:15:36 UTC, Victor Porton
wrote:
Why does -I flag in DFLAGS does not work? (Ubuntu Linux)
I'm no expert on dub, but it's possible that it's overriding
the import path anyway. One of the main points of du
On Saturday, 9 February 2019 at 10:32:36 UTC, DanielG wrote:
On Saturday, 9 February 2019 at 08:15:36 UTC, Victor Porton
wrote:
Why does -I flag in DFLAGS does not work? (Ubuntu Linux)
Try adding the -i flag as well ("include imported modules in
-i in DFLAGS does not help.
-I works when pas
On Saturday, 9 February 2019 at 08:15:36 UTC, Victor Porton wrote:
Why does -I flag in DFLAGS does not work? (Ubuntu Linux)
Try adding the -i flag as well ("include imported modules in the
compilation"), or setting both importPaths and sourcePaths in
dub.json.
I'm not certain that will help
On Saturday, 9 February 2019 at 08:15:36 UTC, Victor Porton wrote:
Why does -I flag in DFLAGS does not work? (Ubuntu Linux)
I'm no expert on dub, but it's possible that it's overriding the
import path anyway. One of the main points of dub is that you
shouldn't have to handle the import paths
On Saturday, 9 February 2019 at 08:15:36 UTC, Victor Porton wrote:
$ DFLAGS="-I/usr/local/include/d/librdf -L-L/usr/local/lib" dub
build --compiler=dmd --build=unittest
...
Why does -I flag in DFLAGS does not work? (Ubuntu Linux)
This does not work too:
$ DFLAGS="-I/usr/local/include/d/librd
For this project:
https://github.com/vporton/xml-boiler-dlang/tree/85b5587f50617ad1b001c035c72a5780a1e69c24
$ DFLAGS="-I/usr/local/include/d/librdf -L-L/usr/local/lib" dub
build --compiler=dmd --build=unittest
Performing "unittest" build using dmd for x86_64.
xml-boiler-dlang ~master: building
11 matches
Mail list logo