Fix build with 2.071.2

This commit is contained in:
Eugen Wissner 2016-12-27 23:49:22 +01:00
parent 86d87430da
commit 0561e96f21
3 changed files with 14 additions and 14 deletions

View File

@ -7,6 +7,7 @@ language: d
d: d:
- dmd-2.072.1 - dmd-2.072.1
- dmd-2.071.2
env: env:
matrix: matrix:

View File

@ -21,9 +21,15 @@ Tanya consists of the following packages:
* `container`: Queue, Vector, Singly linked list. * `container`: Queue, Vector, Singly linked list.
* `crypto`: Work in progress TLS implementation. * `crypto`: Work in progress TLS implementation.
* `math`: Multiple precision integer and a set of functions. * `math`: Multiple precision integer and a set of functions.
* `memory`: Tools for manual memory management (allocator, reference counting, helper functions). * `memory`: Tools for manual memory management (allocator, reference counting,
helper functions).
* `network`: URL-Parsing, sockets. * `network`: URL-Parsing, sockets.
### Supported compilers
* dmd 2.072.1
* dmd 2.071.2
### Current status ### Current status
The library is currently under development, but some parts of it can already be The library is currently under development, but some parts of it can already be
@ -42,23 +48,18 @@ testing and work on its performance.
I'm currently mostly working on `crypto` that is not a complete cryptographic I'm currently mostly working on `crypto` that is not a complete cryptographic
suite, but contains (will contain) algorithm implementations required by TLS. suite, but contains (will contain) algorithm implementations required by TLS.
### Other properties ### Further characteristics
* Tanya is a native D library (only D and Assembler are tolerated). * Tanya is a native D library.
* It is important for me to document the code and attach at least a few unit * Documentation and usage examples can be found in the source code.
tests where possible. So the documentation and usage examples can be found in Online documentation will be published soon.
the source code.
* Tanya is mostly tested on a 64-bit Linux and some features are * Tanya is cross-platform. The development happens on a 64-bit Linux, but it
platform-dependant, but not because it is a Linux-only library. Therefore any * is being tested on Windows and FreeBSD as well.
help to bring better support for Windows and BSD systems would be accepted.
* The library isn't thread-safe. Thread-safity should be added later. * The library isn't thread-safe. Thread-safity should be added later.
* I'm working with the latest dmd version, but will be looking to support other
D compilers and keep compatibility with the elder dmd versions in the future.
## Contributing ## Contributing
Since I'm mostly busy writing new code and implementing new features I would Since I'm mostly busy writing new code and implementing new features I would

View File

@ -949,8 +949,6 @@ private @nogc unittest
// Test that structs can be members of the vector. // Test that structs can be members of the vector.
static assert(is(typeof(Vector!TestA()))); static assert(is(typeof(Vector!TestA())));
static assert(is(typeof(immutable Vector!TestA(IL(TestA())))));
static assert(is(typeof(const Vector!TestA(IL(TestA())))));
} }
private @nogc unittest private @nogc unittest