Enable verrors=context globally and update test files to avoid visual noise with verrors=simple arg.
WIP-
18/12 - Updated 51 fail_compilation test files
Add verrors=simple to suppress error context printing, applicable when verrors=context is enabled globally (as concluded in [PR ]).
Fixes an issue where string/array concatenation (~) in -betterC mode caused a linker error instead of a compile-time error.
Problem:
Solution: Have one source of truth and generate MAN pages + the dlang.org documentation…
Reverts dlang/dmd#7416 due to the Travis error on OSX, see e.g. https://travis-ci.org/dlang/dmd/jobs/320910100
Undefined symbols for architecture x86_64:
"mem_malloc(unsigned long long)", referenced from:
array_toDarray...
I have repeatedly observed that the CodeCov statuses only appear once the slowest CI is finished (usually the auto-tester).
So it seems that the setting after_n_builds has zero effect. According to the documentation, we can set CIs to …
This should get us a passing CI again and give us enough time to dive into the error without disturbing…
Following to https://github.com/dlang/dmd/pull/7425, this just move these bits to dmd.frontend. Of course, further work is needed to define the API, but I thought having an open PR is the best place to facilitate this discussion.
Th…
So that #7482 isn't needed anymore in the future.
Cherry-picked https://github.com/dlang/dmd/pull/7466 to master, s.t. the warnings disappear on master too.
I'm tired of keeping all the Makefile in sync. The repositories are already interdependent (e.g. we do include osmodel.mak and call their respective Makefile targets.
Using a common Makefile has the following advantages:
If we already default to BUILD=release, we should actually do so. The README at the top states:
> ENABLE_RELEASE: Optimized release built (set by BUILD=release)
Before:
CC="c++" dmd -of../generated/linux/release/64/dmd -...
CircleCi 2.0 upgrade wave:
For the new contributors listing on dlang.org we use a more complete .mailmap file at the tools repo. Let's make this the single source of tr…
dmd.conf solely depends on posix.mak and should always be regenerated if
the Makefile changes
Needed for https://github.com/dlang/phobos/pull/5929
Similarly to https://github.com/dlang/druntime/pull/1994, we want to use the proper $(BUILD) directory is BUILD=debug is defined.
… on Linux x86_64 distros where PIC/PIE is enforced.
(cherry-picked from https://github.com/dlang/dmd/pull/7427 by @ZombineDev)
This is the non-controversial part and common part of #7240 and #7427.
@ZombineDev I did t…
Individual commits:
The current changelog can be previewed at https://dlang.org/changelog/pending.html
@ reviewers DAutotest builds the pending changelog too, s.t. changes to it can be conveniently previewed.
While diving into https://github.com/dlang/dmd/pull/7419, I realized that there are a couple of unused / outdated Makefile targets.
> I suspect there is a nice makefile in there somewhere trying to get out.
Going -17 towards it.
…
Allows to use the entire frontend as a DUB package.
There's still an ugly lot of initialization needed and two hard-coded bits (platform, importPaths), but one can run through all semantic phases which is more than needed if we want t…
The redirect magic exists since quite a while and is already frequently used on dlang.org