Skip to content

Commit 2401877

Browse files
authored
man: Ignore UNUSED attribute macros on parameters for doxygen docs (#6128)
1 parent d5c5192 commit 2401877

File tree

2 files changed

+16
-10
lines changed

2 files changed

+16
-10
lines changed

include/Make/Doxyfile_arch_html.in

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2211,7 +2211,7 @@ ENABLE_PREPROCESSING = YES
22112211
# The default value is: NO.
22122212
# This tag requires that the tag ENABLE_PREPROCESSING is set to YES.
22132213

2214-
MACRO_EXPANSION = NO
2214+
MACRO_EXPANSION = YES
22152215

22162216
# If the EXPAND_ONLY_PREDEF and MACRO_EXPANSION tags are both set to YES then
22172217
# the macro expansion is limited to the macros specified with the PREDEFINED and
@@ -2251,11 +2251,14 @@ INCLUDE_FILE_PATTERNS =
22512251
# recursively expanded use the := operator instead of the = operator.
22522252
# This tag requires that the tag ENABLE_PREPROCESSING is set to YES.
22532253

2254-
PREDEFINED = HAVE_OGR \
2255-
HAVE_TIFFIO_H \
2256-
HAVE_GEOS \
2254+
PREDEFINED = HAVE_GEOS \
2255+
HAVE_LIBBLAS \
22572256
HAVE_LIBLAPACK \
2258-
HAVE_LIBBLAS
2257+
HAVE_OGR \
2258+
HAVE_TIFFIO_H \
2259+
NOPG_UNUSED= \
2260+
NO_NLS_UNUSED= \
2261+
UNUSED=
22592262

22602263
# If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then this
22612264
# tag can be used to specify a list of macro names that should be expanded. The

include/Make/Doxyfile_arch_latex.in

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2211,7 +2211,7 @@ ENABLE_PREPROCESSING = YES
22112211
# The default value is: NO.
22122212
# This tag requires that the tag ENABLE_PREPROCESSING is set to YES.
22132213

2214-
MACRO_EXPANSION = NO
2214+
MACRO_EXPANSION = YES
22152215

22162216
# If the EXPAND_ONLY_PREDEF and MACRO_EXPANSION tags are both set to YES then
22172217
# the macro expansion is limited to the macros specified with the PREDEFINED and
@@ -2251,11 +2251,14 @@ INCLUDE_FILE_PATTERNS =
22512251
# recursively expanded use the := operator instead of the = operator.
22522252
# This tag requires that the tag ENABLE_PREPROCESSING is set to YES.
22532253

2254-
PREDEFINED = HAVE_OGR \
2255-
HAVE_TIFFIO_H \
2256-
HAVE_GEOS \
2254+
PREDEFINED = HAVE_GEOS \
2255+
HAVE_LIBBLAS \
22572256
HAVE_LIBLAPACK \
2258-
HAVE_LIBBLAS
2257+
HAVE_OGR \
2258+
HAVE_TIFFIO_H \
2259+
NOPG_UNUSED= \
2260+
NO_NLS_UNUSED= \
2261+
UNUSED=
22592262

22602263
# If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then this
22612264
# tag can be used to specify a list of macro names that should be expanded. The

0 commit comments

Comments
 (0)