You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Mike Stok <mi...@stok.co.uk> on 1997/01/27 13:50:01 UTC
other/128: mod_rewrite.c compiler warning
>Number: 128
>Category: other
>Synopsis: mod_rewrite.c compiler warning
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: gnats-admin (GNATS administrator)
>State: open
>Class: sw-bug
>Submitter-Id: apache
>Arrival-Date: Mon Jan 27 04:50:01 1997
>Originator: mike@stok.co.uk
>Organization:
apache
>Release: 1.2b6
>Environment:
Digital Unix 3.2c, Digital's C compiler
>Description:
This is a cosmetic nit, using digital's C compiler on a configuration which
include mod_rewrite.c I see the following warning in an otherwise "clean"
compile:
cc -c -O2 -DOSF1 -DSTATUS mod_rewrite.c
/usr/lib/cmplrs/cc/cfe: Warning: ./mod_rewrite.h:109: Macro _const redefined.
>How-To-Repeat:
>Fix:
Maybe altering the code around line 109 in mod_rewrite.h to be
#ifdef IS_APACHE_12
#ifdef _const
#undef _const
#endif
#define _const const
#else
#define _const
#endi
>Audit-Trail:
>Unformatted: