Re: Release D 2.078.0

2018-01-03 Thread thedeemon via Digitalmars-d-announce

On Wednesday, 3 January 2018 at 17:43:36 UTC, Martin Nowak wrote:

Glad to announce D 2.078.0.

This release comes with runtime detection of Visual Studio 
installation paths


I've got a problem with linking phobos64.lib now.
I run "Visual C++ 2015 x64 Native Build Tools Command Prompt", 
i.e. cmd.exe with environment set up.
With dmd 2.077.0 I run "dmd app.d -m64 -ofapp.exe" and it all 
goes well, compiles and links successfully.


With dmd 2.078.0 I run "dmd app.d -m64 -ofapp.exe" and get:

phobos64.lib(stacktrace_196a_3e5.obj) : error LNK2019: unresolved 
external symbol snprintf referenced in function 
_D4core3sys7windows10stacktrace10StackTrace13resolveNoSyncFAxmZAAa
phobos64.lib(parseoptions_bee_21b.obj) : error LNK2001: 
unresolved external symbol snprintf
phobos64.lib(demangle_ab0_79b.obj) : error LNK2001: unresolved 
external symbol snprintf
phobos64.lib(parseoptions_bee_21b.obj) : error LNK2019: 
unresolved external symbol sscanf referenced in function 
_D4core8internal12parseoptions5parseFNbNiAxaKANgaKfQkZb

app.exe : fatal error LNK1120: 2 unresolved externals
Error: linker exited with status 1120


Re: Release D 2.078.0

2018-01-03 Thread Walter Bright via Digitalmars-d-announce

On 1/3/2018 9:43 AM, Martin Nowak wrote:

Glad to announce D 2.078.0.


Thank you, Martin!


Re: Release D 2.078.0

2018-01-03 Thread Mike Parker via Digitalmars-d-announce

On Wednesday, 3 January 2018 at 17:43:36 UTC, Martin Nowak wrote:

Glad to announce D 2.078.0.

This release comes with runtime detection of Visual Studio 
installation paths, an integral promotion transition for unary 
operations on byte and short sized integers, more -betterC 
features, and a couple of language and library tweaks.


Thanks to everyone involved in this  
https://dlang.org/contributors.html.


http://downloads.dlang.org/releases/2.x/2.078.0/ 
http://dlang.org/changelog/2.078.0.html


- -Martin


Awesome! I'll post the blog announcement and hit social media in 
~12 hours.


Re: Article: Finding memory bugs in D code with AddressSanitizer

2018-01-03 Thread Walter Bright via Digitalmars-d-announce

On 1/3/2018 3:16 PM, Martin Nowak wrote:

https://issues.dlang.org/show_bug.cgi?id=18190


This is a stack overflow caused by having 4096 expression statements. The 
compiler joins them with a commaexpression, and then recursively traverses it.


> Nothing in the D part, not too surprising given dmd's approach to memory
management though ;).

Stack overflow has nothing to do with memory management.


Re: Article: Finding memory bugs in D code with AddressSanitizer

2018-01-03 Thread Martin Nowak via Digitalmars-d-announce
On 12/25/2017 06:03 PM, Johan Engelen wrote:
> I've been writing this article since August, and finally found some time
> to finish it:
> 
> http://johanengelen.github.io/ldc/2017/12/25/LDC-and-AddressSanitizer.html

Just built dmd with AddressSanitizer and ran dmd's, druntime's, and
phobos' test-suite.

https://issues.dlang.org/show_bug.cgi?id=18189
https://issues.dlang.org/show_bug.cgi?id=18190

Nothing in the D part, not too surprising given dmd's approach to memory
management though ;).

-Martin


Re: Release D 2.078.0

2018-01-03 Thread H. S. Teoh via Digitalmars-d-announce
On Wed, Jan 03, 2018 at 06:43:36PM +0100, Martin Nowak via 
Digitalmars-d-announce wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA512
> 
> Glad to announce D 2.078.0.

Awesome!


[...]
> https://dlang.org/contributors.html.
[...]

Not sure where's the best place to report this, but this list contains
some duplicates. One that I found is "Mihails Strasuns" == "Михаил
Страшун". Does the contributor script have some mechanism for specifying
equivalence classes for the various online identities of contributors?


T

-- 
In theory, software is implemented according to the design that has been 
carefully worked out beforehand. In practice, design documents are written 
after the fact to describe the sorry mess that has gone on before.


Re: Release D 2.078.0

2018-01-03 Thread Seb via Digitalmars-d-announce

On Wednesday, 3 January 2018 at 17:43:36 UTC, Martin Nowak wrote:

