On Wed, Sep 20, 2017 at 10:51 AM, Stefan Eissing <stefan.eiss...@greenbytes.de> wrote: > Trying to tighten some compiler warnings and gcc complains: > > /opt/httpd/trunk/include/mpm_common.h:390:5: error: > "AP_ENABLE_EXCEPTION_HOOK" is not defined [-Werror=undef] > #if AP_ENABLE_EXCEPTION_HOOK > > We seem to "#undef" this. Should the check in mpm_common.h not be #ifdef then?
-Wundef I guess. For completeness we probably should: #if defined(AP_ENABLE_EXCEPTION_HOOK) && AP_ENABLE_EXCEPTION_HOOK