Skip to content

Commit 3a2e483

Browse files
committed
CMake: disable deprecated documentation sync
The `-Wdocumentation-deprecated-sync` option will warn when there is a doxygen `\deprecated` tag but there is no corresponding deprecation attribute on the function. We want to encourage users to not use particular APIs by marking them deprecated in the documentation without necessarily raising a compiler warning by marking an item as deprecated.
1 parent 4505473 commit 3a2e483

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -233,6 +233,7 @@ ELSE ()
233233
ENABLE_WARNINGS(format)
234234
ENABLE_WARNINGS(format-security)
235235
ENABLE_WARNINGS(int-conversion)
236+
DISABLE_WARNINGS(documentation-deprecated-sync)
236237

237238
IF (APPLE) # Apple deprecated OpenSSL
238239
DISABLE_WARNINGS(deprecated-declarations)

0 commit comments

Comments
 (0)