Glad to announce D 2.078.0.

This release comes with runtime detection of Visual Studio 
installation paths, an integral promotion transition for unary 
operations on byte and short sized integers, more -betterC 
features, and a couple of language and library tweaks.


Thanks to everyone involved in this  
https://dlang.org/contributors.html.


http://downloads.dlang.org/releases/2.x/2.078.0/ 
http://dlang.org/changelog/2.078.0.html


- -Martin


Thanks a lot Martin!!
BTW we have per-release contributor listings too:
https://github.com/dlang/dlang.org/pull/2048


Release D 2.078.0

2018-01-03 Thread Martin Nowak via Digitalmars-d-announce
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Glad to announce D 2.078.0.

This release comes with runtime detection of Visual Studio
installation paths, an integral promotion transition for unary
operations on byte and short sized integers, more -betterC features,
and a couple of language and library tweaks.

Thanks to everyone involved in this 
https://dlang.org/contributors.html.

http://downloads.dlang.org/releases/2.x/2.078.0/
http://dlang.org/changelog/2.078.0.html

- -Martin
-BEGIN PGP SIGNATURE-

iQIzBAEBCgAdFiEEpzRNrTw0HqEtE8TmsnOBFhK7GTkFAlpNFkMACgkQsnOBFhK7
GTmMFA/+ItXVmhkrsIMgJxbfZrLh3UqDNxC0gH+s/x8HQ9h+dWlAzueimjPY5+5W
kXQ/LzPbN7KS3Cm5N8x22gTU4Ldwow2ObHW+GNLq/3Id45xn1KFvM5FVr8pNXIA+
po17ZykzXHPOwh4jpHv+5sa4d6ldcW41RKMlzqXOCoIEvo6qxbJsSiG/2IWR2zzk
cMMzFpzxBX7eixtbDj/WFhE1Ou+6MSXrZ8E94DfnBeJfXed5dPt6RTOTa1va+R+4
XdDSFd85qIAxRBM6aPXudNdh1RWVwolFONJMarUO+fSU1lebkSbLVTEpYoBTbZid
fZrxeGB35dpA7RqZqlkv90VBzoamujzAn1GO7on1Qar6GI2YGmWtLGg3WjOLp5s7
d6O/VbJx7R8RCmeIBfAhqGUhuTNx1a6H3G7n3mztYEj8h5Y7uI9nCx1hXqgUIVwt
7VpiuLibdnZ35R7sV9GA9CMjb9o4OdvbBlAKFgPDyLTgKSI5Pr9RpWCIVqwErlyO
jCnrRc7JTueVEjjCPxdaYn2CQH9KmsgpqDZ+FaHHR//Uyu72vrbsoavPVV8MA6+0
iCoLZnH5u7eI2sFjxqe73LliaqrPNXMt2YTAyRAEvNXjULuSfZoDtcqLba1QnePP
i1y1EAZa9Wvv/8nIErrB3mjJwtHowBNMR4AE53BSPJmH5HDbuSE=
=1oyf
-END PGP SIGNATURE-


DLang docker images for CircleCi 2.0

2018-01-03 Thread Seb via Digitalmars-d-announce

tl;dr: you can now use special D docker images for CircleCi 2.0

---
version: 2
jobs:
  build:
docker:
  - image: dlang2/dmd-circleci
---


Available tags
--

The default tag (`latest`) is the last stable release.

### DMD

```yaml
- image: dlang2/dmd-circleci:nightly
- image: dlang2/dmd-circleci:beta
- image: dlang2/dmd-circleci
- image: dlang2/dmd-circleci:2.078.0
```

### LDC

```yaml
- image: dlang2/ldc-circleci:beta
- image: dlang2/ldc-circleci
- image: dlang2/ldc-circleci:1.6.0
```

### GDC

```yaml
- image: dlang2/gdc-circleci
- image: dlang2/gdc-circleci:4.8.5
```

Full list:

- https://hub.docker.com/r/dlang2/dmd-circleci/tags/
- https://hub.docker.com/r/dlang2/ldc-circleci/tags/
- https://hub.docker.com/r/dlang2/gdc-circleci/tags/

This repo is fully automated and new releases get deployed 
automatically.

It already has DMD 2.078.0.

Repo: https://github.com/wilzbach/dlang-docker-circleci

Cheers,

Seb

PS: I'm aware of Stefan Rohe's great D Docker images [1], but 
this Docker image is built on top of the specialized CircleCi 
image (e.g. for their SSH login).


[1] https://github.com/lindt/docker-dmd