summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--FL/fl_attr.h6
-rw-r--r--documentation/Doxyfile.in8
2 files changed, 8 insertions, 6 deletions
diff --git a/FL/fl_attr.h b/FL/fl_attr.h
index a75f0c0d8..88e03a90a 100644
--- a/FL/fl_attr.h
+++ b/FL/fl_attr.h
@@ -54,10 +54,12 @@
FL_DEPRECATED("Outdated, don't use", int position()) { return position_; }
\endcode
*/
-#define FL_DEPRECATED(msg, func) [[deprecated(msg)]] func
+#define FL_DEPRECATED(msg, func) \
+ /##*##* \deprecated msg *##/ \
+ func
-#else
+#else /* FL_DOXYGEN */
/*
diff --git a/documentation/Doxyfile.in b/documentation/Doxyfile.in
index b375d2dc3..181de6494 100644
--- a/documentation/Doxyfile.in
+++ b/documentation/Doxyfile.in
@@ -1225,13 +1225,13 @@ ENABLE_PREPROCESSING = YES
# compilation will be performed. Macro expansion can be done in a controlled
# way by setting EXPAND_ONLY_PREDEF to YES.
-MACRO_EXPANSION = NO
+MACRO_EXPANSION = YES
# If the EXPAND_ONLY_PREDEF and MACRO_EXPANSION tags are both set to YES
# then the macro expansion is limited to the macros specified with the
# PREDEFINED and EXPAND_AS_DEFINED tags.
-EXPAND_ONLY_PREDEF = NO
+EXPAND_ONLY_PREDEF = YES
# If the SEARCH_INCLUDES tag is set to YES (the default) the includes files
# in the INCLUDE_PATH (see below) will be search if a #include is found.
@@ -1265,14 +1265,14 @@ PREDEFINED = FL_DOXYGEN \
HAVE_GL \
HAVE_GL_OVERLAY \
FL_EXPORT:= \
- __cplusplus
+ __cplusplus
# If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then
# this tag can be used to specify a list of macro names that should be expanded.
# The macro definition that is found in the sources will be used.
# Use the PREDEFINED tag if you want to use a different macro definition.
-EXPAND_AS_DEFINED =
+EXPAND_AS_DEFINED = FL_DEPRECATED
# If the SKIP_FUNCTION_MACROS tag is set to YES (the default) then
# doxygen's preprocessor will remove all function-like macros that are alone