Skip to content

Commit e6d9365

Browse files
committed
Correct warning in case automatic setting of doxygen settings
When having a Doxyfile like: ``` OPTIMIZE_OUTPUT_VHDL = YES ``` we get the warnings: ``` error: When enabling OPTIMIZE_OUTPUT_VHDL the INHERIT_DOCS option should be disabled. I'll adjust it for you. error: When enabling OPTIMIZE_OUTPUT_VHDL the HIDE_SCOPE_NAMES option should be disabled. I'll adjust it for you. error: When enabling OPTIMIZE_OUTPUT_VHDL the EXTRACT_PRIVATE option should be disabled. I'll adjust it for you. error: When enabling OPTIMIZE_OUTPUT_VHDL the ENABLE_PREPROCESSING option should be disabled. I'll adjust it for you. error: When enabling OPTIMIZE_OUTPUT_VHDL the EXTRACT_PACKAGE option should be disabled. I'll adjust it for you. ``` when complying to this we still get the warnings about `HIDE_SCOPE_NAMES`, `EXTRACT_PACKAGE` and `EXTRACT_PRIVATE` as these should be enabled.
1 parent 0ea6a23 commit e6d9365

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/configimpl.l

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1672,7 +1672,7 @@ static void adjustBoolSetting(const char *depOption, const char *optionName,bool
16721672
{
16731673
if (ConfigValues::instance().*(option->value.b)!=expectedValue) // current value differs from expectation
16741674
{
1675-
err("When enabling %s the %s option should be disabled. I'll adjust it for you.\n",depOption,optionName);
1675+
err("When enabling %s the %s option should be %s. I'll adjust it for you.\n",depOption,optionName,expectedValue? "enabled" : "disabled");
16761676
ConfigValues::instance().*(option->value.b)=expectedValue; // adjust option
16771677
}
16781678
}

0 commit comments

Comments
 (0)