This repository has been archived by the owner on Oct 12, 2022. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Some files were not part of `mak/SRCS`, and thus were not compiled it. Since they are C bindings, it was unnoticed for a long time, as most operations won't require the rare symbols this module defined. However for things such as static array declarations, the `__init` of the struct might be required, which triggers a linker error. One simple way to trigger the issue was to use the function `timersub` defined in `core.sys.linux.sys.time`: --- src/ocean/core/UnitTestRunner.d:671: undefined reference to 'core.sys.linux.sys.time.timersub(const(core.sys.posix.sys.time.timeval*), const(core.sys.posix.sys.time.timeval*), core.sys.posix.sys.time.timeval*)' --- The change to win32.mak was mandatory as the toolchain on the auto-tester cannot cope with that number of files, and errors with "Command too long". DMD support 'response file' for that purpose. Using `*` is a DigitalMars MAKE extension which will pass commands > 996 chars via the env.
- Loading branch information
Showing
3 changed files
with
30 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
COPY=\ | ||
$(IMPDIR)\object.d \ | ||
\ | ||
$(IMPDIR)\core\atomic.d \ | ||
$(IMPDIR)\core\attribute.d \ | ||
$(IMPDIR)\core\bitop.d \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters