hercules-390 / hyperion

Hercules 390
Other
252 stars 68 forks source link

"daemon_task" not declared in logger.c #151

Closed PeterCoghlan closed 8 years ago

PeterCoghlan commented 8 years ago

When I compile with OPTION_DYNAMIC_LOAD not defined, I get this error:

        if (!daemon_task)
.............^
%CC-E-UNDECLARED, In this statement, "daemon_task" is not declared at line number 238 in file logger.c

daemon_task is also referenced in impl.c but is protected by #ifdef OPTION_DYNAMIC_LOAD there. It is not completely clear to me how to do this correctly for the case in logger.c.

PeterCoghlan commented 8 years ago

Many thanks.

The fix worked and the error no longer occurs.