Skip to content

Commit 11e373f

Browse files
committed
make Doxygen happy
1 parent 3d8678a commit 11e373f

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

docs/Doxyfile.in

+2-2
Original file line numberDiff line numberDiff line change
@@ -866,7 +866,7 @@ WARN_NO_PARAMDOC = NO
866866
# Possible values are: NO, YES and FAIL_ON_WARNINGS.
867867
# The default value is: NO.
868868

869-
WARN_AS_ERROR = NO
869+
WARN_AS_ERROR = YES
870870

871871
# The WARN_FORMAT tag determines the format of the warning messages that doxygen
872872
# can produce. The string should contain the $file, $line, and $text tags, which
@@ -2334,7 +2334,7 @@ INCLUDE_FILE_PATTERNS =
23342334
# recursively expanded use the := operator instead of the = operator.
23352335
# This tag requires that the tag ENABLE_PREPROCESSING is set to YES.
23362336

2337-
PREDEFINED = THORIN_ENABLE_CHECKS
2337+
PREDEFINED = THORIN_ENABLE_CHECKS, DOXYGEN
23382338

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

thorin/world.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -433,8 +433,10 @@ const Def* World::gid2def(u32 gid) {
433433
* instantiate templates
434434
*/
435435

436+
#ifndef DOXYGEN // doxygen doesn't like these two lines ...
436437
template const Def* World::app<true>(const Def*, const Def*, const Def*);
437438
template const Def* World::app<false>(const Def*, const Def*, const Def*);
439+
#endif
438440
template const Def* World::ext<true>(const Def*, const Def*);
439441
template const Def* World::ext<false>(const Def*, const Def*);
440442
template const Def* World::bound<true>(Defs, const Def*);

0 commit comments

Comments
 (0)