www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mike Stok <m...@stok.co.uk>
Subject other/128: mod_rewrite.c compiler warning
Date Mon, 27 Jan 1997 12:50:01 GMT

>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:



Mime
View raw message