diff options
| author | jvoisin | 2024-04-24 14:49:52 +0200 |
|---|---|---|
| committer | jvoisin | 2024-04-24 14:51:19 +0200 |
| commit | 265fa03fa0c467c9c41d803ebe2a538e758cba20 (patch) | |
| tree | a5264cc8e44704b24672d44e1acbdd0120909c8a /README.md | |
| parent | 8ed72e7c1caa0eb4238e649063c26a11720935de (diff) | |
Disable pedantic checks by default
They can be re-enabled via `PEDANTIC_CHECKS`
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 6 |
1 files changed, 4 insertions, 2 deletions
| @@ -28,8 +28,10 @@ on Clang. It was initially intended to be used on | |||
| 28 | [significant coverage](https://jvoisin.github.io/fortify-headers/) | 28 | [significant coverage](https://jvoisin.github.io/fortify-headers/) |
| 29 | - Defining `USE_NATIVE_CHK` will make use of compiler-provided builtin `_chk` | 29 | - Defining `USE_NATIVE_CHK` will make use of compiler-provided builtin `_chk` |
| 30 | functions, which might be a bit better in term of diagnostics, | 30 | functions, which might be a bit better in term of diagnostics, |
| 31 | but won't necesarily provide the same amount of security checks. | 31 | but won't necessarily provide the same amount of security checks. |
| 32 | 32 | - Defining `PEDANTIC_CHECKS` will enable pedantic checks, that while technically | |
| 33 | correct, might break some programs relying on widely accepted | ||
| 34 | undefined-behaviours. | ||
| 33 | 35 | ||
| 34 | # Sample usage | 36 | # Sample usage |
| 35 | 37 | ||
