Add thiscall calling convention, mostly for hooking purpose (#14466)

* Add thiscall calling convention, mostly for hooking purpose
* add changelog and documentation
This commit is contained in:
Huy Doan 2020-05-27 21:24:47 +07:00 • committed by GitHub
commit 00fa7a5747
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 13 additions and 4 deletions

View file

@ -159,6 +159,8 @@ proc mydiv(a, b): int {.raises: [].} =
The reason for this is that `DivByZeroDefect` inherits from `Defect` and
with `--panics:on` `Defects` become unrecoverable errors.
- Added `thiscall` calling convention as specified by Microsoft, mostly for hooking purpose
## Compiler changes
- Specific warnings can now be turned into errors via `--warningAsError[X]:on|off`.