www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pat Wilson <...@dartmouth.edu>
Subject config/528: util_snprintf.c doesn't compile cleanly
Date Fri, 02 May 1997 18:50:02 GMT

>Number:         528
>Category:       config
>Synopsis:       util_snprintf.c doesn't compile cleanly
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    apache (Apache HTTP Project)
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Fri May  2 11:50:01 1997
>Originator:     paw@dartmouth.edu
>Organization:
apache
>Release:        1.2b10
>Environment:
DU 3.2A, DEC cc
>Description:
cc -c   -O2 -DOSF1 -DSTATUS   util_snprintf.c
/usr/lib/cmplrs/cc/cfe: Error: util_snprintf.c, line 929: redeclaration of 'ap_snprintf';
previous declaration at line 544 in file './conf.h'
 int ap_snprintf(char *buf, size_t len,  char *format,...)
 ----^
/usr/lib/cmplrs/cc/cfe: Error: util_snprintf.c, line 929: Incompatible type for the function
parameter
 int ap_snprintf(char *buf, size_t len,  char *format,...)
 ----------------------------------------------^
/usr/lib/cmplrs/cc/cfe: Error: util_snprintf.c, line 941: redeclaration of 'ap_vsnprintf';
previous declaration at line 545 in file './conf.h'
 int ap_vsnprintf(char *buf, size_t len,  char *format, va_list ap)
 ----^
/usr/lib/cmplrs/cc/cfe: Error: util_snprintf.c, line 941: Incompatible type for the function
parameter
 int ap_vsnprintf(char *buf, size_t len,  char *format, va_list ap)
 -----------------------------------------------^
*** Exit 1
>How-To-Repeat:

>Fix:
reconcile the type definitions for char (one is char, one const char%2
>Audit-Trail:
>Unformatted:



Mime
View raw message