diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2018-07-02 20:50:56 +0300 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2018-07-02 20:50:56 +0300 |
commit | 5d0821946404322152319f7f2b22b96477ac406e (patch) | |
tree | f238fa0696173e838585a17cf490e208cd14b825 /docs/markdown/snippets/compiler_check_header.md | |
parent | 1c44afdeed636f90a1e2685cba4143eacde21887 (diff) | |
download | meson-0.47.0.tar.gz |
Update everything for new release.0.47.0
Diffstat (limited to 'docs/markdown/snippets/compiler_check_header.md')
-rw-r--r-- | docs/markdown/snippets/compiler_check_header.md | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/docs/markdown/snippets/compiler_check_header.md b/docs/markdown/snippets/compiler_check_header.md deleted file mode 100644 index 8981d139d..000000000 --- a/docs/markdown/snippets/compiler_check_header.md +++ /dev/null @@ -1,12 +0,0 @@ -## New compiler check: check_header() - -The existing compiler check `has_header()` only checks if the header exists, -either with the `__has_include` C++11 builtin, or by running the pre-processor. - -However, sometimes the header you are looking for is unusable on some platforms -or with some compilers in a way that is only detectable at compile-time. For -such cases, you should use `check_header()` which will include the header and -run a full compile. - -Note that `has_header()` is much faster than `check_header()`, so it should be -used whenever possible. |