diff options
author | Azat Khuzhin <azat@libevent.org> | 2022-11-12 18:56:25 +0100 |
---|---|---|
committer | Azat Khuzhin <azat@libevent.org> | 2022-11-12 19:00:10 +0100 |
commit | 9e346936d47a3a461f8ebaedabb2975bef3babf5 (patch) | |
tree | cb5d3120bcca5cc602ae1b524ed76c6c212a6680 /CMakeLists.txt | |
parent | 72a4fe76fc3c0d541905cda765ec531e0d515d01 (diff) | |
download | libevent-9e346936d47a3a461f8ebaedabb2975bef3babf5.tar.gz |
Ignore unknown pragmas
Since new compilers has new checks (like -Wdangling-pointer), and so to
avoid extra checks in cmake/autotools, simply suppress if the pragma is
unknown.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index a72de00a..94fe4780 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -317,6 +317,8 @@ if (${GNUC}) # Disable unused-function warnings. These trigger for minheap-internal.h. -Wno-unused-function + + -Wno-pragmas ) if (${CLANG}) |