ld: warning: pointer not aligned at address 0x100050C7D
Are you running macOS and recently installed an update to Xcode?
I ran into this today as well.
Looks like other have too:
https://issues.dlang.org/show_bug.cgi?id=17289
Conveniently the site is down immediately after I posted that so
here is the code to which I was referring:
import std.stdio, std.algorithm, std.range;
enum DoorState : bool { closed, open }
alias Doors = DoorState[];
Doors flipUnoptimized(Doors doors) pure nothrow {
doors[] = DoorState.cl
When compiled with any dmd compiler from 2.069.0 through present
(2.074.0), https://rosettacode.org/wiki/100_doors#D produces the
following linker warning:
ld: warning: pointer not aligned at address 0x10004FCEB
(_D51TypeInfo_S3std5range13__T4iotaTiTmZ4iotaFimZ6Result6__initZ
+ 24 from doors1
On Tuesday, 11 April 2017 at 20:00:48 UTC, Jethro wrote:
On Tuesday, 11 April 2017 at 03:00:29 UTC, Jon Degenhardt wrote:
On Tuesday, 11 April 2017 at 01:59:57 UTC, Jonathan M Davis
wrote:
On Tuesday, April 11, 2017 01:42:32 Jethro via
Digitalmars-d-learn wrote:
[...]
You can't reuse the mem
On Tuesday, 11 April 2017 at 03:00:29 UTC, Jon Degenhardt wrote:
On Tuesday, 11 April 2017 at 01:59:57 UTC, Jonathan M Davis
wrote:
On Tuesday, April 11, 2017 01:42:32 Jethro via
Digitalmars-d-learn wrote:
[...]
You can't reuse the memory of a dynamic array by simply
setting its length to 0.
On Monday, 10 April 2017 at 05:15:50 UTC, new2d wrote:
Think you can share the code?
I cannot find it at the moment. If I come upon it, I will post a
link here. I remember now that Guile is less friendly than other
Schemes, so I created a C library to handle the data passing
between Guile an
On Tuesday, April 11, 2017 14:51:44 Anonymous via Digitalmars-d-learn wrote:
> I was watching a dconf presentation from last year and wanted to
> try this out: https://github.com/luismarques/parnas72. It doesn't
> compile / run as it is and the problem seems to be in the
> function below.
>
> impor
On Tuesday, 11 April 2017 at 14:51:44 UTC, Anonymous wrote:
I was watching a dconf presentation from last year and wanted
to try this out: https://github.com/luismarques/parnas72. It
doesn't compile / run as it is and the problem seems to be in
the function below.
import std.algorithm;
import
On Tuesday, 11 April 2017 at 04:59:27 UTC, Russel Winder wrote:
Go only uses Git, Mercurial, or Bazaar for dependency handling.
Rust (via Cargo) allows for a central repository, and Git (,
and Mercurial ?) repositories. Dub appears only to allow for
central repository, or have I missed it's abi
I was watching a dconf presentation from last year and wanted to
try this out: https://github.com/luismarques/parnas72. It doesn't
compile / run as it is and the problem seems to be in the
function below.
import std.algorithm;
import std.range;
import std.uni;
/// Performs [["foo", "bar"], ["b
On Tue, 2017-04-11 at 13:24 +, Mike Parker via Digitalmars-d-learn
wrote:
> On Tuesday, 11 April 2017 at 11:13:30 UTC, Russel Winder wrote:
>
> > This is not what seems to happen with unit-threaded. for the
> > directory ~/.dub/packages/unit-threaded-0.7.11/unit-threaded,
> > the tree is:
>
On Tuesday, 11 April 2017 at 11:13:30 UTC, Russel Winder wrote:
This is not what seems to happen with unit-threaded. for the
directory ~/.dub/packages/unit-threaded-0.7.11/unit-threaded,
the tree is:
Just to be clear -- is this what you see after compiling a
project that depends on unit-thre
On 11/04/2017 5:59 AM, Russel Winder via Digitalmars-d-learn wrote:
Go only uses Git, Mercurial, or Bazaar for dependency handling. Rust
(via Cargo) allows for a central repository, and Git (, and Mercurial
?) repositories. Dub appears only to allow for central repository, or
have I missed it's a
11.04.2017 15:12, Russel Winder via Digitalmars-d-learn пишет:
On Tue, 2017-04-11 at 14:21 +0300, drug via Digitalmars-d-learn wrote:
11.04.2017 14:15, Russel Winder via Digitalmars-d-learn пишет:
On Tue, 2017-04-11 at 09:55 +0300, drug via Digitalmars-d-learn
wrote:
[…]
You can use local repo
On Tuesday, April 11, 2017 05:59:27 Russel Winder via Digitalmars-d-learn
wrote:
> Go only uses Git, Mercurial, or Bazaar for dependency handling. Rust
> (via Cargo) allows for a central repository, and Git (, and Mercurial
> ?) repositories. Dub appears only to allow for central repository, or
>
On Tue, 2017-04-11 at 14:21 +0300, drug via Digitalmars-d-learn wrote:
> 11.04.2017 14:15, Russel Winder via Digitalmars-d-learn пишет:
> > On Tue, 2017-04-11 at 09:55 +0300, drug via Digitalmars-d-learn
> > wrote:
> > > […]
> > > You can use local repository if you want
> >
> > But that implies s
11.04.2017 14:15, Russel Winder via Digitalmars-d-learn пишет:
On Tue, 2017-04-11 at 09:55 +0300, drug via Digitalmars-d-learn wrote:
[…]
You can use local repository if you want
But that implies something very manual, go and cargo handle all that.
How go and cargo know where the local repos
On Tue, 2017-04-11 at 09:55 +0300, drug via Digitalmars-d-learn wrote:
> […]
> You can use local repository if you want
But that implies something very manual, go and cargo handle all that.
--
Russel.
=
Dr Russel Winder
On Tue, 2017-04-11 at 09:57 +0300, drug via Digitalmars-d-learn wrote:
>
[…]
> There is possibility to place binaries to specified directory using
> `targetPath` (see `Build settings` in Dub documentation)
That is fine for the project code, but doesn't help with the
dependencies.
--
Russel.
==
On Tue, 2017-04-11 at 06:45 +, Mike Parker via Digitalmars-d-learn
wrote:
>
[…]
> DUB downloads the source of dependencies from github and stores
> it all in the system cache. Each package has its own versioned
> folder in the cache and, when compiled, is given a .dub
> subdirectory in the
On 11/04/2017 8:08 AM, Suliman wrote:
On Friday, 7 April 2017 at 07:15:44 UTC, rikki cattermole wrote:
I'm going to give you a very bad but still a good place to begin with
explanation.
So, what is an executable? Well in modern operating systems that is a
file with a very complex structure insi
On Friday, 7 April 2017 at 07:15:44 UTC, rikki cattermole wrote:
I'm going to give you a very bad but still a good place to
begin with explanation.
So, what is an executable? Well in modern operating systems
that is a file with a very complex structure inside, like
PE-COFF or ELF. It has a bu
11.04.2017 08:15, Russel Winder via Digitalmars-d-learn пишет:
As I understand it, Dub compiles a downloaded dependency into the local
Dub cache. This means you cannot store a debug build and a release
build for multiple architectures and different compilers, at the same
time, and you only get a
11.04.2017 07:59, Russel Winder via Digitalmars-d-learn пишет:
Go only uses Git, Mercurial, or Bazaar for dependency handling. Rust
(via Cargo) allows for a central repository, and Git (, and Mercurial
?) repositories. Dub appears only to allow for central repository, or
have I missed it's abilit
24 matches
Mail list logo