Skip to content

Commit c193525

Browse files
committed
prepare the drafting of release v1.2.2
1 parent 09d6476 commit c193525

1 file changed

Lines changed: 29 additions & 3 deletions

File tree

README.md

Lines changed: 29 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,25 @@ $ mkdir output
211211
$ bash make.sh
212212
```
213213

214+
There is also some detailed options in make.sh:
215+
216+
```bash
217+
$bash make.sh -h
218+
Usage: make.sh [-o <no-m32|no-valgrind>] [-h]
219+
220+
Example:
221+
# default build
222+
bash make.sh
223+
# build without the i386 binary output
224+
bash make.sh -o no-m32
225+
# build without the valgrind supported binary output
226+
bash make.sh -o no-valgrind
227+
# build without the valgrind supported and i386 binary output
228+
bash make.sh -o no-valgrind -o no-m32
229+
```
230+
231+
In short, using `-o no-valgrind ` if you have no valgrind headers installed, `-o no-m32` if you have no 32-bit gcc development tools installed on a AMD64 host.
232+
214233
## Test
215234

216235
```bash
@@ -379,7 +398,7 @@ Destroy the `co`. The argument `co` must not be NULL. The private save stack wou
379398
```c
380399
#define ACO_VERSION_MAJOR 1
381400
#define ACO_VERSION_MINOR 2
382-
#define ACO_VERSION_PATCH 0
401+
#define ACO_VERSION_PATCH 2
383402
```
384403

385404
This 3 macros are defined in the header `aco.h` and the value of them follows the spec: [Semantic Versioning 2.0.0](https://semver.org/spec/v2.0.0.html).
@@ -896,8 +915,6 @@ void co_fp1() {
896915

897916
New ideas are welcome!
898917

899-
* Support header files including by C++.
900-
901918
* Add a macro `aco_new` which is the combination of something like `p = malloc(sz); assertalloc_ptr(p)`.
902919

903920
* Add a new API `aco_reset` to support the reusability of the coroutine objects.
@@ -907,6 +924,15 @@ New ideas are welcome!
907924
# CHANGES
908925

909926
```
927+
v1.2.2 Mon Jul 9 2018
928+
Added a new option `-o <no-m32|no-valgrind>` to make.sh;
929+
Correction about the value of macro ACO_VERSION_PATCH (issue #1
930+
kindly reported by Markus Elfring @elfring);
931+
Adjusted some noncompliant naming of identifiers (double underscore
932+
`__`) (issue #1, kindly proposed by Markus Elfring @elfring);
933+
Supported the header file including by C++ (issue #4, kindly
934+
proposed by Markus Elfring @elfring).
935+
910936
v1.2.1 Sat Jul 7 2018
911937
Fixed some noncompliant include guards in two C header files (
912938
issue #1 kindly reported by Markus Elfring @elfring);

0 commit comments

Comments
 (0)